CyberRota Analysis
AI-GeneratedThe MasterStudy LMS WordPress Plugin is vulnerable due to an insecure direct object reference that allows authenticated attackers with Instructor-level access or higher to delete arbitrary attachments by exploiting the `file_id` parameter in the `stm_lms_delete_cover()` function. This vulnerability can lead to unauthorized data loss, impacting user content integrity. WordPress site administrators using this plugin should prioritize patching to mitigate potential exploitation.
Original NVD Description
The MasterStudy LMS WordPress Plugin – for Online Courses and Education plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 3.7.14. This is due to the `stm_lms_delete_cover()` function lacking ownership validation on the `file_id` parameter before passing it to `wp_delete_attachment()`. This makes it possible for authenticated attackers, with Instructor-level access and above, to delete arbitrary attachments belonging to any user by enumerating sequential attachment IDs.