Deserialization in WordPress
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. This is caused by mishandling of serialized data at phar:// URLs in the wp_get_attachment_thumb_file function in wp-includes/post.php.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.268, 98.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- WordPress
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- nth347/CVE-2018-20148_exploit (4 stars, last pushed 2021-11-16): Exploit for CVE-2018-20148 - WordPress PHAR deserialization via XMLRPC
Also mentioned in 9 other repositories (20142995/nuclei-templates, Afetter618/WordPress-PenTest, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/106220 (Third Party Advisory, VDB Entry, vdb-entry)
- wordpress.org/support/wordpress-version/version-5-0-1/ (Release Notes, Vendor Advisory)
- blog.secarma.co.uk/labs/near-phar-dangerous-unserialization-wherever-you-are (Exploit, Third Party Advisory)
- codex.wordpress.org/Version_4.9.9 (Product, Vendor Advisory)
- wpvulndb.com/vulnerabilities/9171 (Vendor Advisory)
- www.zdnet.com/article/wordpress-vulnerability-affects-a-third-of-most-popular-w… (Third Party Advisory, Press/Media Coverage)
- DSA-4401 (vendor-advisory, Third Party Advisory)
- wordpress.org/news/2018/12/wordpress-5-0-1-security-release/ (Release Notes, Vendor Advisory)
- [debian-lts-announce] 20190211 [SECURITY] [DLA 1673-1] wordpress security update (mailing-list, Mailing List, Third Party Advisory)
- www.zdnet.com/article/wordpress-plugs-bug-that-led-to-google-indexing-some-user… (Third Party Advisory, Press/Media Coverage)
This CVE has public exploit evidence. See the latest CVEs with public exploits.