| Title | xxyopen novel-plus v5.1.3 Improper Authorization |
|---|
| Description | The `remove` endpoint in `FileController.java` is vulnerable to an Insecure Direct Object Reference (IDOR) attack due to improper authorization. The function accepts a file `id` for deletion but fails to verify if the currently authenticated user is the owner of the file. As a result, any authenticated user can delete any file stored in the system by simply knowing or guessing its `id`. The intended permission check `@RequiresPermissions` is notably commented out in the source code, making the vulnerability explicit. |
|---|
| Source | ⚠️ https://blog.0xd00.com/blog/missing-authorization-leads-to-arbitrary-file-deletion |
|---|
| User | bpy9ft (UID 85221) |
|---|
| Submission | 06/13/2025 09:04 (10 months ago) |
|---|
| Moderation | 06/23/2025 16:32 (10 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 313653 [xxyopen/201206030 novel-plus up to 5.1.3 File FileController.java remove resource injection] |
|---|
| Points | 20 |
|---|