Files
CVEs-PoC/2021/CVE-2021-24721.md
T
2024-06-18 02:51:15 +02:00

18 lines
882 B
Markdown

### [CVE-2021-24721](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24721)
![](https://img.shields.io/static/v1?label=Product&message=Loco%20Translate&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=2.5.4%3C%202.5.4%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-94%20Improper%20Control%20of%20Generation%20of%20Code%20('Code%20Injection')&color=brighgreen)
### Description
The Loco Translate WordPress plugin before 2.5.4 mishandles data inputs which get saved to a file, which can be renamed to an extension ending in .php, resulting in authenticated "translator" users being able to inject PHP code into files ending with .php in web accessible locations.
### POC
#### Reference
- https://wpscan.com/vulnerability/bc7d4774-fce8-4b0b-8015-8ef4c5b02d38
#### Github
No PoCs found on GitHub currently.