Sourcecodester Computer Laboratory Management System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in the Sourcecodester Computer Laboratory Management System version 1.0. The issue resides in the manage_damage.php file, where the 'id' parameter lacks proper input validation and sanitization. This vulnerability allows authenticated attackers to execute arbitrary SQL commands, potentially leading to unauthorized access to the database.

Impact

Exploitation of this vulnerability allows for arbitrary SQL command execution, which could be used to manipulate the database, extract sensitive information, or bypass authentication mechanisms.

Reproduction

To reproduce this vulnerability, an authenticated user can send a request to the manage_damage.php endpoint with a crafted 'id' parameter that includes SQL injection payloads. For example, an injection payload could be used to manipulate the SQL query processing, such as bypassing authentication or accessing restricted data.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
6.6
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.