SecurityContext

CVE-2020-21012: Sourcecodester Hotel and Lodge Management System - SQL Injection

  • Cve: CVE-2020-21012
  • Name: Sourcecodester Hotel and Lodge Management System - SQL Injection
  • Description: Sourcecodester Hotel and Lodge Management System 2.0 is vulnerable to unauthenticated SQL injection and can allow remote attackers to execute arbitrary SQL commands via the email parameter to the edit page for Customer, Room, Currency, Room Booking Details, or Tax Details.
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
  • Remediation: Apply input validation and parameterized queries, update to the latest version if available.
  • 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.03501
  • Epss percentile: 0.89462
  • Assignee: [email protected]
  • Published at: 2021-10-01T19:15:06Z
  • Age in days: 1880
  • Modified at: 2026-10-22T16:11:42Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-21012
  • Nvd status: modified
  • 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://github.com/hitIer/web_test/tree/master/hotelnvd2021-10-01

References

UrlSourceTags
https://github.com/hitIer/web_test/tree/master/hotelnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nikhil-bhalerao:hotel_and_lodge_management_system= 2.0nonvd/v1/products/nikhil-bhalerao/hotel_and_lodge_management_system

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-10-01
  • 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