Loco Translate <= 2.5.3 - Authenticated PHP Code Injection
Strategic Overview
< 2.5.4CVE-2021-24721Vulnerability Overview
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.
Technical Analysis
REMEDIATION: Update to version 2.5.4, or a newer patched version --- IDENTIFIER: CWE-94 (Improper Control of Generation of Code ('Code Injection')) The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
External References
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C