जमा करें #566526: MOVIE TICKET BOOKING SYSTEM Buffer Overflow in Password Authentication Function v1.0 Buffer Overflowजानकारी

शीर्षकMOVIE TICKET BOOKING SYSTEM Buffer Overflow in Password Authentication Function v1.0 Buffer Overflow
विवरणA stack-based buffer overflow vulnerability exists in the `changeprize` function of the `PRODUCT_MANAGEMENT_SYSTEM`. The vulnerability is caused by the use of `scanf("%s", &pass)` to read user input into a fixed-size buffer `pass[10]`, which can only safely hold 9 characters plus a null terminator. Since `scanf("%s")` does not enforce any length restriction, input of 10 or more bytes will overflow the buffer. This overflow can lead to memory corruption, overwriting the adjacent hard-coded password buffer `pak[10]`, and potentially tampering with the function’s return address depending on the stack layout. This flaw can be exploited to cause a denial of service (DoS) or execute arbitrary code.
स्रोत⚠️ https://github.com/zzzxc643/cve/blob/main/MOVIE_TICKET_BOOKING_SYSTEM.md
उपयोगकर्ता
 zzzxc (UID 81185)
सबमिशन28/04/2025 09:04 AM (1 वर्ष पहले)
संयम09/05/2025 01:41 PM (11 days later)
स्थितिप्रतिलिपि
VulDB प्रविष्टि306505 [code-projects Simple Movie Ticket Booking System 1.0 changeprize बफ़र ओवरफ़्लो]
अंक0

Do you know our Splunk app?

Download it now for free!