Loco Translate <= 2.5.3 - Authenticated PHP Code Injection

2021-10-11 00:00
Tomi Ashari

Strategic Overview

Status
Patched in 2.5.4
Affected PluginLoco Translate
Affected Version< 2.5.4
CVSS6.5Medium
CVECVE-2021-24721
View all Loco Translate vulnerabilities

Vulnerability 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