SecurityContext

CVE-2024-42558: Hotel Management System - SQL Injection

  • Cve: CVE-2024-42558
  • Name: Hotel Management System - SQL Injection
  • Description: Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the book_id parameter at admin_modify_room.php.
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
  • Remediation: Apply parameterized queries or input validation to sanitize book_id parameter.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00724
  • Epss percentile: 0.54988
  • Assignee: [email protected]
  • Published at: 2024-08-20T13:15:06Z
  • Age in days: 826
  • Modified at: 2026-06-17T07:49:38Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-42558
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Public exploits

UrlSourceAdded date
https://gist.github.com/topsky979/9651b4977e86f5b1bcae7a8959ff3342nvd2024-08-20

References

UrlSourceTags
https://gist.github.com/topsky979/9651b4977e86f5b1bcae7a8959ff3342nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
vaibhavverma9999:hotel_management_system<= 2020-06-10nonvd/v1/products/vaibhavverma9999/hotel_management_system

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-08-20
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts