High Severity
Published: Mar 2, 2024

Buffer Overflow in Legacy Server Application

Buffer overflow
Type
7.2
CVSS Score
159
Views
testuser
Author

Description

A stack-based buffer overflow vulnerability in the legacy server application allows local privilege escalation. The vulnerability exists in the configuration parser function.

Affected Systems

Legacy Server App 1.0-1.5, Windows Server 2016-2019

Proof of Concept

Security Warning

This code is provided for educational and research purposes only. Do not use against systems you do not own or have explicit permission to test.

Exploit Code
import struct

# Buffer overflow POC
buffer = "A" * 1024
ret_addr = struct.pack("<I", 0x41414141)
payload = buffer + ret_addr
print(f"Payload: {payload}")

Timeline

Discovered: Feb 25, 2024
Published: Mar 1, 2024