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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
6DescriptionCVE.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
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-37851
GHSA-482v-954j-6xv2