Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-13345: SQL Injection in SourceCodester Train Station Ticketing System

0
Medium
VulnerabilityCVE-2025-13345cvecve-2025-13345
Published: Tue Nov 18 2025 (11/18/2025, 12:02:08 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Train Station Ticketing System

Description

A security vulnerability has been detected in SourceCodester Train Station Ticketing System 1.0. Affected by this issue is some unknown functionality of the file /ajax.php?action=save_ticket. Such manipulation leads to sql injection. The attack can be launched remotely. The exploit has been disclosed publicly and may be used.

AI-Powered Analysis

AILast updated: 11/18/2025, 13:01:39 UTC

Technical Analysis

CVE-2025-13345 identifies a SQL injection vulnerability in SourceCodester Train Station Ticketing System version 1.0, specifically within the /ajax.php?action=save_ticket endpoint. This vulnerability allows an unauthenticated remote attacker to inject malicious SQL code by manipulating input parameters sent to this endpoint. The injection flaw arises due to insufficient input sanitization or improper handling of user-supplied data before it is incorporated into SQL queries. Successful exploitation can lead to unauthorized reading, modification, or deletion of database records, potentially exposing sensitive ticketing information such as user credentials, transaction details, or operational data. The vulnerability does not require user interaction or prior authentication, increasing its risk profile. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:L, which suggests low privileges but some level of access is needed), no user interaction (UI:N), and low impact on confidentiality, integrity, and availability (VC:L, VI:L, VA:L). Although no known exploits are currently active in the wild, the public disclosure of the vulnerability increases the likelihood of exploitation attempts. The lack of official patches or mitigation guidance from the vendor necessitates immediate defensive measures by affected organizations.

Potential Impact

For European organizations, particularly those operating or relying on the SourceCodester Train Station Ticketing System, this vulnerability poses a risk of unauthorized access to sensitive ticketing and passenger data. Exploitation could disrupt ticket sales, compromise customer privacy, and damage operational integrity. The impact extends to potential financial losses, regulatory penalties under GDPR due to data breaches, and reputational harm. Rail operators and transport authorities in Europe increasingly digitize ticketing systems, making them attractive targets for attackers seeking to disrupt critical infrastructure or steal personal data. The medium severity suggests moderate risk, but the ease of remote exploitation without user interaction elevates concern. Service availability could be affected if attackers manipulate or delete database records, causing ticketing failures or denial of service. The vulnerability also opens a pathway for further attacks, such as privilege escalation or lateral movement within the network if combined with other weaknesses.

Mitigation Recommendations

1. Implement strict input validation and sanitization on all parameters accepted by /ajax.php?action=save_ticket to prevent injection of malicious SQL code. 2. Refactor the application code to use parameterized queries or prepared statements, eliminating direct concatenation of user input into SQL commands. 3. Restrict database user privileges to the minimum necessary, preventing unauthorized data modification or access beyond what the application requires. 4. Monitor web server and database logs for unusual or suspicious query patterns indicative of injection attempts. 5. Deploy Web Application Firewalls (WAFs) with rules specifically targeting SQL injection signatures to block exploitation attempts. 6. If vendor patches become available, prioritize their prompt application. 7. Conduct security audits and penetration testing focused on injection vulnerabilities in the ticketing system. 8. Consider network segmentation to isolate the ticketing system database from broader corporate networks, limiting attacker lateral movement. 9. Educate development teams on secure coding practices to prevent recurrence of injection flaws in future versions.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2025-11-18T06:53:19.261Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 691c6dffc50334694aba91c3

Added to database: 11/18/2025, 1:00:47 PM

Last enriched: 11/18/2025, 1:01:39 PM

Last updated: 11/19/2025, 9:19:28 AM

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats