| Title | SourceCodester Inventory System using PHP and MySQL Source Code 1.0 Improper Privilege Management |
|---|
| Description | The application allows unauthenticated users to register arbitrary accounts with administrative privileges because the backend trusts the client-supplied role parameter during registration. An attacker can modify the HTTP request and set role=admin, resulting in privilege escalation and complete compromise of the application. |
|---|
| Source | ⚠️ https://app.notion.com/p/Inventory-System-using-PHP-and-MySQL-Source-Code-390e7248353d803394b5f04bc4230d11 |
|---|
| User | himanshuh4cker (UID 96758) |
|---|
| Submission | 07/01/2026 08:33 (2 months ago) |
|---|
| Moderation | 08/17/2026 11:47 (2 months later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 369139 [SourceCodester Inventory System 1.0 Account Creation users_handler.php ROLE improper authorization] |
|---|
| Points | 0 |
|---|