CVE-2024-12186 code-projects Hotel Management System Available Room hotelnew.c stack-based overflow
A local attacker can trigger a stack-based buffer overflow in the Available Room Handler to potentially execute arbitrary code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-12186?
CVE-2024-12186 is a medium-severity memory corruption vulnerability in code-projects Hotel Management System, published on 4 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in code-projects Hotel Management System 1.0 and classified as problematic. This issue affects some unknown processing of the file hotelnew.c of the component Available Room Handler. The manipulation of the argument admin_entry leads to stack-based buffer overflow. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2024-12186?
It affects 1 product.
Products include Code-Projects Hotel Management System.
How do I fix CVE-2024-12186?
No fix has been published for CVE-2024-12186 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-12186 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12186 exists.
Other vulnerabilities in code-projects Hotel Management System
Sources
Also known as GHSA-5f45-h685-7ww2.