WordPress < 4.9.9 and 5.x < 5.0.1 - Authenticated Remote Code Execution via Image Metadata
Title source: llmExploitation Summary
CVE-2019-8942 has been observed exploited in the wild (reported by VulnCheck KEV, InTheWild.io).
EIP tracks 11 public exploits from researchers including Metasploit, allyshka, brianwrf, including a Metasploit module exploits/multi/http/wp_crop_rce.
AI-analyzed exploit summary This Metasploit module exploits a path traversal and local file inclusion vulnerability in WordPress (CVE-2019-8943) to achieve remote code execution by uploading a malicious image file and including it in the theme.
Description
WordPress before 4.9.9 and 5.x before 5.0.1 allows remote code execution because an _wp_attached_file Post Meta entry can be changed to an arbitrary string, such as one ending with a .jpg?file.php substring. An attacker with author privileges can execute arbitrary code by uploading a crafted image containing PHP code in the Exif metadata. Exploitation can leverage CVE-2019-8943.
Exploits (11)
This Metasploit module exploits a path traversal and local file inclusion vulnerability in WordPress (CVE-2019-8943) to achieve remote code execution by uploading a malicious image file and including it in the theme.
This exploit targets a path traversal vulnerability in WordPress (CVE-2019-8943) to achieve remote code execution by manipulating image metadata and leveraging the image cropping functionality to write a malicious PHP file.
This PoC demonstrates a remote code execution (RCE) vulnerability in WordPress by exploiting a path traversal flaw in image metadata handling, allowing an author-level user to write malicious PHP code to a theme file.
This repository contains two Python scripts demonstrating CVE-2019-8942, a path traversal vulnerability in WordPress leading to arbitrary file write and remote code execution (RCE). The exploits abuse image metadata manipulation and the image cropping functionality to write a malicious file into the theme directory.
This repository provides a detailed writeup on CVE-2019-8942 and CVE-2019-8943, which involve a combination of LFI and file upload vulnerabilities in WordPress, leading to RCE for users with author privileges. The writeup includes technical analysis, exploitation steps, and a demo PoC.
This repository contains functional exploit code for CVE-2019-8942, a WordPress Crop Image RCE vulnerability. The exploit chain leverages image upload and path traversal to achieve remote code execution on vulnerable WordPress installations.
This repository contains functional exploit code for CVE-2019-8942, a WordPress image crop RCE vulnerability. The exploit chain involves uploading a malicious JPG, manipulating file paths via image cropping, and achieving remote code execution through template inclusion.
This repository provides a detailed technical walkthrough of exploiting CVE-2019-8942 and CVE-2019-8943, which involve improper input validation in WordPress 5.0's image cropping feature. The writeup includes reconnaissance, enumeration, exploitation using Metasploit, and privilege escalation via SUID binary abuse.
This PoC exploits CVE-2019-8942 and CVE-2019-8943 in WordPress by uploading a malicious image with embedded PHP code, manipulating metadata to change the file path, and triggering remote code execution via image cropping functionality.
This repository contains a functional Python exploit for CVE-2019-8942 and CVE-2019-8943, targeting WordPress versions 5.0.0 and below. The exploit chains authentication bypass and image upload vulnerabilities to achieve remote code execution (RCE) by manipulating image metadata and file paths.
This Metasploit module exploits a path traversal and local file inclusion vulnerability in WordPress (CVE-2019-8942 and CVE-2019-8943) to achieve remote code execution by uploading a malicious image file and including it in a theme.
References (9)
Scores
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H