ZeroHour

CVE-2024-10470

large

Unauthenticated File Read/Deletion Leading to RCE in WPLMS WordPress Theme

CVSS 3.1
9.8 critical
EPSS
34%p98
Published
()
Modified
AI analysis

CVE-2024-10470 is a path traversal flaw (CWE-22) in the WPLMS Learning Management System theme for WordPress by vibethemes, where the readfile and unlink functions lack sufficient file path validation and permission checks. An unauthenticated attacker can send network requests that reach these functions to read arbitrary files on the server and, more critically, delete arbitrary files. Deleting the right file, such as wp-config.php, can easily lead to remote code execution, while file reads can expose sensitive server contents. All versions up to and including 4.962 are affected, and the theme remains vulnerable even when it is installed but not activated, so exposure extends beyond actively used installations. No public proof-of-concept or confirmed in-the-wild exploitation is known yet, but EPSS assigns a 34.4% probability of exploitation within 30 days (98th percentile), making this a high-priority patch.

What to do: Update WPLMS to a patched version newer than 4.962 as soon as one is available. Audit every WordPress installation that has the theme installed, including sites where the theme is inactive, and remove or update unused copies. Until patched, monitor logs for unauthenticated requests triggering file read/delete operations and watch for unexpected deletions of critical files such as wp-config.php.

Affected
vibethemes WPLMS Learning Management System (WordPress LMS theme)all versions up to and including 4.962
Estimated exposure
large≈ tens of thousands of WordPress sites — WPLMS is a commercial theme sold on ThemeForest with on the order of tens of thousands of license sales, and because copies that are installed but not activated are also vulnerable while Envato does not publish active-install counts, the…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

The WPLMS Learning Management System for WordPress, WordPress LMS theme for WordPress is vulnerable to arbitrary file read and deletion due to insufficient file path validation and permissions checks in the readfile and unlink functions in all versions up to, and including, 4.962. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). The theme is vulnerable even when it is not activated.

Vendors
vibethemes
Products
wordpress learning management system
Ecosystems
WordPress
Weakness
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news