| 제목 | HOTEL_MANAGEMENT_SYSTEM stack overflow in edit function v1.0 Buffer Overflow |
|---|
| 설명 | The `edit()` function contains **two critical buffer overflow vulnerabilities** due to unsafe usage of:
1. `scanf("%[^\n]", roomnumber)` (no length restriction)
2. `gets(s.roomnumber)` (deprecated and highly unsafe)
An attacker can exploit these to **overwrite adjacent memory**, leading to **arbitrary code execution (RCE)** or **program crash (DoS)**.
|
|---|
| 원천 | ⚠️ https://github.com/zzzxc643/cve/blob/main/HOTEL_MANAGEMENT_SYSTEM.md |
|---|
| 사용자 | zzzxc (UID 81185) |
|---|
| 제출 | 2025. 04. 29. AM 07:25 (12 개월 ago) |
|---|
| 모더레이션 | 2025. 05. 09. PM 02:44 (10 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 308216 [code-projects Hotel Management System 1.0 Edit Room edit roomnumber 메모리 손상] |
|---|
| 포인트들 | 19 |
|---|