CVE-2018-20148
In WordPress before 4.9.9 and 5.x before 5.0.1, contributors could con ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | wordpress | 5.0.1+dfsg1-1 |
| debian 12 | wordpress | 5.0.1+dfsg1-1 |
| debian 13 | wordpress | 5.0.1+dfsg1-1 |
| debian 14 | wordpress | 5.0.1+dfsg1-1 |
| debian 8 | wordpress | 4.1.25+dfsg-1+deb8u1 |
| debian 9 | wordpress | 4.7.5+dfsg-2+deb9u5 |
| echo | wordpress | 5.0.1+dfsg1-1 |
| ubuntu 18.04-ESM | wordpress | no fix listed |
References
- http://www.securityfocus.com/bid/106220
- https://blog.secarma.co.uk/labs/near-phar-dangerous-unserialization-wherever-you-are
- https://codex.wordpress.org/Version_4.9.9
- https://lists.debian.org/debian-lts-announce/2019/02/msg00019.html
- https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/
- https://wordpress.org/support/wordpress-version/version-5-0-1/
- https://wpvulndb.com/vulnerabilities/9171
- https://www.cve.org/CVERecord?id=CVE-2018-20148