CVE-2020-21012 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via the email parameter in the Hotel and Lodge Management System, potentially accessing or modifying data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-21012?
CVE-2020-21012 is a critical SQL injection vulnerability in n/a, published on 1 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2020-21012?
It affects 1 product.
Products include Nikhil-Bhalerao Hotel and Lodge Management System.
How do I fix CVE-2020-21012?
No fix has been published for CVE-2020-21012 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2020-21012 being exploited?
There is no known exploitation of CVE-2020-21012 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2025-11471 SourceCodester Hotel and Lodge Management System edit_customer.php sql injection
- CVE-2025-11472 SourceCodester Hotel and Lodge Management System edit_room.php sql injection
- CVE-2025-11473 SourceCodester Hotel and Lodge Management System edit_curr.php sql injection
- CVE-2025-11397 SourceCodester Hotel and Lodge Management System login.php sql injection
- CVE-2025-11469 SourceCodester Hotel and Lodge Management System save_customer.php sql injection
Sources
Also known as GHSA-gxxh-8wpx-72mr.