Skip to main content

Nur-Alam39 bus-ticket CVE-2026-55740

| EUVDEUVD-2026-37851 CRITICAL
SQL Injection (CWE-89)
2026-06-18 TuranSec GHSA-482v-954j-6xv2
9.3
CVSS 4.0 · Vendor: TuranSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed bus-ticket instance
  2. Delivery
    Send POST to bus_info.php with UNION payload in busid
  3. Exploit
    Enumerate schemas via information_schema
  4. Execution
    Exfiltrate sensitive table contents
  5. Impact
    Optionally 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jun 18, 2026 - 06:43 cvss changed CVSS 9.3

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.

v1 Jun 18, 2026 - 06:17 CVSS 9.8

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

Vendor (TuranSec) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Analysis Updated
Jun 18, 2026 - 06:43 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 18, 2026 - 06:43 vuln.today
v2 - CVSS changed
CVSS changed
Jun 18, 2026 - 06:37 NVD
9.8 (CRITICAL) 9.3 (CRITICAL)
CVE Published
Jun 18, 2026 - 05:48 cve.org
CRITICAL 9.8

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.4%
Top 72% exploitable
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:nur-alam39:bus-ticket:*:*:*:*:*:*:*:*

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy