Arbitrary file upload in Textpattern Cms
CVE-2021-47943
TextPattern CMS 4.8.7 contains a remote code execution vulnerability that allows authenticated attackers to execute arbitrary commands by uploading malicious PHP files through the file upload functionality. Attackers can upload a PHP shell via the Files section in the content area and execute commands by accessing the uploaded file at /textpattern/files/ with GET parameters passed to the system function.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 50.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Textpattern Cms — versions 4.8.7
Weakness classification (CWE)
References
- ExploitDB-49996 (exploit)
- ExploitDB-50415 (exploit)
- VulnCheck Advisory: TextPattern CMS 4.8.7 Remote Code Execution via File Upload (third-party-advisory)