CVE-2012-4409
Mcrypt vulnerability
Stack-based buffer overflow in the check_file_head function in extra.c in mcrypt 2.6.8 and earlier allows user-assisted remote attackers to execute arbitrary code via an encrypted file with a crafted header containing long salt data that is not properly handled during decryption.
Affected products
Mcrypt. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mcrypt runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/50507 · Vendor Advisory
- packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html · Exploit
- lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html
- lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html
- lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html
- secunia.com/advisories/51010
- www.openwall.com/lists/oss-security/2012/09/06/4
- www.securitytracker.com/id?1027532
- nvd.nist.gov/vuln/detail/CVE-2012-4409
- cve.org/CVERecord?id=CVE-2012-4409
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.