CVE-2025-13346: SQL Injection in SourceCodester Train Station Ticketing System
A vulnerability was detected in SourceCodester Train Station Ticketing System 1.0. This affects an unknown part of the file /ajax.php?action=save_station. Performing manipulation of the argument id/station results in sql injection. The attack may be initiated remotely. The exploit is now public and may be used.
AI Analysis
Technical Summary
CVE-2025-13346 is a SQL injection vulnerability identified in SourceCodester Train Station Ticketing System version 1.0, specifically within the /ajax.php?action=save_station endpoint. The vulnerability arises from improper sanitization of the 'id' and 'station' parameters, allowing an attacker to inject malicious SQL code. This flaw enables remote attackers to manipulate backend database queries without requiring authentication or user interaction, increasing the attack surface. The vulnerability could allow attackers to extract sensitive data, modify ticketing information, or disrupt service availability by corrupting database contents. The CVSS 4.0 score of 5.3 indicates a medium severity, with low complexity of attack (AC:L), no privileges required (PR:L), and no user interaction (UI:N). Although no known exploits are currently active in the wild, the public availability of exploit code raises the likelihood of exploitation attempts. The vulnerability affects only version 1.0 of the software, and no official patches have been released yet, emphasizing the need for immediate mitigation. The ticketing system is critical infrastructure for train stations, making the vulnerability a significant risk for operational disruption and data compromise.
Potential Impact
For European organizations, particularly those managing train station ticketing systems, this vulnerability poses risks including unauthorized access to passenger data, manipulation of ticketing records, and potential denial of service through database corruption. Confidentiality could be compromised if attackers extract personal or payment information. Integrity is at risk due to possible unauthorized modification of ticket data, which could lead to financial losses or operational errors. Availability may be affected if attackers disrupt database operations, causing service outages. Given the critical nature of transportation infrastructure in Europe, exploitation could have cascading effects on public transit reliability and passenger trust. The medium severity rating suggests a moderate but tangible risk, especially for organizations that have not implemented compensating controls or input validation. The lack of authentication requirement means attackers can attempt exploitation remotely, increasing exposure. European entities relying on SourceCodester’s system without timely updates or mitigations are vulnerable to targeted attacks or opportunistic exploitation.
Mitigation Recommendations
Organizations should immediately implement strict input validation and sanitization on the 'id' and 'station' parameters to prevent SQL injection. Employing parameterized queries or prepared statements in the backend code is critical to eliminate injection vectors. Until an official patch is released, consider deploying web application firewalls (WAFs) with custom rules to detect and block SQL injection attempts targeting the vulnerable endpoint. Network segmentation should isolate the ticketing system from broader enterprise networks to limit lateral movement in case of compromise. Regularly monitor logs for suspicious activity related to /ajax.php?action=save_station requests. Conduct code reviews and security testing on the ticketing system to identify and remediate similar vulnerabilities. Engage with the vendor or community for updates or patches and plan for prompt application once available. Additionally, implement multi-factor authentication and least privilege principles for administrative access to reduce risk from potential exploitation.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Belgium, Sweden
CVE-2025-13346: SQL Injection in SourceCodester Train Station Ticketing System
Description
A vulnerability was detected in SourceCodester Train Station Ticketing System 1.0. This affects an unknown part of the file /ajax.php?action=save_station. Performing manipulation of the argument id/station results in sql injection. The attack may be initiated remotely. The exploit is now public and may be used.
AI-Powered Analysis
Technical Analysis
CVE-2025-13346 is a SQL injection vulnerability identified in SourceCodester Train Station Ticketing System version 1.0, specifically within the /ajax.php?action=save_station endpoint. The vulnerability arises from improper sanitization of the 'id' and 'station' parameters, allowing an attacker to inject malicious SQL code. This flaw enables remote attackers to manipulate backend database queries without requiring authentication or user interaction, increasing the attack surface. The vulnerability could allow attackers to extract sensitive data, modify ticketing information, or disrupt service availability by corrupting database contents. The CVSS 4.0 score of 5.3 indicates a medium severity, with low complexity of attack (AC:L), no privileges required (PR:L), and no user interaction (UI:N). Although no known exploits are currently active in the wild, the public availability of exploit code raises the likelihood of exploitation attempts. The vulnerability affects only version 1.0 of the software, and no official patches have been released yet, emphasizing the need for immediate mitigation. The ticketing system is critical infrastructure for train stations, making the vulnerability a significant risk for operational disruption and data compromise.
Potential Impact
For European organizations, particularly those managing train station ticketing systems, this vulnerability poses risks including unauthorized access to passenger data, manipulation of ticketing records, and potential denial of service through database corruption. Confidentiality could be compromised if attackers extract personal or payment information. Integrity is at risk due to possible unauthorized modification of ticket data, which could lead to financial losses or operational errors. Availability may be affected if attackers disrupt database operations, causing service outages. Given the critical nature of transportation infrastructure in Europe, exploitation could have cascading effects on public transit reliability and passenger trust. The medium severity rating suggests a moderate but tangible risk, especially for organizations that have not implemented compensating controls or input validation. The lack of authentication requirement means attackers can attempt exploitation remotely, increasing exposure. European entities relying on SourceCodester’s system without timely updates or mitigations are vulnerable to targeted attacks or opportunistic exploitation.
Mitigation Recommendations
Organizations should immediately implement strict input validation and sanitization on the 'id' and 'station' parameters to prevent SQL injection. Employing parameterized queries or prepared statements in the backend code is critical to eliminate injection vectors. Until an official patch is released, consider deploying web application firewalls (WAFs) with custom rules to detect and block SQL injection attempts targeting the vulnerable endpoint. Network segmentation should isolate the ticketing system from broader enterprise networks to limit lateral movement in case of compromise. Regularly monitor logs for suspicious activity related to /ajax.php?action=save_station requests. Conduct code reviews and security testing on the ticketing system to identify and remediate similar vulnerabilities. Engage with the vendor or community for updates or patches and plan for prompt application once available. Additionally, implement multi-factor authentication and least privilege principles for administrative access to reduce risk from potential exploitation.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2025-11-18T06:53:21.916Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 691c6c69c50334694ab71ca7
Added to database: 11/18/2025, 12:54:01 PM
Last enriched: 11/18/2025, 12:54:38 PM
Last updated: 11/19/2025, 3:52:50 AM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-6251: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wproyal Royal Addons for Elementor – Addons and Templates Kit for Elementor
MediumCVE-2025-12777: CWE-285 Improper Authorization in yithemes YITH WooCommerce Wishlist
MediumCVE-2025-12770: CWE-200 Exposure of Sensitive Information to an Unauthorized Actor in saadiqbal New User Approve
MediumCVE-2025-12427: CWE-639 Authorization Bypass Through User-Controlled Key in yithemes YITH WooCommerce Wishlist
MediumCVE-2025-13051: CWE-427 Uncontrolled Search Path Element in ASUSTOR ABP and AES
CriticalActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.