medium6.8Public exploit code
CVE-2012-4409
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 c…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- mcrypt 2.6.8 - Stack Buffer Overflow (PoC)2012-11-26 · dos · linux · Verified
- mcrypt 2.5.8 - Local Stack Overflow2012-11-26 · local · linux · Verified
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| Mcrypt | Mcrypt | through 2.6.8 Versions 2.6.4, 2.6.5, 2.6.6, 2.6.7 |
Weakness classification
References
- NVD record
- CVE.org record
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html
- http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html
- http://secunia.com/advisories/50507
- http://secunia.com/advisories/51010
- http://www.openwall.com/lists/oss-security/2012/09/06/4
- http://www.securitytracker.com/id?1027532
- https://bugzilla.redhat.com/show_bug.cgi?id=855029
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html
- http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html
- http://secunia.com/advisories/50507
- http://secunia.com/advisories/51010
- http://www.openwall.com/lists/oss-security/2012/09/06/4
- http://www.securitytracker.com/id?1027532
- https://bugzilla.redhat.com/show_bug.cgi?id=855029