Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed bus-ticket instance
-
DeliverySend POST to bus_info.php with UNION payload in busid
-
ExploitEnumerate schemas via information_schema
-
ExecutionExfiltrate sensitive table contents
-
ImpactOptionally write webshell via INTO OUTFILE as MySQL root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against any deployment of Nur-Alam39/bus-ticket, exploitable via a single HTTP POST request to bus_info.php with a crafted busid parameter, no authentication, no user interaction, and no non-default configuration required. The injection is in an unquoted numeric SQL context so the attacker does not need to escape quotes. The only practical limit is that mysqli_query() blocks stacked statements, so direct multi-statement attacks (INSERT/UPDATE/DROP via semicolon) are not possible - but UNION-based and blind data exfiltration remain fully viable, and the root MySQL account amplifies impact across all databases. |
| Impact | All available signals point to high real-world risk for any deployment: the CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N with VC:H/VI:H/VA:H (score 9.3) is corroborated by the description, which confirms remote, unauthenticated, single-request exploitation with a concrete payload. EPSS and CISA KEV data were not provided in the input, so widespread exploitation cannot be confirmed. The mitigating factor is project maturity - bus-ticket has no released versions and is a small GitHub project, so exposure is likely limited to developers/students running the demo code rather than production deployments; however, anyone who has deployed this code is at critical risk, and the root/empty-password DB configuration means impact extends well beyond the bus_service database. |
| Exploit ScenarioDerived | A remote attacker discovers an internet-exposed bus-ticket deployment, sends a single HTTP POST to bus_info.php with busid=-1 UNION SELECT 1,2,3,4,5,6 (or variants targeting information_schema), and immediately receives reflected database content in the response. Because the application authenticates to MySQL as root with no password, the attacker pivots to read users, password hashes, or other schemas hosted on the same server, and may attempt INTO OUTFILE to drop a PHP webshell if FILE privilege and writable web paths exist. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 18, 2026
Unauthenticated SQL injection in Nur-Alam39's bus-ticket PHP application (no released versions; latest commit 459cabd) allows remote attackers to extract arbitrary data from the bus_service database via the busid POST parameter in bus_info.php. The flaw is exacerbated because the application connects as MySQL root with an empty password. No public exploit identified at time of analysis, though the description includes a working UNION-based payload demonstrating trivial exploitability.
Earlier versions of this analysis (2)
Unauthenticated SQL injection in Nur-Alam39's bus-ticket PHP application allows remote attackers to read arbitrary data from the bus_service database by injecting payloads into the busid POST parameter of bus_info.php. The flaw is amplified by the application's default use of the MySQL root account with an empty password. No public exploit identified at time of analysis, but a working UNION-based payload is published in the description itself.
Unauthenticated SQL injection in Nur-Alam39's bus-ticket PHP application (latest commit 459cabd, no tagged releases) allows remote attackers to read arbitrary data from the bus_service MySQL database by injecting payloads into the busid POST parameter of bus_info.php. The application connects as MySQL root with an empty password, broadening the blast radius across the database server. No public exploit identified at time of analysis, though the proof-of-concept UNION payload (busid=-1 UNION SELECT 1,2,3,4,5,6) is embedded directly in the CVE description.
RemediationAI
No vendor-released patch identified at time of analysis - the upstream repository has no fix commit and no tagged releases. Operators running this code should immediately take the application offline or, as compensating controls, replace the vulnerable query in bus_info.php with a prepared statement using mysqli_prepare()/bind_param() with an 'i' type for busid, or at minimum wrap the input with (int)$_POST['busid'] before concatenation (trade-off: still fragile if other parameters are added later). Additionally, change the MySQL connection account from root with empty password to a least-privilege user limited to the bus_service database with only SELECT/INSERT/UPDATE on the required tables (trade-off: requires DB schema review). A WAF rule blocking UNION, SELECT, or non-numeric characters in the busid parameter can serve as a short-term filter but is easily bypassed and should not be relied upon. Track upstream at https://github.com/Nur-Alam39/bus-ticket for any future fix.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic CWE-89 (SQL Injection) in a PHP web application built on the LAMP stack using the mysqli extension. The vulnerable code path in bus_info.php (lines 14-16 per the GitHub reference) concatenates the user-supplied busid POST parameter directly into the query 'select * from bus_info where id=$busid' in an unquoted numeric context, meaning attackers do not even need to break out of quotes. Because the query executes via mysqli_query() - which rejects stacked statements - the immediate attack surface is limited to SELECT-style injection (UNION, subqueries, conditional blind), but combined with the MySQL root account with empty password, an attacker can read across all databases on the server and potentially write files via INTO OUTFILE if FILE privilege and secure_file_priv allow it.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Remote single-POST exploitation with no auth or UI (AV:N/AC:L/PR:N/UI:N); MySQL root access yields full confidentiality, integrity, and availability impact on the database.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
Lifecycle Timeline
4DescriptionCVE.org
Nur-Alam39 bus-ticket (no released versions; latest commit 459cabdbeb99c00225b26e46e3c2c30ae1de7bad) contains an unauthenticated SQL injection vulnerability in bus_info.php. The busid parameter received via HTTP POST is concatenated directly into a MySQL query (select * from bus_info where id=$busid) without sanitization, escaping, or parameterization, and in a numeric (unquoted) context. A remote, unauthenticated attacker can inject arbitrary SQL - for example a UNION-based payload such as busid=-1 UNION SELECT 1,2,3,4,5,6 - to read arbitrary data from the bus_service database. The application connects to the database as the MySQL root account with an empty password, increasing the potential impact. The query is executed via mysqli_query(), which does not permit stacked (semicolon-separated) statements.
Articles & Coverage 1
Executive ViewAI
Nur-Alam39's bus-ticket application contains a critical vulnerability allowing any remote attacker to steal passenger data, payment information, and operational records without authentication. There is no vendor patch available to remediate this flaw, requiring immediate system removal from service. Organizations operating this software face imminent data breach, regulatory penalties, and business disruption until replacement systems are deployed.
No vendor-released patch identified at time of analysis. Without a patch, implement defensive measures immediately: restrict network access to the application via firewall rules (production systems only on VPN/trusted networks); deploy Web Application Firewall configured with SQL injection detection rules; implement parameterized SQL queries and input validation in bus_info.php to block attacks; immediately change MySQL root account and implement least-privilege service account with strong credentials; enable database audit logging to detect and record unauthorized access attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-37851
GHSA-482v-954j-6xv2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB