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
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2019-8943 | https://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
References
| Url | Source | Tags |
|---|---|---|
| http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html | nvd | Exploit, Third Party Advisory, VDB Entry |
| http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html | nvd | Exploit, Third Party Advisory, VDB Entry |
| http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce | nvd | Exploit, Third Party Advisory |
| https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/ | nvd | Exploit, Third Party Advisory |
| https://www.exploit-db.com/exploits/46511/ | nvd | Exploit, Third Party Advisory, VDB Entry |
| https://www.exploit-db.com/exploits/46662/ | nvd | Exploit, Mailing List, Third Party Advisory, VDB Entry |
| http://www.securityfocus.com/bid/107089 | nvd | Third Party Advisory, VDB Entry |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-8943.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wordpress:wordpress | <= 5.0.3 | no | nvd | /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