Skip to main content

PIAF-HMS CVE-2026-54419

| EUVDEUVD-2026-37872 CRITICAL
SQL Injection (CWE-89)
2026-06-18 TuranSec GHSA-733h-q99j-37gc
9.3
CVSS 4.0 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Access
    Discover exposed PIAF-HMS host
  2. Delivery
    Identify vulnerable endpoint (e.g. rooms.php)
  3. Exploit
    Inject SQL payload via HTTP parameter
  4. Execution
    Exfiltrate or destroy database records
  5. Impact
    Pivot 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
No patch listed yet 0.6% 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 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)
v2 Jun 18, 2026 - 14:28 cvss changed CVSS 9.3

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.

v1 Jun 18, 2026 - 11:16 CVSS 9.8

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

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

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.

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 - 14:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 18, 2026 - 14:28 vuln.today
v2 - CVSS changed
CVSS changed
Jun 18, 2026 - 14:22 NVD
9.8 (CRITICAL) 9.3 (CRITICAL)
CVE Published
Jun 18, 2026 - 10:21 cve.org
CRITICAL 9.8

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

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.6%
Top 57% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

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 Yes
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
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

67
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: +20
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:claudiopizzillo:piaf-hms:*:*:*:*:*:*:*:*

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