Submit #916003: SourceCodester Inventory Management System 1.0 Improper Privilege Managementinfo

TitleSourceCodester Inventory Management System 1.0 Improper Privilege Management
DescriptionA critical privilege escalation vulnerability exists in Product Inventory Management System by SourceCodester. The registration endpoint /api/users_handler.php accepts a user-controlled role parameter from the client-side POST body without server-side validation. An unauthenticated attacker can register an account with role=admin by intercepting and modifying the registration request, gaining full administrative access to the application including user management, financial reports, and all CRUD operations.
Source⚠️ https://gist.github.com/fhewm98/0de27eeff295ee5da0231e45cedfdd41
User
 Mohammed Faheem (UID 100387)
Submission08/05/2026 12:29 (1 month ago)
Moderation09/13/2026 07:10 (1 month later)
StatusDuplicate
VulDB entry374576 [SourceCodester Inventory Management System 1.0 User Registration Endpoint /api/users_handler.php role access control]
Points0

Interested in the pricing of exploits?

See the underground prices here!