CyberRota Analysis
AI-GeneratedThe UsersWP plugin for WordPress is vulnerable to arbitrary file deletion due to inadequate validation of file inputs, allowing authenticated attackers with Subscriber-level access or higher to exploit this flaw. By manipulating file metadata, attackers can delete critical files, such as wp-config, potentially compromising the entire site. WordPress site administrators using affected versions of the UsersWP plugin should prioritize patching this vulnerability to safeguard their installations.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
The UsersWP plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 1.2.65. This is due to insufficient validation of file-field values in the UsersWP_Validation::validate_fields() function (which falls through to sanitize_text_field() for fields of type 'file', leaving directory-traversal sequences intact) combined with the UsersWP_Forms::upload_file_remove() AJAX handler building the deletion target from the uploads basedir concatenated with the attacker-controlled metadata value without any realpath canonicalization or uploads-directory boundary check before calling unlink(). This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the affected site's server, including wp-config.