| 제목 | SourceCodester Simple Computer Store System v1.0 Buffer Overflow |
|---|
| 설명 | The program uses the unsafe gets() function to read input into the PC.RAM buffer, which is a fixed-size character array (char RAM[100]). Since gets() does not perform any bounds checking, providing more than 100 characters will overflow the buffer and overwrite adjacent memory, leading to a classic stack buffer overflow vulnerability.
An attacker can exploit this by crafting input that overwrites control data such as the return address, enabling arbitrary code execution or program crashes. |
|---|
| 원천 | ⚠️ https://github.com/byxs0x0/cve/issues/6 |
|---|
| 사용자 | wanglun (UID 73616) |
|---|
| 제출 | 2025. 05. 27. AM 04:11 (1 년도 ago) |
|---|
| 모더레이션 | 2025. 05. 28. AM 08:16 (1 day later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 310421 [SourceCodester Computer Store System 1.0 main.c Add laptopcompany/RAM/Processor 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|