CVE-2025-15127CWE-74CWE-89sql-injection

CVE-2025-15127

High · published December 28, 2025

CVSS v3.1
7.3
EPSS
0%
Percentile
37.3
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection vulnerability lurks in the FantasticLBP Hotels_Server, and it can be triggered by simply manipulating the hotelId parameter! 😱 Think of it like a hotel receptionist who blindly accepts any room number without verifying if it exists—an open invitation for a rogue guest to snoop around. 🏨 This vulnerability allows attackers to execute arbitrary SQL commands which could lead to unauthorized access to sensitive data. While it’s classified as medium severity, the potential for data leaks or manipulation can still spell trouble for your hotel's reputation and customer trust!

Put simply

Think of it like a hotel receptionist who blindly accepts any room number without verifying if it exists—an open invitation for a rogue guest to snoop around. 🏨 The flaw in the /controller/api/Room.php file allows remote attackers to inject malicious SQL queries by manipulating the hotelId argument, which could compromise the database.

What to do

This vulnerability allows attackers to execute arbitrary SQL commands which could lead to unauthorized access to sensitive data. While it’s classified as medium severity, the potential for data leaks or manipulation can still spell trouble for your hotel's reputation and customer trust! To remediate this, ensure you implement proper input validation and parameterized queries to avoid SQL injection. Although there are no specific version updates, monitoring for patches or updates from the vendor is crucial. 🛡️ You've got this! Stay vigilant and follow these steps to secure your setup! 💪

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00442 · 37.3th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-12-28T13:15Z
Affected products (1)
ProductVersionsFixed in
fantasticlbp/hotels_server≤ 2019-03-23—
References (4)
EPSS history
Timeline
  • 28 DEC 08:02Z
    FantasticLBP Hotels_Server Room.php sql injection
    cvelistv5