First published: Fri Dec 14 2018(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
debian/wordpress | 5.0.15+dfsg1-0+deb10u1 5.0.19+dfsg1-0+deb10u1 5.7.8+dfsg1-0+deb11u2 6.1.1+dfsg1-1 6.3.1+dfsg1-1 | |
WordPress | <4.9.9 | |
WordPress | >=5.0<5.0.1 | |
Debian Linux | =8.0 | |
Debian Linux | =9.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-20148 has been classified as a medium severity vulnerability.
To fix CVE-2018-20148, update WordPress to version 5.0.1 or later.
CVE-2018-20148 affects WordPress versions prior to 4.9.9 and from 5.0 to 5.0.1.
CVE-2018-20148 allows for PHP object injection attacks through crafted metadata in XMLRPC calls.
The vulnerability in CVE-2018-20148 is related to the wp_get_attachment_thumb_file function in wp-includes/post.php.