WPML Multilingual CMS <= 4.6.12 - Authenticated (Contributor+) Remote Code Execution via Twig Server-Side Template Injection
Strategic Overview
<= 4.6.12CVE-2024-6386Vulnerability Overview
The WPML plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.6.12 via Twig Server-Side Template Injection. This is due to missing input validation and sanitization on the render function. This makes it possible for authenticated attackers, with Contributor-level access and above, to execute code on the server.
Technical Analysis
REMEDIATION: Update to version 4.6.13, or a newer patched version --- IDENTIFIER: CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine) The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.
External References
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C