Code-Projects Simple Flight Ticket Booking System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability exists in Code-Projects Simple Flight Ticket Booking System version 1.0, specifically within the '/Adminsearch.php' file. The issue arises from inadequate input validation of the 'flightno' parameter, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without authentication, potentially leading to unauthorized database access and manipulation of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, where attackers 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

The vulnerability can be reproduced by sending a GET request to 'Adminsearch.php' with a crafted 'flightno' parameter that includes SQL injection payloads. This can be done manually or using automated tools like sqlmap, which can exploit the injection and demonstrate the vulnerability by, for example, extracting database information.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure that user-supplied data does not interfere with SQL query execution.

Added: Mar 8, 2026, 5:21 AM
Updated: Mar 8, 2026, 5:21 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.7
remediation
0.0
relevance
3.8
threat
6.4
urgency
2.9
incentive
4.2

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