SourceCodester Online College Library System
cpe:2.3:a:online_college_library_system_project:online_college_library_system:*:*:*:*:*:*:*
- 1.0
A critical SQL injection vulnerability has been identified in SourceCodester Online College Library System version 1.0. The issue resides in the '/index.php' file, where the 'category' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication or authorization.
Exploitation of this vulnerability allows for unauthorized database access, manipulation of data, leakage of sensitive information, and potential disruption of services.
The vulnerability can be reproduced by sending a crafted HTTP request to 'index.php' with the 'category' parameter. The injected SQL payload can be a boolean-based blind injection, such as '1 OR NOT 2300=2300', which exploits the application's SQL query handling by injecting logical conditions that can be used to extract database information.
To address this vulnerability, it is recommended to use prepared statements and parameter binding to separate SQL code from user input, validate and filter user input to ensure it meets expected formats, minimize database user permissions, and conduct regular security audits.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.