CVE-2021-47976
8.8Textpattern · Textpattern CMS
Textpattern CMS contains a Cross-Site Request Forgery (CSRF) vulnerability that can lead to remote code execution when an administrator is tricked into performing a malicious action.
Executive summary
A CSRF vulnerability in Textpattern CMS allows an authenticated attacker to achieve remote code execution, creating a critical risk to the entire application.
Vulnerability
This is a CSRF vulnerability (CWE-352) that, when exploited, allows an authenticated user to perform unauthorized actions such as plugin uploads, leading to Remote Code Execution (RCE). The attack requires the victim to have authenticated privileges to the CMS.
Business impact
Exploitation of this vulnerability results in full system compromise, as the attacker can execute arbitrary code on the underlying server. Given the CVSS score of 8.8, this impact is severe and could lead to complete data loss, site defacement, or the use of the server in further malicious activities.
Remediation
Immediate Action: Ensure the CMS is updated to a secure version that addresses this vulnerability; if using a dev version, roll back to a stable release or apply the vendor-provided patch.
Proactive Monitoring: Monitor administrative audit logs for unexpected plugin installations or unauthorized modifications to system files.
Compensating Controls: Enforce strict access control policies and ensure administrators use secure browsers with anti-CSRF protections; utilize a WAF to inspect requests for suspicious modification attempts.
Exploitation status
Public Exploit Available: Yes — an entry exists on ExploitDB (50095).
Analyst recommendation
Administrative users must treat this vulnerability with the highest urgency. Because it allows for RCE, it is imperative to apply security updates immediately and restrict administrative access to the CMS to only trusted IP addresses and authenticated personnel.