CVE-2023-48689CWE-89

Railway Reservation System v1.0 - Multiple Unauthenticated SQL Injections (SQLi)

Critical · published December 21, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
51.5
In the wild
Unconfirmed
What it is

🚨 It’s not just a train ride; it’s a wild SQL injection adventure waiting to derail your data! 🔥 Imagine a train station ticket booth where anyone can scribble a request on a piece of paper, and the clerk accepts it without a second glance — that’s how unfiltered inputs can lead to chaos in your database! An attacker could exploit this major oversight to run malicious SQL commands, allowing them to access, modify, or even delete critical data without any authentication. This could lead to an absolute disaster, exposing sensitive information and undermining the integrity of your entire Railway Reservation System!

Put simply

Imagine a train station ticket booth where anyone can scribble a request on a piece of paper, and the clerk accepts it without a second glance — that’s how unfiltered inputs can lead to chaos in your database! The vulnerability stems from the 'byname' parameter in train.php, which fails to sanitize input before sending it to the database, enabling attackers to inject harmful SQL queries.

What to do

An attacker could exploit this major oversight to run malicious SQL commands, allowing them to access, modify, or even delete critical data without any authentication. This could lead to an absolute disaster, exposing sensitive information and undermining the integrity of your entire Railway Reservation System! Immediately patch the Railway Reservation System to version 1.1, where this vulnerability is addressed. Implement input validation and use prepared statements to prevent this kind of injection in the future. Regularly review your code for similar issues! You’ve got this! With these fixes, you’ll be back on track in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00671 · 51.5th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2023-12-21T20:46Z
EPSS history
Timeline
  • 21 DEC 20:46Z
    Railway Reservation System v1.0 - Multiple Unauthenticated SQL Injections (SQLi)
    cvelistv5