Vulnerability identifier: #VU43310
Vulnerability risk: Medium
CVSSv4.0: 5.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green]
CVE-ID:
CWE-ID:
CWE-121
Exploitation vector: Network
Exploit availability: Yes
Vulnerable software:
mcrypt
Other software /
Other software solutions
Vendor: imipak
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.
Mitigation
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.
Vulnerable software versions
mcrypt: 2.6.4 - 2.6.7
External links
https://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html
https://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html
https://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html
https://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html
https://secunia.com/advisories/50507
https://secunia.com/advisories/51010
https://www.openwall.com/lists/oss-security/2012/09/06/4
https://www.securitytracker.com/id?1027532
https://bugzilla.redhat.com/show_bug.cgi?id=855029
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.