CVE-2025-13344CWE-74CWE-89sql-injection

CVE-2025-13344

High · published November 18, 2025

CVSS v3.1
7.3
EPSS
1%
Percentile
52.0
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection lurks in the SourceCodester Train Station Ticketing System! By manipulating the Username argument in /ajax.php?action=login, attackers can access sensitive data remotely — and they've got the exploit ready to go! 🚨 Think of the login process like a ticket booth at the station. If the booth doesn't verify the ticket being presented, it's like letting anyone through the gate just by saying they have a valid ticket — a welcome mat for unwanted travelers! An attacker could gain access to the database, leading to potential data breaches or unauthorized actions. While not critical, this vulnerability opens the door to significant risks if left unaddressed — think of all the train schedules and passenger info at stake!

Put simply

Think of the login process like a ticket booth at the station. If the booth doesn't verify the ticket being presented, it's like letting anyone through the gate just by saying they have a valid ticket — a welcome mat for unwanted travelers! The SQL injection vulnerability exists due to insufficient validation of the Username parameter in the login process, allowing malicious SQL code to be executed remotely.

What to do

An attacker could gain access to the database, leading to potential data breaches or unauthorized actions. While not critical, this vulnerability opens the door to significant risks if left unaddressed — think of all the train schedules and passenger info at stake! To mitigate this vulnerability, update the SourceCodester Train Station Ticketing System to the latest version immediately. Implement prepared statements for database queries and validate user inputs to strengthen security. You've got this! With these steps, you'll fortify your ticketing system and keep those data breaches at bay! 🛡️

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00683 · 52.0th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-11-18T17:15Z
Affected products (1)
ProductVersionsFixed in
oretnom23/train_station_ticketing_systemall versions—
References (5)
EPSS history
Timeline
  • 18 NOV 12:02Z
    SourceCodester Train Station Ticketing System ajax.php sql injection
    cvelistv5