WordPress Core < 5.0.1 - PHP Object Injection

8.8
Deserialization of Untrusted Data
CVE CVE-2018-20148
CVSS 8.8 (High)
Publicly Published December 12, 2018
Last Updated January 22, 2024
Researcher Sam Thomas

Description

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.

References

Share

1 affected software package

Software Type Core
Patched? Yes
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
Affected Versions
  • 5.0
  • < 3.7
  • 4.8 - 4.8.7
  • 4.9 - 4.9.8
Expand to see 11 more affected version ranges.
  • 3.7 - 3.7.27
  • 3.8 - 3.8.27
  • 3.9 - 3.9.25
  • 4.0 - 4.0.24
  • 4.1 - 4.1.24
  • 4.2 - 4.2.21
  • 4.3 - 4.3.17
  • 4.4 - 4.4.16
  • 4.5 - 4.5.15
  • 4.6 - 4.6.12
  • 4.7 - 4.7.11
Patched Versions
  • 3.7.28
  • 3.8.28
  • 3.9.26
  • 4.0.25
Expand to see 10 more patched versions.
  • 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

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation