CVE-2023-50867CWE-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 unvalidated username can unleash chaos! The Travel Website v1.0 is wide open to multiple SQL injection attacks, letting an attacker bypass authentication with devastating ease. 🔥 It's like a hotel that lets anyone book a room without checking their ID — all it takes is the right name on the form, and suddenly unauthorized guests can check in! An attacker could wield this vulnerability to execute malicious SQL queries, accessing sensitive data, modifying user accounts, or even wiping the entire database clean. The consequences? An absolute nightmare for any travel website, risking customer trust and financial loss.

Put simply

It's like a hotel that lets anyone book a room without checking their ID — all it takes is the right name on the form, and suddenly unauthorized guests can check in! This vulnerability arises from the 'username' parameter in the signupAction.php resource, which fails to properly validate input. Malicious strings sent to the database can manipulate queries and cause unwanted actions, effectively bypassing security controls.

What to do

An attacker could wield this vulnerability to execute malicious SQL queries, accessing sensitive data, modifying user accounts, or even wiping the entire database clean. The consequences? An absolute nightmare for any travel website, risking customer trust and financial loss. Immediate action is crucial: validate the 'username' parameter input to ensure only safe characters are accepted, and update to the patched version once available. Additionally, consider implementing prepared statements to safeguard your database against future SQL injections. You've got this! By taking these steps, you'll fortify your application against SQL injection attacks and keep your users safe. 🛡️

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