Dependency Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037031 | mantisbt | security | public | 2026-04-18 17:12 | 2026-11-22 16:11 |
| Reporter | ninjasec | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Summary | 0037031: Print Preferences Update Allows Cross-User Modification via Forged user_id | ||||
| Description | The print-preferences update endpoint accepts It validates the caller's session and CSRF token, but never checks that the submitted A normal user can therefore overwrite another user's stored print preferences by reusing their own valid form token. | ||||
| Steps To Reproduce | Step 1. Open the print-preferences page as a low-privileged user and collect a fresh CSRF token from the form. Step 2. Submit the normal update request, but replace the hidden The reporter's own form exposed:
Target state before the forged request:
Exploit request:
Observed response:
State verification after the request:
This shows that the reporter's own row ( | ||||
| Additional Information | Affected code: The handler trusts the submitted user id and performs a raw update:
There is no check equivalent to "is this my own account?" or "do I hold Any authenticated user with a valid token from their own print-preferences page can overwrite another user's stored print layout preferences. This is a cross-user authorization bug in a state-changing endpoint. | ||||
| Tags | No tags attached. | ||||
related to
child of
duplicate of