| عنوان | SourceCodester Client Database Management System (CDMS) 1.0 Improper Authorization |
|---|
| الوصف | The endpoint /superadmin_user_delete.php in Client Database Management System 1.0 does not implement proper authentication or authorization checks.
The script processes POST requests containing a user_id parameter and directly executes the delete operation without validating session state or verifying the user’s role.
An unauthenticated attacker can send a crafted HTTP POST request to delete arbitrary user accounts from the system.
Proof of Concept
curl -X POST http://TARGET/cdm/superadmin_user_delete.php \
-d "user_id=31"
Server Response:
{"status":"success","message":"User deleted successfully."}
No authentication token or valid session is required to perform this action.
Impact
An attacker can:
Delete arbitrary user accounts
Disrupt business operations
Cause permanent data loss
Bypass privilege restrictions
Perform denial-of-service against legitimate users
This vulnerability represents a critical access control failure and violates the principle of least privilege. |
|---|
| المصدر | ⚠️ https://gist.github.com/Adarshh-A/dd8884d768d9dde9072fe5efce453824 |
|---|
| المستخدم | Adarsh007 (UID 95657) |
|---|
| ارسال | 26/02/2026 10:06 AM (7 أشهر منذ) |
|---|
| الاعتدال | 07/03/2026 09:42 PM (9 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 349739 [SourceCodester Client Database Management System 1.0 Endpoint superadmin_user_delete.php user_id تجاوز الصلاحيات] |
|---|
| النقاط | 20 |
|---|