<<< Date Index >>>     <<< Thread Index >>>

DGNews version 2.1 Path Disclosure Vulnerability



        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
??

??

??

??