Code-Projects Movie Ticketing System SQL Injection Vulnerability in Ticket Confirmation Processing

Vulnerability

A critical SQL injection vulnerability has been identified in the Code-Projects Movie Ticketing System version 1.0. The issue arises in the file '/ticketConfirmation.php', where the 'date' parameter is improperly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, 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 interfere with the application's database queries. This could result in unauthorized data access, data modification or deletion, and in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, authenticate to the application to obtain a valid PHP session ID. Then, send a POST request to '/ticketConfirmation.php' with the 'date' parameter crafted to include malicious SQL payloads, such as SQL injection techniques that exploit error-based SQL injection vulnerabilities. The request must also include 'timeSlot' and 'theater' parameters as part of the ticket booking process.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, minimize database user permissions, and conduct regular security audits.

Added: Jun 30, 2025, 6:26 AM
Updated: Jun 30, 2025, 6:26 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
6.6
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

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