WordPress Core < 5.0.1 - PHP Object Injection

2018-12-12 00:00
Sam Thomas

Strategic Overview

Status
Patched in 3.7.28
Affected CoreWordPress 5.0
Affected Version3.7 – 5.0 · 15 branches
CVSS8.8High
CVECVE-2018-20148
View all WordPress 5.0 vulnerabilities

Vulnerability Overview

In WordPress before 4.9.9 and 5.x before 5.0.1, contributors could conduct PHP object injection attacks via crafted metadata in a wp.getMediaItem XMLRPC call. This is caused by mishandling of serialized data at phar:// URLs in the wp_get_attachment_thumb_file function in wp-includes/post.php.

Technical Analysis

REMEDIATION: Update to one of the following versions, or a newer patched version: 3.7.28, 3.8.28, 3.9.26, 4.0.25, 4.1.25, 4.2.22, 4.3.18, 4.4.17, 4.5.16, 4.6.13, 4.7.12, 4.8.8, 4.9.9, 5.0.1 --- 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