{"id":"CVE-2018-20148","sourceIdentifier":"cve@mitre.org","published":"2018-12-14T20:29:00.390","lastModified":"2026-06-17T01:52:20.737","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"En WordPress, en versiones anteriores a la 4.9.9 y versiones 5.x anteriores a la 5.0.1, los contribuyentes pueden llevar a cabo ataques de inyección de objetos PHP mediante metadatos manipulados en una llamada wp.getMediaItem. Esto viene provocado por la gestión incorrecta de datos serializados en URL phar:// en la función wp_get_attachment_thumb_file en wp-includes/post.php."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-502"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*","versionEndExcluding":"4.9.9","matchCriteriaId":"CEEA870E-2BB4-4720-A3D9-1FFBA5596D94"},{"vulnerable":true,"criteria":"cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"5.0.1","matchCriteriaId":"5CCEB112-4070-4BB4-8974-C289FAF79E79"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","matchCriteriaId":"C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43"},{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","matchCriteriaId":"DEECE5FC-CACF-4496-A3E7-164736409252"}]}]}],"references":[{"url":"http://www.securityfocus.com/bid/106220","source":"cve@mitre.org","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://blog.secarma.co.uk/labs/near-phar-dangerous-unserialization-wherever-you-are","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://codex.wordpress.org/Version_4.9.9","source":"cve@mitre.org","tags":["Product","Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00019.html","source":"cve@mitre.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/","source":"cve@mitre.org","tags":["Release Notes","Vendor Advisory"]},{"url":"https://wordpress.org/support/wordpress-version/version-5-0-1/","source":"cve@mitre.org","tags":["Release Notes","Vendor Advisory"]},{"url":"https://wpvulndb.com/vulnerabilities/9171","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://www.debian.org/security/2019/dsa-4401","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://www.zdnet.com/article/wordpress-plugs-bug-that-led-to-google-indexing-some-user-passwords/","source":"cve@mitre.org","tags":["Press/Media Coverage","Third Party Advisory"]},{"url":"https://www.zdnet.com/article/wordpress-vulnerability-affects-a-third-of-most-popular-websites-online/","source":"cve@mitre.org","tags":["Press/Media Coverage","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/106220","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://blog.secarma.co.uk/labs/near-phar-dangerous-unserialization-wherever-you-are","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://codex.wordpress.org/Version_4.9.9","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product","Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00019.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"]},{"url":"https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Vendor Advisory"]},{"url":"https://wordpress.org/support/wordpress-version/version-5-0-1/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Vendor Advisory"]},{"url":"https://wpvulndb.com/vulnerabilities/9171","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"https://www.debian.org/security/2019/dsa-4401","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://www.zdnet.com/article/wordpress-plugs-bug-that-led-to-google-indexing-some-user-passwords/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Press/Media Coverage","Third Party Advisory"]},{"url":"https://www.zdnet.com/article/wordpress-vulnerability-affects-a-third-of-most-popular-websites-online/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Press/Media Coverage","Third Party Advisory"]}]}