Code-Projects Online Appointment Booking System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in version 1.0 of the Code-Projects Online Appointment Booking System. The issue resides in the '/cover.php' file, where user input from the 'uname' and 'psw' parameters is not properly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially leading to unauthorized database access, data manipulation, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to access, modify, or delete database information. This could include sensitive data, thereby posing a significant risk to the application's data integrity and security.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/cover.php' with crafted payloads that exploit the SQL injection flaw in the 'uname' or 'psw' parameters. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

It is recommended to implement input validation and sanitization for the 'uname' and 'psw' parameters to prevent SQL injection. Additionally, using prepared statements for database queries can help mitigate this vulnerability.

Added: Jul 14, 2025, 9:35 AM
Updated: Jul 14, 2025, 9:35 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.7
remediation
0.0
relevance
0.3
threat
6.4
urgency
2.9
incentive
5.8

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