CVE-2018-20148

CRITICAL

WordPress <4.9.9, 5.x <5.0.1 - Code Injection

Title source: llm

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.

Exploits (1)

nomisec WORKING POC 4 stars
by nth347 · poc
https://github.com/nth347/CVE-2018-20148_exploit

Scores

CVSS v3 9.8
EPSS 0.5486
EPSS Percentile 98.0%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-502
Status published
Products (3)
debian/debian_linux 8.0
debian/debian_linux 9.0
wordpress/wordpress < 4.9.9
Published Dec 14, 2018
Tracked Since Feb 18, 2026