Authenticated SQL injection via unescaped booking ID
Published Dec 1, 2022 · Updated Apr 15, 2025
SQL injection in Aman Sharma Movie Ticket Booking System-PHP allows remote authenticated users to read or modify database data via editBooking.php. The endpoint inserts the controllable id query parameter directly into a database query without neutralizing SQL syntax. Administrative access to the edit-booking endpoint is required; crafted predicates can expose or change data and delay query execution.
Summary
What happened
SQL injection in Aman Sharma Movie Ticket Booking System-PHP allows remote authenticated users to read or modify database data via editBooking.php. The endpoint inserts the controllable id query parameter directly into a database query without neutralizing SQL syntax. Administrative access to the edit-booking endpoint is required; crafted predicates can expose or change data and delay query execution.
The record
- CVE
- CVE-2022-4248
- Published
- Dec 1, 2022
- Updated
- Apr 15, 2025
- Vendor
- Aman Sharma
- Product
- Movie Ticket Booking System-PHP
- Classifications
- CWE-707, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 1, 2022CVE publishedPublication date reported by the CVE source.
- Apr 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=n/a
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Time-based SQL injection proof of concept for editBooking.phpproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo