DGNews 'news.php' fullnews请求漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1190418 漏洞类型 未知
发布时间 2007-05-30 更新时间 2007-05-30
CVE编号 CVE-2007-0692 CNNVD-ID CNNVD-200705-523
漏洞平台 N/A CVSS评分 5.0
|漏洞来源
https://www.securityfocus.com/bid/86637
https://cxsecurity.com/issue/WLB-2007060003
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200705-523
|漏洞详情
DGNews允许远程攻击者借助对包含有无效的newsid参数的news.php文件的fullnews请求,获得敏感信息。这会在不同的错误信息中显示路径。
|漏洞EXP
	netVigilance Security Advisory #21

DGNews version 2.1 Path Disclosure Vulnerability
Description:
DGNews is small and simple but powered news publishing. Easy installation, no programing required. But you can still change whatever you want (for advanced users). Features: add unlimited categories, automatic news image thumbnailed, click count, user comment, print view and many others. Include full lay out, but sure, you can modify what you need.

External References: 
Mitre CVE: CVE-2007-0692
NVD NIST: CVE-2007-0692
OSVDB: 34226

Summary: 
DGNews is small and simple but powered news publishing.
A security problems in the product allows attackers to gather the true path of the server-side script

Advisory URL: 
http://www.netvigilance.com/advisory0021
Release Date:
05/28/2007

Severity:
Risk: Low
 
CVSS Metrics:
Access Vector: Remote
Access Complexity: Low
Authentication: Not-required
Confidentiality Impact: Partial
Integrity Impact: None
Availability Impact: None 
Impact Bias: Normal
CVSS Base Score: 2.3
 
Target Distribution on Internet: Low
 
Exploitability: Functional Exploit
Remediation Level: Workaround
Report Confidence: Uncorroborated
 
Vulnerability Impact: Attack
Host Impact: Path disclosure

SecureScout Testcase ID:
TC 17950

Vulnerable Systems:
DGNews version 2.1

Vulnerability Type:
Program flaws - The product scripts have flaws which lead to Warnings or even Fatal Errors.

Vendor:
Dian Gemilang
Vendor Status: 
The Vendor has been notified several times on many different email addresses last on 14 May 2007. The Vendor has not responded. There is no official fix at the release of this Security Advisory.

Workaround:
To prevent path disclosure attacks following steps should be done:
Disable warning messages: modify in the php.ini file following line: display_errors = Off. Or modify .htaccess file (this will work only for the apache servers). 
Example:

REQUEST:
http://[TARGET]/[PRODUCT-DIRECTORY]/news.php?go=fullnews&newsid[]=1
OR
http://[TARGET]/[PRODUCT-DIRECTORY]/news.php?go=fullnews&newsid=`

REPLY:
<b>Your Comment</b><br><br /><b>Warning</b>:  mysql_num_rows(): supplied argument is not a valid MySQL result resource in <b>[DISCLOSED PATH] [PRODUCT-DIRECTORY]news.php</b> on line <b>159</b><br />There's no comment for this news yet. You could the first.<br>
Credits: 
Jesper Jurcenoks
Co-founder netVigilance, Inc
www.netvigilance.com
??

??

??

??
|受影响的产品
Dgnews Dgnews 2.1
|参考资料

来源:BUGTRAQ
名称:20070528DGNewsversion2.1PathDisclosureVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/469826/100/0/threaded
来源:OSVDB
名称:34226
链接:http://www.osvdb.org/34226
来源:XF
名称:dgnews-news-path-disclosure(34540)
链接:http://xforce.iss.net/xforce/xfdb/34540
来源:SREASON
名称:2741
链接:http://securityreason.com/securityalert/2741