Code-Projects Album Management System Stack-Based Buffer Overflow Vulnerability

Vulnerability

A critical stack-based buffer overflow vulnerability has been identified in Code-Projects Album Management System version 1.0. The issue arises in the 'searchalbum' function of the Search Albums component, where the 'scanf' function is used to read input into a fixed-size buffer without proper length validation. This vulnerability requires local access to exploit and could potentially lead to arbitrary code execution or a program crash.

Impact

Exploitation of this vulnerability causes a stack-based buffer overflow, which can lead to memory corruption, program crashes, or arbitrary code execution.

Reproduction

To reproduce this vulnerability, access the 'searchalbum' function in the application. When prompted, enter a payload that exceeds the buffer limit of 20 bytes. This can be done by inputting a string of characters that significantly surpass the allocated buffer size. After entering the payload, an 'EXCEPTION_ACCESS_VIOLATION' error will indicate that the buffer overflow has been successfully exploited, causing a crash.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
4.6
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.