{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-55740: SQL Injection in Nur-Alam39 bus-ticket bus_info.php via busid parameter","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-55740","status":"final","version":"1","initial_release_date":"2026-06-18T05:48:27.016Z","current_release_date":"2026-06-18T05:48:27.016Z","revision_history":[{"date":"2026-06-18T05:48:27.016Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-55740 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-55740"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-55740"},{"category":"external","summary":"Vulnerable code: bus_info.php (busid concatenated into SQL)","url":"https://github.com/Nur-Alam39/bus-ticket/blob/459cabdbeb99c00225b26e46e3c2c30ae1de7bad/bus_info.php#L14-L16"},{"category":"external","summary":"github.com","url":"https://github.com/Nur-Alam39/bus-ticket"}]},"product_tree":{"branches":[{"category":"vendor","name":"Nur-Alam39","branches":[{"category":"product_name","name":"bus-ticket","branches":[{"category":"product_version","name":"*","product":{"name":"Nur-Alam39 bus-ticket *","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:nur-alam39:bus-ticket:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-55740","title":"SQL Injection in Nur-Alam39 bus-ticket bus_info.php via busid parameter","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"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","baseScore":9.3,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}