{"id":"CVE-2024-12186","aliases":["CVE-2024-12186"],"related":[],"kind":"vulnerability","state":"published","title":"code-projects Hotel Management System Available Room hotelnew.c stack-based overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"Eine problematische Schwachstelle wurde in code-projects Hotel Management System 1.0 gefunden. Dies betrifft einen unbekannten Teil der Datei hotelnew.c der Komponente Available Room Handler. Mittels dem Manipulieren des Arguments admin_entry mit unbekannten Daten kann eine stack-based buffer overflow-Schwachstelle ausgenutzt werden. Umgesetzt werden muss der Angriff lokal. Der Exploit steht zur öffentlichen Verfügung.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado una vulnerabilidad en code-projects Hotel Management System 1.0 y se ha clasificado como problemática. Este problema afecta a algunos procesos desconocidos del archivo hotelnew.c del componente Available Room Handler. La manipulación del argumento admin_entry provoca un desbordamiento del búfer basado en la pila. Se requiere acceso local para abordar este ataque. El exploit se ha hecho público y puede utilizarse.","source":"nvd"}],"published":"2024-12-04T23:31:06.740Z","modified":"2026-06-17T06:59:12.447Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-119","CWE-121","CWE-787"],"affected":[{"ranges":[{"version":"1.0","status":"affected"}],"vendor":"code-projects","product":"Hotel Management System","source":"cvelist"},{"ranges":[{"version":"1.0","status":"affected"}],"vendor":"code-projects","product":"hotel_management_system","cpe":"cpe:2.3:a:code-projects:hotel_management_system:1.0:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","version":"1.0"}],"vendor":"code-projects","product":"hotel_management_system","cpe":"cpe:2.3:a:code-projects:hotel_management_system:1.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.286907","tags":["technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?ctiid.286907","tags":["permissions-required","signature"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?submit.454846","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/1zzan/cve/blob/main/STACK-OVERFLOW2.md","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://code-projects.org/","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["zzan (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-12-05T15:22:07.812Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-12186","url":"https://www.cve.org/CVERecord?id=CVE-2024-12186","licence":"CVE Terms of Use","modified":"2024-12-05T15:22:39.219Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-12186","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12186","licence":"Public domain","modified":"2026-06-17T06:59:12.447Z"}],"updatedAt":"2026-11-25T22:58:49.719Z","epss":{"score":0.00346,"percentile":0.30133,"date":"2026-12-01T12:00:22.000Z"}}