{"id":"CVE-2019-8943","state":"PUBLISHED","title":"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 filen","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.","publishedAt":"2019-02-20T03:00:00.000Z","updatedAt":"2024-08-04T21:31:37.567Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.exploit-db.com/exploits/46511/","https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/","http://www.securityfocus.com/bid/107089","http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html","http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce","https://www.exploit-db.com/exploits/46662/","http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:46:12.199Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/8xxx/CVE-2019-8943.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-8943","state":"PUBLISHED","datePublished":"2019-02-20T03:00:00.000Z","dateUpdated":"2024-08-04T21:31:37.567Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-02-19T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.exploit-db.com/exploits/46511/","name":"46511","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/107089","name":"107089","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html","tags":["x_refsource_MISC"]},{"url":"http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/46662/","name":"46662","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-02-01T18:06:15.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2019-02-19T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-8943","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"46511","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/46511/"},{"name":"https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/","refsource":"MISC","url":"https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/"},{"name":"107089","refsource":"BID","url":"http://www.securityfocus.com/bid/107089"},{"name":"http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html"},{"name":"http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce","refsource":"MISC","url":"http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce"},{"name":"46662","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/46662/"},{"name":"http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.exploit-db.com/exploits/46511/","name":"46511","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.securityfocus.com/bid/107089","name":"107089","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/46662/","name":"46662","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T21:31:37.567Z"}}]}}}