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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html | vendor advisory |
http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html | vendor advisory |
http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html | exploit |
http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html | vendor advisory |
http://www.openwall.com/lists/oss-security/2012/09/06/4 | mailing list |
http://secunia.com/advisories/51010 | third party advisory |
http://www.securitytracker.com/id?1027532 | vdb entry |
http://secunia.com/advisories/50507 | third party advisory vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=855029 |