{"id":"CVE-2024-12186","state":"PUBLISHED","title":"code-projects Hotel Management System Available Room hotelnew.c stack-based overflow","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.","publishedAt":"2024-12-04T23:31:06.740Z","updatedAt":"2024-12-05T15:22:39.219Z","severity":{"score":4.8,"label":"Medium","version":"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","source":"VulDB"},"assigner":"VulDB","products":["code-projects Hotel Management System"],"affected":[{"vendor":"code-projects","product":"Hotel Management System","versions":[{"version":"1.0","status":"affected"}],"modules":["Available Room Handler"]}],"references":["https://vuldb.com/?id.286907","https://vuldb.com/?ctiid.286907","https://vuldb.com/?submit.454846","https://github.com/1zzan/cve/blob/main/STACK-OVERFLOW2.md","https://code-projects.org/"],"weaknesses":["CWE-121","CWE-119"],"ingestedAt":"2026-10-29T20:06:50.777Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/12xxx/CVE-2024-12186.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-12186","state":"PUBLISHED","datePublished":"2024-12-04T23:31:06.740Z","dateUpdated":"2024-12-05T15:22:39.219Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2024-12-04T16:35:23.449Z"},"containers":{"cna":{"title":"code-projects Hotel Management System Available Room hotelnew.c stack-based overflow","descriptions":[{"lang":"en","value":"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."},{"lang":"de","value":"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."}],"affected":[{"vendor":"code-projects","product":"Hotel Management System","versions":[{"version":"1.0","status":"affected"}],"modules":["Available Room Handler"]}],"references":[{"url":"https://vuldb.com/?id.286907","name":"VDB-286907 | code-projects Hotel Management System Available Room hotelnew.c stack-based overflow","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.286907","name":"VDB-286907 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.454846","name":"Submit #454846 | code-projects hotel-management-system-in-c v1.0 Stack-based Buffer Overflow","tags":["third-party-advisory"]},{"url":"https://github.com/1zzan/cve/blob/main/STACK-OVERFLOW2.md","tags":["exploit"]},{"url":"https://code-projects.org/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":4.8,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":5.3,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":5.3,"vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":4.3,"vectorString":"AV:L/AC:L/Au:S/C:P/I:P/A:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","type":"CWE","lang":"en","description":"Stack-based Buffer Overflow"}]},{"descriptions":[{"cweId":"CWE-119","type":"CWE","lang":"en","description":"Memory Corruption"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2024-12-04T23:31:06.740Z"},"timeline":[{"time":"2024-12-04T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2024-12-04T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2024-12-04T17:40:30.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"zzan (VulDB User)","type":"reporter"}]},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"code-projects","product":"hotel_management_system","defaultStatus":"unknown","versions":[{"version":"1.0","status":"affected"}],"cpes":["cpe:2.3:a:code-projects:hotel_management_system:1.0:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-05T15:22:07.812179Z","id":"CVE-2024-12186","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-05T15:22:39.219Z"}}]}}}