CVE-2023-50865CWE-89

Travel Website v1.0 - Multiple Unauthenticated SQL Injections (SQLi)

Critical · published January 4, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
51.5
In the wild
Unconfirmed
What it is

🚨 A simple, unfiltered query is all it takes to unleash chaos on a travel website! Think of it like a hotel receptionist who doesn't bother to check what guests are saying when they request a reservation — just accepting any wild story without verification, leading to a potential overflow of unwanted guests! An attacker could exploit this vulnerability to manipulate the database, potentially gaining access to sensitive information or even altering it. It's a recipe for disaster, with the possibility of data breaches that could leave customers in the lurch and harm the reputation of the business.

Put simply

Think of it like a hotel receptionist who doesn't bother to check what guests are saying when they request a reservation — just accepting any wild story without verification, leading to a potential overflow of unwanted guests! This critical SQL Injection vulnerability exists because the 'city' parameter in hotelSearch.php fails to validate input, allowing unfiltered data to be sent to the database and executed, which can compromise the entire system.

What to do

An attacker could exploit this vulnerability to manipulate the database, potentially gaining access to sensitive information or even altering it. It's a recipe for disaster, with the possibility of data breaches that could leave customers in the lurch and harm the reputation of the business. Immediate action is needed: validate and sanitize all user inputs, especially in the 'city' parameter, and apply patches to version 1.0.0 or later that address this vulnerability. Consider using prepared statements to prevent malicious queries from executing. You've got this! By taking these steps, you can secure the website and protect your customers. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00672 · 51.5th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2024-01-04T14:32Z
EPSS history
Timeline
  • 04 JAN 14:32Z
    Travel Website v1.0 - Multiple Unauthenticated SQL Injections (SQLi)
    cvelistv5