Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

DGNews version 2.1 SQL Injection Vulnerability

Subject: DGNews version 2.1 SQL Injection Vulnerability
Date: 28 May 2007 19:42:58 -0000
        netVigilance Security Advisory #22

DGNews version 2.1 SQL Injection 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.

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: 
http://www.netvigilance.com/advisory0022
Release Date:
05/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 /> </td></tr></table>

Credits: 
Jesper Jurcenoks
Co-founder netVigilance, Inc
www.netvigilance.com

<Prev in Thread] Current Thread [Next in Thread>