Gửi #567110: HOTEL_MANAGEMENT_SYSTEM stack overflow in edit function v1.0 Buffer Overflowthông tin

tiêu đềHOTEL_MANAGEMENT_SYSTEM stack overflow in edit function v1.0 Buffer Overflow
Mô tả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)**.
Nguồn⚠️ https://github.com/zzzxc643/cve/blob/main/HOTEL_MANAGEMENT_SYSTEM.md
Người dùng
 zzzxc (UID 81185)
Đệ trình29/04/2025 07:25 (cách đây 1 Năm)
Kiểm duyệt09/05/2025 14:44 (10 days later)
Trạng tháiđược chấp nhận
Mục VulDB308216 [code-projects Hotel Management System 1.0 Edit Room edit roomnumber tràn bộ đệm]
điểm19

Do you need the next level of professionalism?

Upgrade your account now!