Code-Projects Simple Flight Ticket Booking System SQL Injection Vulnerability
Vulnerability
A SQL injection vulnerability has been identified in Code-Projects Simple Flight Ticket Booking System version 1.0. The issue resides in the '/Admindelete.php' file, where the 'flightno' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially leading to unauthorized data deletion from the database.
Impact
Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate database queries. In this case, it could lead to the deletion of flight records or other data within the database.
Reproduction
To reproduce this vulnerability, send a GET request to '/Admindelete.php' with a crafted 'flightno' parameter that includes SQL injection payloads. The application will execute the injected SQL, allowing for manipulation of the database, such as deleting records.
Remediation
It is recommended to use prepared statements and parameter binding to prevent SQL injection vulnerabilities. Additionally, input validation and filtering should be implemented to ensure that user-supplied data is safe before processing it in SQL queries.
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.
