| शीर्षक | 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 (5 महीनों पहले) |
|---|
| संयम | 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 |
|---|