CVE-2021-47735

8.8

CMSimple · CMSimple

CMSimple 5.4 contains an authenticated remote code execution vulnerability that allows attackers to inject malicious PHP code into template files via the template editing endpoint.

Executive summary

CMSimple 5.4 is susceptible to an authenticated remote code execution vulnerability that allows an attacker to execute arbitrary code on the underlying server.

Vulnerability

This is a code injection vulnerability (CWE-94) triggered through the template editing functionality. An authenticated attacker with sufficient privileges can bypass security controls to inject a PHP reverse shell payload into template files, which is then executed by the server.

Business impact

Successful exploitation of this vulnerability grants an attacker full remote code execution capabilities on the web server. This level of access typically results in complete system compromise, the potential for data exfiltration, and the ability to pivot into internal network segments. Given the CVSS score of 8.8, this represents a high-severity risk that demands immediate attention to prevent unauthorized control of the application environment.

Remediation

Immediate Action: Update to the latest version of CMSimple if a patch is available or remove the affected software if it is no longer supported.

Proactive Monitoring: Review web server access logs for suspicious POST requests targeting template editing endpoints, specifically looking for base64 encoded strings or system execution functions in the request body.

Compensating Controls: Implement a Web Application Firewall (WAF) to block requests containing common PHP execution patterns or suspicious file modification attempts against template files.

Exploitation status

Public Exploit Available: Yes, a public proof-of-concept exists via ExploitDB (EDB-ID: 50356).

Analyst recommendation

The presence of a functional exploit script in the public domain significantly increases the risk of targeted attacks. Administrators should prioritize identifying instances of CMSimple 5.4 within their environment and applying the necessary updates or mitigation strategies immediately to prevent potential system takeovers.

Sources

Originally found and disclosed by pussycat0x, per the CVE Program record.