6.5medium
Loco Translate < 2.5.4 - Authenticated PHP Code Injection
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.94% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Loco Translate | from 2.5.4 before 2.5.4 | CVE List |
| loco_translate_project loco_translate | before 2.5.4 | NVD |
All scores
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
El plugin Loco Translate de WordPress versiones anteriores a 2.5.4 maneja inapropiadamente las entradas de datos que se guardan en un archivo, que puede ser renombrado con una extensión que termina en .php, resultando en que los usuarios autenticados del "translator" puedan inyectar código PHP en archivos que terminan en .php en ubicaciones accesibles para la web
References
| https://wpscan.com/vulnerability/bc7d4774-fce8-4b0b-8015-8ef4c5b02d38 | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24721 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24721 changed 2026-06-17 | Public domain |