CVE-2026-3708
Received Received - Intake
SQL Injection in Simple Flight Ticket Booking System /login.php

Publication date: 2026-03-08

Last updated on: 2026-04-29

Assigner: VulDB

Description
A security flaw has been discovered in code-projects Simple Flight Ticket Booking System 1.0. The impacted element is an unknown function of the file /login.php. Performing a manipulation of the argument Username results in sql injection. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-08
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2026-03-08
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
carmelo simple_flight_ticket_booking_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

[{'type': 'paragraph', 'content': "Immediate mitigation steps include implementing proper input validation and sanitization on the 'username' parameter in login.php to prevent SQL injection."}, {'type': 'list_item', 'content': 'Use prepared statements with parameter binding instead of directly embedding user input into SQL queries.'}, {'type': 'list_item', 'content': 'Apply input filtering and validation to reject or sanitize malicious characters.'}, {'type': 'list_item', 'content': 'Utilize functions such as mysqli_real_escape_string() to escape special characters in SQL queries.'}, {'type': 'paragraph', 'content': 'Since no official patch or fix is currently available, consider replacing the affected software with a secure alternative or applying custom fixes to the source code.'}, {'type': 'paragraph', 'content': 'Immediate remediation is necessary to protect data integrity and prevent unauthorized database access.'}] [1, 2, 5]


Can you explain this vulnerability to me?

[{'type': 'paragraph', 'content': 'CVE-2026-3708 is a critical SQL injection vulnerability found in version 1.0 of the Simple Flight Ticket Booking System, specifically in the /login.php file.'}, {'type': 'paragraph', 'content': "The vulnerability arises because the application fails to properly sanitize or validate the 'username' parameter before incorporating it into SQL queries. This allows attackers to inject malicious SQL code remotely without requiring authentication."}, {'type': 'paragraph', 'content': "By manipulating the 'username' input, attackers can alter the SQL query structure, bypass authentication, and execute arbitrary SQL commands."}, {'type': 'paragraph', 'content': 'This flaw is due to improper input validation and unsafe SQL query construction, where user input is directly concatenated into SQL statements without using prepared statements or escaping special characters.'}] [1, 2, 3, 4, 5]


How can this vulnerability impact me? :

Exploiting this vulnerability allows remote attackers to bypass authentication controls and gain unauthorized access to the system.

Attackers can extract sensitive information from the database, including user credentials and booking details.

They can also modify or delete data such as flight and booking records, manipulate payment statuses, and potentially escalate privileges through administrative functions.

Overall, this compromises the confidentiality, integrity, and availability of the entire booking system database.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': "This SQL injection vulnerability can be detected by testing the login.php endpoint for improper input sanitization on the 'username' parameter. One practical method is to use automated SQL injection testing tools such as sqlmap to verify if the endpoint is vulnerable."}, {'type': 'paragraph', 'content': 'An example sqlmap command to test the vulnerability is:'}, {'type': 'list_item', 'content': 'python3 /root/sqlmap/sqlmap.py -u "http://target-server/login.php" --data="username=test&pwd=test" --batch --dbs --dbms=mysql'}, {'type': 'paragraph', 'content': "Additionally, attackers or testers can attempt manual injection payloads in the username field such as: username=admin' OR '1'='1'-- - to check if authentication can be bypassed."}, {'type': 'paragraph', 'content': "Google dorking can also be used to identify potentially vulnerable targets by searching for URLs containing 'inurl:login.php'."}] [2, 5]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart