- Affected versions: ≤ 3.3.12
- Fixed in: 3.3.13
- CVE: CVE-2021-25094
- Published:
The vendor fixed it in 3.3.13; that version is not in the repository yet.
No version in this repository is affected.
Details
The Tatsu WordPress plugin before 3.3.13 add_custom_font action can be used without prior authentication to upload a rogue zip file which is uncompressed under the WordPress's upload directory. By adding a PHP shell with a filename starting with a dot ".", this can bypass extension control implemented in the plugin. Moreover, there is a race condition in the zip extraction process which makes the shell file live long enough on the filesystem to be callable by an attacker.
Remediation: Update to version 3.3.13, or a newer patched version
CWE-434: Unrestricted Upload of File with Dangerous Type