WordPress Core 6.4.0 - 6.4.1 - Remote Code Execution POP Chain

2023-12-06 00:00
Anonymous

Strategic Overview

Status
Patched in 6.4.2
Affected CoreWordPress 6.4
Affected Version6.4.0 – 6.4.1 · 2 branches
CVSS9.8Critical
CVECVE-2024-31211
View all WordPress 6.4 vulnerabilities

Vulnerability Overview

WordPress Core is vulnerable to remote code execution via a PHP gadget in version 6.4.0 and 6.4.1. This is due to there being a magic method __destruct in the WP_HTML_Token class. This makes it possible for attackers to achieve remote code execution when another deserialization/PHP Object Injection vulnerability is present on the site.

Technical Analysis

REMEDIATION: Update to version 6.4.2, or a newer patched version --- IDENTIFIER: CWE-502 (Deserialization of Untrusted Data) The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C