ID:4455 - Exploit for Stack-based buffer overflow in mcrypt - CVE-2012-4409

 
Main Vulnerability Database Exploits ID:4455 - Exploit for Stack-based buffer overflow in mcrypt - CVE-2012-4409

ID:4455 - Exploit for Stack-based buffer overflow in mcrypt - CVE-2012-4409

Published: August 11, 2020


Vulnerability identifier: #VU43310
Vulnerability risk: Medium
CVE-ID: CVE-2012-4409
CWE-ID: CWE-121
Exploitation vector: Remote access
Vulnerable software:
mcrypt

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the check_file_head function in extra.c when processing an encrypted file with a crafted header containing long salt data that is not properly handled during decryption. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.