| Title | SourceCodester Modern Ticket Reservation System 1.0 SQL Injection (CWE-89) |
|---|
| Description | /booking/validate.php takes the GET parameter ticket and concatenates it directly into an SQL query. The page is reachable without authentication and is used to re-print a ticket by order reference. A UNION payload returns attacker-controlled values in the ticket output, confirming SQL injection.
Details
Application: Modern Ticket Reservation System
Affected version: 1.0 (Sourcecodester node-11877)
Vulnerable file: /booking/validate.php (lines 6–9)
Parameter: ticket (GET)
Authentication: none required
CWE: CWE-89 (SQL Injection)
Suggested CVSS 3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H — 9.8 Critical |
|---|
| Source | ⚠️ https://github.com/wsx138/cve/issues/12 |
|---|
| User | W5555 (UID 89057) |
|---|
| Submission | 10/20/2026 14:42 (1 month ago) |
|---|
| Moderation | 11/18/2026 21:07 (29 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 439770 [SourceCodester Modern Ticket Reservation System 1.0 /booking/validate.php ticket sql injection] |
|---|
| Points | 20 |
|---|