CVE-2023-50864CWE-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 single rogue character in the 'hotelId' parameter can unleash a torrent of unauthorized database access! ⚡ Think of it like a hotel receptionist who accepts any room number without checking if it even exists — it opens the door to chaos for anyone who walks in. With no validation, attackers can slip in whatever they want, completely bypassing security! An attacker could exploit this vulnerability to execute arbitrary SQL commands, allowing them to access, modify, or even delete sensitive data from the database. This means they could potentially steal customer information, alter bookings, or wreak havoc on the entire travel service — absolutely devastating!

Put simply

Think of it like a hotel receptionist who accepts any room number without checking if it even exists — it opens the door to chaos for anyone who walks in. With no validation, attackers can slip in whatever they want, completely bypassing security! This vulnerability stems from multiple Unauthenticated SQL Injection points in Travel Website v1.0, specifically in the 'hotelId' parameter of hotelDetails.php, which fails to properly validate input before sending it to the database.

What to do

An attacker could exploit this vulnerability to execute arbitrary SQL commands, allowing them to access, modify, or even delete sensitive data from the database. This means they could potentially steal customer information, alter bookings, or wreak havoc on the entire travel service — absolutely devastating! To secure your website, immediately update to the patched version of the software, implement input validation to sanitize the 'hotelId' parameter, and consider using prepared statements to protect against SQL injection. Regularly audit your database interactions for added security! You've got this! Follow these steps and you'll be well on your way to reclaiming your security hero status! 🛡️

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:31Z
EPSS history
Timeline
  • 04 JAN 14:31Z
    Travel Website v1.0 - Multiple Unauthenticated SQL Injections (SQLi)
    cvelistv5