Dynamics 365 Integration <= 1.3.23 - Authenticated (Contributor+) Remote Code Execution and Arbitrary File Read via Twig Server-Side Template Injection
Strategic Overview
- Status
- Patched in 1.3.24
- Affected Plugin
- Dynamics 365 Integration
- Affected Version
<= 1.3.23- CVSS
- 9.9Critical
- Weakness type
- CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine
- CVE
CVE-2024-12583
At a glance
CVE-2024-12583 is a critical-severity Improper Neutralization of Special Elements Used in a Template Engine vulnerability in the Dynamics 365 Integration WordPress plugin, affecting versions <= 1.3.23. It carries a CVSS score of 9.9 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 1.3.24; sites on affected versions should update now. Disclosed January 2025, reported by Peter Thaleikis.
Vulnerability Overview
The Dynamics 365 Integration plugin for WordPress is vulnerable to Remote Code Execution and Arbitrary File Read in all versions up to, and including, 1.3.23 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
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
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.
Remediation
Update to version 1.3.24, or a newer patched version
How does WordSec protect against this?
An attacker needs Contributor access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: Dynamics 365 Integration 1.3.24 closes this, and updating the plugin is the step that ends it.
- Firewall
- Scanner
- Alerts
External References
Related records
Other vulnerabilities in Dynamics 365 Integration
- 5.4CVE-2023-28417: Dynamics 365 Integration Missing Authorization
CVE-2023-28417 - 5.3CVE-2024-34550: Dynamics 365 Integration <= 1.3.17 Info Exposure
CVE-2024-34550 - 4.3CVE-2023-29422: Dynamics 365 Integration Missing Authorization
CVE-2023-29422 - 4.3Dynamics 365 Integration <= 1.3.12 Cross-Site Request Forgery
- 4.3Dynamics 365 Integration <= 1.3.12 Cross-Site Request Forgery
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C