Skip to main content

CVE-2024-9648: WP ULike Pro File Upload RCE Vulnerability

CVE-2024-9648 is a file upload flaw in WP ULike Pro plugin for WordPress that enables unauthenticated attackers to upload malicious files. This article covers technical details, affected versions, and mitigation steps.

Published:

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-9648 Overview

CVE-2024-9648 affects the WP ULike Pro plugin for WordPress through version 1.9.3. The vulnerability resides in the WP_Ulike_Pro_File_Uploader class, which fails to properly validate uploaded file types. Unauthenticated attackers can upload files with extensions such as .phtml, .phar, .svg, .html, and .shtml to the target server. These file types enable follow-on attacks including stored Cross-Site Scripting (XSS). The flaw is categorized under CWE-434: Unrestricted Upload of File with Dangerous Type. Version 1.9.4 is the earliest confirmed patched release.

Critical Impact

Unauthenticated remote attackers can upload arbitrary files to vulnerable WordPress sites, enabling Cross-Site Scripting and secondary exploitation paths.

Affected Products

  • WP ULike Pro plugin for WordPress, all versions up to and including 1.9.3
  • Versions through 1.8.7 confirmed exploitable
  • Patched in version 1.9.4

Discovery Timeline

  • 2025-08-28 - CVE-2024-9648 published to NVD
  • 2026-09-26 - Last updated in NVD database

Technical Details for CVE-2024-9648

Vulnerability Analysis

The vulnerability stems from insufficient file type validation inside the WP_Ulike_Pro_File_Uploader class. The uploader fails to enforce a strict allowlist of permitted MIME types or extensions. Attackers can submit files with extensions outside the standard WordPress blocklist but still interpretable by the web server or browser.

The affected extensions include server-executable variants such as .php2, .php6, .php7, .phps, .pht, .phtm, and .phar. Browser-rendered formats like .html, .svg, and .shtml are also accepted. Because the upload endpoint does not require authentication, any remote attacker can reach it directly.

The practical impact centers on stored Cross-Site Scripting through .svg or .html content executed in a victim's browser. On servers configured to execute alternate PHP extensions, uploaded files could achieve code execution.

Root Cause

The plugin's uploader relies on an incomplete deny list rather than a positive allowlist. It also omits content inspection and MIME verification against the declared extension. This design pattern is the canonical example of CWE-434.

Attack Vector

Exploitation requires network access to the WordPress site and user interaction to trigger the resulting payload. No authentication or privileges are needed to upload the malicious file. An attacker sends a crafted multipart HTTP POST request to the plugin's upload endpoint with a disallowed-but-unchecked extension. See the Wordfence Vulnerability Report for additional analysis.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2024-9648

Indicators of Compromise

  • Unexpected files in the WordPress wp-content/uploads/ directory with extensions such as .phtml, .phar, .svg, .shtml, .pht, or .html
  • Web server access logs showing unauthenticated POST requests to WP ULike Pro upload endpoints
  • SVG or HTML files containing <script> tags or JavaScript event handlers inside the uploads directory
  • Outbound requests originating from browsers that recently viewed uploaded media URLs

Detection Strategies

  • Scan the uploads directory for files whose extensions do not match an approved image or document allowlist
  • Inspect .svg and .html files for embedded scripting content using static analysis
  • Review web application firewall (WAF) logs for POST requests to WP ULike Pro endpoints with suspicious filenames

Monitoring Recommendations

  • Alert on new file writes to WordPress upload directories matching extensions in the affected list
  • Monitor WordPress plugin inventory for WP ULike Pro installations at or below version 1.9.3
  • Track process creation events on the web server where PHP interprets files from the uploads path

How to Mitigate CVE-2024-9648

Immediate Actions Required

  • Update WP ULike Pro to version 1.9.4 or later on all WordPress installations
  • Audit wp-content/uploads/ for unexpected file extensions and remove any unauthorized artifacts
  • Restrict web server execution of PHP within upload directories using server configuration directives

Patch Information

The vendor patched the issue in WP ULike Pro version 1.9.4. Administrators should upgrade through the WordPress plugin manager or by replacing plugin files from the official distribution. Refer to the WP ULike Plugin Overview for release details.

Workarounds

  • Deploy a WAF rule to block upload requests containing the vulnerable extensions until patching is complete
  • Disable the WP ULike Pro plugin if upgrading immediately is not feasible
  • Configure the web server to deny execution and inline rendering of files in the uploads directory
bash
# Apache: block execution and inline rendering in uploads
<Directory "/var/www/html/wp-content/uploads">
    <FilesMatch "\.(php[0-9]?|phtml?|phar|pht|shtml|svg|html?|inc|hphp|ctp|module)$">
        Require all denied
    </FilesMatch>
    Options -ExecCGI
    AddType text/plain .php .phtml .phar .svg .html
</Directory>

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.