CVE-2018-20148

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

published December 14, 2018

CVSS
—
EPSS
27%
Percentile
98.0
In the wild
Unconfirmed
What it is

⚠️ A clever PHP object injection vulnerability lurks in WordPress versions before 4.9.9 and 5.x before 5.0.1! Crafty contributors could exploit improperly handled serialized data, leading to unauthorized access. 🔥 Think of this like a restaurant that accepts take-out orders without checking the customer's real name. In this case, any contributor could sneak in a malicious request disguised as a regular order, undermining the whole dining experience! If exploited, an attacker could manipulate metadata to execute arbitrary PHP code, potentially compromising the entire server. It's like letting a bad actor into the kitchen, where they could wreak havoc on recipes or even poison the food!

Put simply

Think of this like a restaurant that accepts take-out orders without checking the customer's real name. In this case, any contributor could sneak in a malicious request disguised as a regular order, undermining the whole dining experience! This vulnerability is caused by mishandling serialized data in the wp_get_attachment_thumb_file function when processing wp.getMediaItem XMLRPC calls, leading to potential PHP object injection attacks.

What to do

If exploited, an attacker could manipulate metadata to execute arbitrary PHP code, potentially compromising the entire server. It's like letting a bad actor into the kitchen, where they could wreak havoc on recipes or even poison the food! To protect your site, update WordPress to version 4.9.9 or 5.0.1 immediately! Additionally, consider auditing your XMLRPC settings and validating user inputs to prevent unauthorized access in the future. You've got this, security hero! Follow these steps and lock down your WordPress site! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.26819 · 98.0th percentile
Published
2018-12-14T20:00Z
EPSS history
Timeline
  • 14 DEC 20:00Z
    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
    cvelistv5