CVE-2023-50863CWE-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 sneaky SQL injection lurks in Travel Website v1.0, and it’s as easy as sending a crafty hotel ID! Think of it like a customer slipping a forgery into the receipt printer—the system just churns out the document without checking if it's legit. This flaw allows attackers to inject malicious SQL code behind the scenes without anyone ever knowing! If exploited, this vulnerability could allow an attacker to manipulate the database, potentially accessing sensitive information, altering records, or even deleting data entirely. The consequences could be absolutely devastating for both the website and its users, undermining trust and leading to financial loss.

Put simply

Think of it like a customer slipping a forgery into the receipt printer—the system just churns out the document without checking if it's legit. This flaw allows attackers to inject malicious SQL code behind the scenes without anyone ever knowing! The issue stems from the 'hotelIDHidden' parameter in the generateReceipt.php file, which fails to validate input properly. This oversight allows attackers to input unfiltered data, leading to SQL injection attacks that can compromise the database.

What to do

If exploited, this vulnerability could allow an attacker to manipulate the database, potentially accessing sensitive information, altering records, or even deleting data entirely. The consequences could be absolutely devastating for both the website and its users, undermining trust and leading to financial loss. To secure your application, patch immediately to the latest version of Travel Website, ensuring input validation is implemented on the 'hotelIDHidden' parameter. Additionally, applying prepared statements for database queries will significantly reduce the risk of SQL injection. Consider a thorough audit of other input parameters as a precaution. You've got this! Follow these steps, and you'll be back on the road to security in no time. 🛡️

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