CVE-2019-18387 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via the id parameter in the Hotel and Lodge Management System, potentially accessing or modifying database contents.
- 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-2019-18387?
CVE-2019-18387 is a critical SQL injection vulnerability in n/a, published on 23 Oct 2019. 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 1.0 is vulnerable to unauthenticated SQL injection and can allow remote attackers to execute arbitrary SQL commands via the id parameter to the edit page for Customer, Room, Currency, Room Booking Details, or Tax Details.
Weakness: CWE-89
Which versions are affected by CVE-2019-18387?
It affects 1 product.
Products include Hotel and Lodge Management System Project Hotel and Lodge Management System.
How do I fix CVE-2019-18387?
No fix has been published for CVE-2019-18387 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-2019-18387 being exploited?
There is no known exploitation of CVE-2019-18387 in the wild and no public exploit code.
Sources
Also known as GHSA-x5wr-4whf-hp72.