SecurityContext

CVE-2018-20148: WordPress - Insecure Deserialization

  • Cve: CVE-2018-20148
  • Name: WordPress - Insecure Deserialization
  • 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.
  • Impact: Contributors can perform PHP object injection leading to remote code execution, potentially compromising the entire site.
  • Remediation: Update to WordPress 4.9.9 or 5.0.1 and later versions.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs contributor privileges
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.26819
  • Epss percentile: 0.98079
  • Assignee: [email protected]
  • Published at: 2018-12-14T20:29:00Z
  • Age in days: 2902
  • Modified at: 2026-06-17T01:52:20Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 10
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-20148
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd

Cwe

IdName
CWE-502Deserialization of Untrusted Data

Hackerone

  • Reports: 4
  • Rank: 2820

Public exploits

UrlSourceAdded date
https://blog.secarma.co.uk/labs/near-phar-dangerous-unserialization-wherever-you-arenvd2018-12-14
https://github.com/nth347/CVE-2018-20148_exploitpoc-in-github2021-11-16

References

Same in every row:

  • Source: nvd
UrlTags
https://codex.wordpress.org/Version_4.9.9Product, Vendor Advisory
https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/Release Notes, Vendor Advisory
https://wordpress.org/support/wordpress-version/version-5-0-1/Release Notes, Vendor Advisory
https://wpvulndb.com/vulnerabilities/9171Vendor Advisory
https://blog.secarma.co.uk/labs/near-phar-dangerous-unserialization-wherever-you-areExploit, Third Party Advisory
http://www.securityfocus.com/bid/106220Third Party Advisory, VDB Entry
https://lists.debian.org/debian-lts-announce/2019/02/msg00019.htmlMailing List, Third Party Advisory
https://www.debian.org/security/2019/dsa-4401Third Party Advisory
https://www.zdnet.com/article/wordpress-plugs-bug-that-led-to-google-indexing-some-user-passwords/Press/Media Coverage, Third Party Advisory
https://www.zdnet.com/article/wordpress-vulnerability-affects-a-third-of-most-popular-websites-online/Press/Media Coverage, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
wordpress:wordpress>= 5.0, < 5.0.1; < 4.9.9nonvd/v1/products/wordpress/wordpress
debian:debian_linux= 9.0, = 8.0nonvd/v1/products/debian/debian_linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2018-12-14
  • Remote: yes
  • Hackerone reports: 4
  • Exposed hosts: 4706702
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since