إرسال #769781: SourceCodester Web-based Pharmacy Product Management System 1.0 Improper Access Controlsالمعلومات

عنوانSourceCodester Web-based Pharmacy Product Management System 1.0 Improper Access Controls
الوصفThe web application contains a Broken Access Control vulnerability in the add_admin.php endpoint. Although this functionality is intended to be accessible only by administrators, a non-administrative user account created by an admin is able to directly access this endpoint and create new users with administrative privileges. The application fails to enforce proper authorization checks on the add_admin.php page. As a result, any authenticated user; regardless of their assigned role can access the administrative user creation functionality by directly browsing to the endpoint. This flaw allows a low-privileged user to escalate their privileges to an administrator, leading to full compromise of the application’s administrative controls. Steps to Reproduce 1.Log in to the application using an administrator account. 2.Navigate to User Management. To Add User 3.Create a normal user account using the admin interface. 4. Note down at the endpoint "add-admin.php" 5.Log out from the administrator account. 6.Log in using the newly created non-admin user account. 7.Directly navigate to the endpoint "http://localhost/product_expiry/add-admin.php" 8.Observe that the page loads successfully without any access restriction. 9.Use the available form to create a new User and assign the Admin role. 10.Log in using the newly created admin account. 11.Confirm that the account has administrative privileges. Root Cause: Missing or improper server-side authorization checks Role-based access control (RBAC) not enforced on sensitive endpoints Reliance on frontend or UI-level restrictions instead of backend validation
المصدر⚠️ https://x.x.x.x/product_expiry
المستخدم
 MuhdFarhan (UID 95720)
ارسال02/03/2026 05:26 AM (7 أشهر منذ)
الاعتدال11/03/2026 08:07 PM (10 days later)
الحالةتمت الموافقة
إدخال VulDB350535 [SourceCodester Web-based Pharmacy Product Management System 1.0 add_admin.php تجاوز الصلاحيات]
النقاط17

Interested in the pricing of exploits?

See the underground prices here!