SourceCodester Student Result Management System Denial-of-Service Vulnerability
Vulnerability
A denial-of-service vulnerability has been identified in SourceCodester Student Result Management System version 1.0. The issue resides in the file /admin/core/drop_user.php, where the script lacks authentication and authorization checks. This vulnerability allows an unauthenticated remote attacker to delete the Super Administrator account by sending a crafted GET request with the id parameter. The exploitation of this vulnerability leads to a permanent loss of access to the administrative panel, causing a critical disruption in system management.
Impact
Exploitation of this vulnerability allows for the unauthorized deletion of the Super Administrator account, causing a permanent denial-of-service condition on the administrative panel and a total loss of system management access.
Reproduction
The vulnerability can be reproduced by sending a GET request to the /admin/core/drop_user.php endpoint with the id parameter set to 1, which corresponds to the Super Administrator account. This can be done using a web browser or a tool like cURL.
Remediation
To address this vulnerability, it is recommended to implement session-based access control in the affected script. This can be done by adding a session validation check to ensure that the user is logged in and has the appropriate administrative privileges before allowing account deletion.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
