Title: mcrypt src/extra.c check_file_head() Function Encrypted File Header Handling Overflow
Info
Disclosure
Sep 07, 2012
Discovery
Unknown
Dates
Exploit
Sep 06, 2012
Solution
Unknown
Description
mcrypt is prone to an overflow condition. The check_file_head() function of src/extra.c fails to properly sanitize user-supplied input resulting in a stack-based buffer overflow. With a specially crafted encrypted file header, a context-dependent attacker can potentially execute arbitrary code.
Classification
Location:
Context Dependent
Attack Type:
Input Manipulation
Impact:
Loss of Integrity
Solution:
Solution Unknown
Exploit:
Exploit Public
Disclosure:
Third-party Verified,
Uncoordinated Disclosure
Solution
OSVDB is not aware of a solution for this vulnerability.