Sourcecodester Basic Library System SQL Injection Vulnerability
Vulnerability
A SQL injection vulnerability has been identified in Sourcecodester Basic Library System version 1.0. The issue resides in the 'load_student.php' file within the library system. This vulnerability allows attackers to manipulate the 'student_id' parameter, potentially leading to unauthorized database access or data manipulation.
Impact
Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.
Reproduction
To reproduce this vulnerability, send a GET request to 'load_student.php' with a crafted 'student_id' parameter. The payload should include a SQL injection payload, such as a UNION SELECT statement, to extract database information. The response will indicate successful exploitation by displaying the injected data, such as the name of the database.
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.
