Full Disclosure mailing list archives

Pligg 9.9.0 editlink.php SQL Injection Vulnerability


From: Guido Landi <lists () keamera org>
Date: Tue, 08 Apr 2008 18:27:28 +0200

Hello,

the Pligg (http://www.pligg.com/) content management system is prone to 
an SQL-injection vulnerability because it fails to sufficiently sanitize 
user-supplied data before using it in an SQL query:


editlink.php?id=1+AND+((SELECT+user_pass+FROM+pligg_users+WHERE+user_login=0x676f64)+LIKE+0x25)+UNION+SELECT+10,2

To exploit this you need the id of a news you submitted(10 in the 
example) and an id of a news submitted by others(1 in the example).

When the LIKE statement matches you get a "Not your link" error.


Guido Landi

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: