Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed PIAF-HMS host
-
DeliveryIdentify vulnerable endpoint (e.g. rooms.php)
-
ExploitInject SQL payload via HTTP parameter
-
ExecutionExfiltrate or destroy database records
-
ImpactPivot using harvested guest/extension data
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 default deployments of PIAF-HMS, because the application ships with no authentication layer and the vulnerable endpoints are reachable over plain HTTP to any client that can route to the web server. Practical limits are scope rather than complexity: the target must be a network-reachable PIAF-HMS instance (a niche, unreleased GitHub project typically co-located with PBX-In-A-Flash deployments), and direct OS code execution is constrained because the legacy ext/mysql driver rejects stacked statements, so attackers are limited to single-query primitives (UNION SELECT, blind boolean/time, single-statement INSERT/UPDATE/DELETE) rather than chained multi-statement payloads or SELECT … INTO OUTFILE without appropriate MySQL FILE privileges. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H (9.3 Critical) is consistent with the description: the application has no authentication at all, so a remote attacker reaches every sink over HTTP with no prerequisites. SSVC reinforces this - Exploitation: none (no observed in-the-wild abuse), Automatable: yes, Technical Impact: total - which matches a class of bug trivially weaponizable with sqlmap. Counterweights are the very narrow install base (an unreleased GitHub project tied to the niche PIAF/Asterisk ecosystem) and the legacy mysql_* extension blocking stacked queries, which limits direct OS command execution chains but does not blunt data theft or destructive single-statement payloads (rooms.php?ID=1 OR 1=1 wipes the Rooms table). No EPSS or KEV signal is provided in the input, so prioritization should rest on whether any PIAF-HMS instance is actually deployed and reachable rather than on telemetry of exploitation; treat any exposed instance as already-breachable. |
| Exploit ScenarioDerived | An attacker scans for exposed PIAF/Asterisk admin hosts, identifies a PIAF-HMS instance, and issues GET /rooms.php?ID=1%20OR%201=1 to wipe every row in the Rooms table, or uses sqlmap against checkuser.php?Ext= to dump guest, extension, and billing records via UNION-based extraction. With no authentication and no stacked-query restriction blocking single-statement payloads, the entire database is readable and destructible in a few automated requests; no public exploit identified at time of analysis, but the bug class is trivially weaponizable with off-the-shelf tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 18, 2026
Unauthenticated SQL injection in claudiopizzillo PIAF-HMS (PBX-In-A-Flash Hotel Management System) lets remote attackers read, modify, or delete arbitrary database records by tampering with HTTP parameters that are concatenated into legacy mysql_query() calls. The project ships with no authentication mechanism and no released versions, so any deployment exposing it to the network is fully compromisable; no public exploit identified at time of analysis, though CISA SSVC rates the technical impact as total and automatable.
Earlier versions of this analysis (2)
Unauthenticated SQL injection across multiple endpoints in claudiopizzillo PIAF-HMS (PBX-In-A-Flash Hotel Management System) allows remote attackers to read, modify, or delete arbitrary database records. The project has no authentication layer and concatenates HTTP parameters directly into deprecated mysql_query() calls in rooms.php, checkuser.php, ec.php, checkin.php, wakeup.php, bills.php, rates.php, and checkout.php. No public exploit identified at time of analysis, though SSVC marks the issue as automatable with total technical impact, and the CVSS 4.0 score of 9.3 reflects trivial network-reachable exploitation.
Unauthenticated SQL injection in claudiopizzillo's PIAF-HMS (PBX-In-A-Flash Hotel Management System) allows remote attackers to read, modify, or destroy arbitrary database records across multiple endpoints. The application ships with no authentication layer and concatenates user-supplied HTTP parameters directly into legacy mysql_query() calls, exposing rooms.php, checkuser.php, ec.php, checkin.php, wakeup.php, bills.php, rates.php, and checkout.php. No public exploit identified at time of analysis, though the description itself provides a working payload (rooms.php?ID=1 OR 1=1) that destroys all room records.
RemediationAI
No vendor-released patch identified at time of analysis - the project has no tagged releases and no fix commits referenced in the advisory. Operators should remove PIAF-HMS from any internet-facing network immediately and, if it must remain reachable, place it behind an authenticating reverse proxy (Apache/nginx basic auth or an SSO gateway) restricted to trusted LAN/VPN addresses to compensate for the missing application-layer auth; note this only blocks unauthenticated abuse and does not fix the underlying injection. A WAF rule set blocking SQL metacharacters in the named parameters (ID, Ext, date, extension, and the POST bodies of checkin/wakeup/bills) can blunt automated tooling like sqlmap but will produce false positives on legitimate alphanumeric room and extension data. The durable fix requires forking the project to replace every mysql_query() call with mysqli/PDO prepared statements and bound parameters, casting numeric inputs to (int), and adding authentication before the affected endpoints; track upstream at https://github.com/claudiopizzillo/PIAF-HMS and the specific sinks at https://github.com/claudiopizzillo/PIAF-HMS/blob/389d2633441b65ced1c104212cd62be2bfca21e5/rooms.php#L16 and https://github.com/claudiopizzillo/PIAF-HMS/blob/389d2633441b65ced1c104212cd62be2bfca21e5/ec.php#L57 for the canonical vulnerable patterns.
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
PIAF-HMS is a PHP-based hotel management front-end bundled with PBX-In-A-Flash telephony stacks, using the long-deprecated ext/mysql interface (removed in PHP 7) to talk to a MySQL backend. The flaws are textbook CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), arising because user-controlled values from $_GET and $_POST are spliced into SQL strings without prepared statements, mysql_real_escape_string, or input validation. Vulnerable sinks span numeric (unquoted) DELETE contexts in rooms.php and quoted string contexts in checkuser.php, ec.php, checkin.php, wakeup.php, bills.php, rates.php, and checkout.php. One mitigating quirk of the legacy mysql_* extension is that it does not allow stacked statements, so single-query payloads (UNION SELECT, boolean/time-based blind, or destructive single-statement updates) are the practical primitives rather than chained multi-statement attacks.
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
Application ships with no authentication and parameters reach SQL sinks over HTTP with no user interaction, giving full read/write/delete on the database, hence AV:N/AC:L/PR:N/UI:N and C/I/A:H.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
Lifecycle Timeline
4DescriptionCVE.org
claudiopizzillo PIAF-HMS (PBX-In-A-Flash Hotel Management System; no released versions, latest commit 389d2633441b65ced1c104212cd62be2bfca21e5) contains multiple unauthenticated SQL injection vulnerabilities. The application has no authentication mechanism and passes user-supplied HTTP parameters directly into deprecated mysql_query() calls via string concatenation, without sanitization, escaping, or parameterization. Affected sinks include rooms.php (DELETE FROM Rooms WHERE ID = $_GET['ID'], unquoted numeric context), checkuser.php (WHERE Ext = '$_GET["Ext"]'), ec.php (date/extension parameters in a WHERE), checkin.php and wakeup.php ($_POST values into INSERT statements), bills.php ($_POST fields built into a WHERE clause), and rates.php and checkout.php. A remote, unauthenticated attacker can inject arbitrary SQL to read, modify, or delete arbitrary records in the backing database (e.g. rooms.php?ID=1 OR 1=1 deletes all room records). Note: queries run via the legacy mysql_* extension, which does not permit stacked statements.
Articles & Coverage 1
Executive ViewAI
PIAF-HMS (PBX-In-A-Flash Hotel Management System) by claudiopizzillo contains a critical unauthenticated SQL injection vulnerability (CVE-2026-54419, CVSS 9.3) enabling remote database compromise. No public exploit has been identified, but the technical impact is rated total and automatable-any network-exposed deployment faces immediate risk of full compromise including data theft, modification, and deletion. The product ships with no built-in authentication, meaning attackers require no credentials to exploit this vulnerability.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict PIAF-HMS network access to trusted internal networks only-block all direct internet exposure; (2) Deploy Web Application Firewall (WAF) with SQL injection detection and blocking rules; (3) Implement external authentication layer or reverse proxy to add access controls before traffic reaches the application; (4) Enable comprehensive database audit logging and real-time alerting on anomalous queries; (5) Establish data integrity monitoring to detect unauthorized modifications. Consider application shutdown as interim risk mitigation pending replacement solution.
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-37872
GHSA-733h-q99j-37gc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB