Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-33922 Overview
CVE-2024-33922 is an information disclosure vulnerability in the WP Media Cleaner plugin for WordPress, developed by Jordy Meow. The plugin writes sensitive information into a log file that is accessible to unauthenticated attackers. All versions up to and including 6.7.2 are affected. The flaw is tracked under CWE-532: Insertion of Sensitive Information into Log File. An attacker with network access to the WordPress site can retrieve exposed log data without authentication or user interaction.
Critical Impact
Unauthenticated remote attackers can read sensitive data written to the plugin's log file, enabling reconnaissance and follow-on attacks against affected WordPress sites.
Affected Products
- Jordy Meow WP Media Cleaner plugin for WordPress
- All versions from n/a through 6.7.2
- WordPress sites with the Media Cleaner plugin installed and enabled
Discovery Timeline
- 2024-05-02 - CVE-2024-33922 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-33922
Vulnerability Analysis
The vulnerability stems from the WP Media Cleaner plugin writing sensitive runtime information to a log file that lacks proper access controls. Under [CWE-532], applications that store credentials, tokens, file paths, or operational data in logs expose that data when the logs are reachable through the web server.
In this case, the log file produced by WP Media Cleaner is served without authentication checks. A remote attacker only needs to request the file over HTTP or HTTPS to read its contents. The confidentiality impact is partial because integrity and availability are not affected, and no privileged action is executed on the server.
The disclosed information can include file paths, media scan results, and internal plugin state. Attackers use this data to map the WordPress installation, identify additional attack surface, and prepare targeted follow-up intrusions.
Root Cause
The root cause is improper handling of log file storage and access. The plugin writes diagnostic data to a predictable location within the WordPress directory structure without applying a .htaccess deny rule, randomized filename, or server-side authorization check. Any client that can reach the WordPress host can request the log file directly.
Attack Vector
Exploitation requires only network access to the vulnerable site. The attacker sends an HTTP request for the known log file path exposed by the WP Media Cleaner plugin. The server returns the file contents, which the attacker parses for sensitive data. No credentials, user interaction, or elevated privileges are required.
For technical details on the file path and request structure, see the Patchstack CVE Analysis.
Detection Methods for CVE-2024-33922
Indicators of Compromise
- HTTP GET requests from external IP addresses targeting log file paths under the wp-content/plugins/media-cleaner/ directory
- Repeated requests for files with .log, .txt, or similar extensions within the plugin directory
- Access patterns from scanning tools or user agents consistent with WordPress vulnerability scanners
Detection Strategies
- Review web server access logs for successful (HTTP 200) responses to requests for files inside the WP Media Cleaner plugin directory
- Alert on unauthenticated requests that return non-empty responses from plugin-controlled log paths
- Correlate log access attempts with subsequent authentication or administrative activity on the same WordPress site
Monitoring Recommendations
- Enable detailed access logging on the WordPress web server and forward logs to a central analysis platform
- Monitor for enumeration patterns across multiple WordPress plugin paths that indicate automated reconnaissance
- Track WordPress plugin versions across the environment and flag any instance of WP Media Cleaner at version 6.7.2 or earlier
How to Mitigate CVE-2024-33922
Immediate Actions Required
- Update WP Media Cleaner to a version later than 6.7.2 that addresses the log file exposure
- Delete any existing plugin log files from the WordPress installation to remove previously disclosed data
- Audit web server access logs for prior requests to the plugin log path to determine whether exposure occurred
Patch Information
Refer to the Patchstack CVE Analysis for the fixed version and vendor remediation guidance. Apply the patched release through the WordPress plugin update mechanism as soon as it is validated in a staging environment.
Workarounds
- Block direct web access to the WP Media Cleaner plugin directory using a web server rule, such as a Deny from all directive in .htaccess for Apache or a location block for Nginx
- Deactivate the WP Media Cleaner plugin until the patched version can be deployed
- Place the WordPress site behind a web application firewall that blocks requests targeting known plugin log paths
# Apache .htaccess example to block access to plugin log files
<FilesMatch "\.(log|txt)$">
Require all denied
</FilesMatch>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

