CVE-2024-25318 SQL injection in n/a
An attacker can execute arbitrary SQL commands via the 'pid' parameter in the print.php script, potentially accessing or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-25318?
CVE-2024-25318 is a high-severity SQL injection vulnerability in n/a, published on 9 Feb 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Code-projects Hotel Managment System 1.0 allows SQL Injection via the 'pid' parameter in Hotel/admin/print.php?pid=2.
Weakness: CWE-89
Which versions are affected by CVE-2024-25318?
It affects 1 product.
Products include Hotel Management System Project Hotel Management System.
How do I fix CVE-2024-25318?
No fix has been published for CVE-2024-25318 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-2024-25318 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25318 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-5fm6-5hv6-6fjv.