CVE-2019-8393

Hotels_Server through 2018-11-05 has SQL Injection via the API because the controller/api/login.php telephone parameter is mishandled

published February 17, 2019

CVSS
—
EPSS
1%
Percentile
66.2
In the wild
Unconfirmed
What it is

⚠️ A telephone parameter mishandled in the Hotels_Server API could let attackers dial into your database! 📞 Think of it like a hotel receptionist who takes calls from guests without verifying their identity — any caller can request sensitive information without a proper check. This vulnerability lets attackers sneak potentially harmful SQL commands in through an unguarded entry point. If exploited, an attacker could manipulate the database, leading to unauthorized access, data leakage, or even malicious data modification. This could result in a significant breach of customer data or disruption of services, impacting both the hotel’s reputation and operational integrity.

Put simply

Think of it like a hotel receptionist who takes calls from guests without verifying their identity — any caller can request sensitive information without a proper check. This vulnerability lets attackers sneak potentially harmful SQL commands in through an unguarded entry point. This SQL Injection vulnerability occurs in the controller/api/login.php file due to improper handling of the telephone parameter, enabling attackers to inject malicious SQL queries into the API requests.

What to do

If exploited, an attacker could manipulate the database, leading to unauthorized access, data leakage, or even malicious data modification. This could result in a significant breach of customer data or disruption of services, impacting both the hotel’s reputation and operational integrity. To protect against this vulnerability, ensure to sanitize and validate all input data, especially the telephone parameter. Implement prepared statements to avoid SQL injection risks and regularly review your API for similar flaws. Consider upgrading to the latest version of the Hotels_Server package if updates are available. You’ve got this! Implement these safeguards and keep your hotel’s data secure! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01135 · 66.2th percentile
Published
2019-02-17T15:00Z
EPSS history
Timeline
  • 17 FEB 15:00Z
    Hotels_Server through 2018-11-05 has SQL Injection via the API because the controller/api/login.php telephone parameter is mishandled
    cvelistv5