CVE-2024-42558

Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the book_id parameter at admin_modify_room.php

Critical · published August 20, 2024

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

🚨 A SQL injection vulnerability lurking in the Hotel Management System could let attackers rewrite your data like an unwelcome guest changing their reservation! 🔥 Think of it like a hotel booking system where anyone can slip in and change guest details without a keycard or reservation. An attacker could strut in and modify or erase bookings as easily as swapping names on a clipboard. An attacker could exploit this vulnerability to gain unauthorized access, modify room bookings, or even delete critical data, wreaking havoc on your entire system. With a CVSS score of 9.8, the potential damage is absolutely devastating!

Put simply

Think of it like a hotel booking system where anyone can slip in and change guest details without a keycard or reservation. An attacker could strut in and modify or erase bookings as easily as swapping names on a clipboard. This SQL injection vulnerability resides in the 'book_id' parameter of admin_modify_room.php, allowing an attacker to manipulate SQL queries and execute arbitrary commands on the database.

What to do

An attacker could exploit this vulnerability to gain unauthorized access, modify room bookings, or even delete critical data, wreaking havoc on your entire system. With a CVSS score of 9.8, the potential damage is absolutely devastating! Immediately patch to the latest version of the Hotel Management System, validate and sanitize all user inputs, and implement prepared statements to safeguard against SQL injections. Don't wait; secure your database now! You've got this! Follow these steps, and you'll have your system locked down 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.00724 · 53.5th percentile
Published
2024-08-20T00:00Z
EPSS history
Timeline
  • 20 AUG 00:00Z
    Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the book_id parameter at admin_modify_room.php
    cvelistv5