SecurityContext

CVE-2019-8943: WordPress - Path Traversal

  • Cve: CVE-2019-8943
  • Name: WordPress - Path Traversal
  • Description: WordPress through 5.0.3 allows Path Traversal in wp_crop_image(). An attacker (who has privileges to crop an image) can write the output image to an arbitrary directory via a filename containing two image extensions and ../ sequences, such as a filename ending with the .jpg?/../../file.jpg substring.
  • Impact: Attackers can write files to arbitrary directories, potentially leading to remote code execution or server compromise.
  • Remediation: Update to WordPress 5.0.4 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write
  • Requirement type: logged_in
  • Requirements: Attacker needs privileges to crop images
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.91985
  • Epss percentile: 0.99824
  • Assignee: [email protected]
  • Published at: 2019-02-20T03:29:00Z
  • Age in days: 2834
  • Modified at: 2026-06-17T02:42:49Z
  • Public exploits total: 9
  • References total: 8
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-8943
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, public exploits capped, oss, projects total, projects, rejected by nvd

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Nuclei templates

IdUrl
CVE-2019-8943https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-8943.yaml

Hackerone

  • Reports: 3
  • Rank: 3240

Public exploits

Same in every row:

  • Source: nvd
  • Added date: 2019-02-20
Url
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html
http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html
http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/
https://www.exploit-db.com/exploits/46511/

References

UrlSourceTags
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.htmlnvdExploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.htmlnvdExploit, Third Party Advisory, VDB Entry
http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rcenvdExploit, Third Party Advisory
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/nvdExploit, Third Party Advisory
https://www.exploit-db.com/exploits/46511/nvdExploit, Third Party Advisory, VDB Entry
https://www.exploit-db.com/exploits/46662/nvdExploit, Mailing List, Third Party Advisory, VDB Entry
http://www.securityfocus.com/bid/107089nvdThird Party Advisory, VDB Entry
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-8943.yamlnuclei_templateNuclei Template

Products

ProductAffectedPlatform boundSourcesUrl
wordpress:wordpress<= 5.0.3nonvd/v1/products/wordpress/wordpress

Index

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

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 9
  • Public exploit first date: 2019-02-19
  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 3
  • Exposed hosts: 3155822
  • Checked, none or zero: known exploited, known exploited by, initial access
  • Not known: known exploited since, vulncheck known exploited since, initial access since

Nuclei template