File ELF Header buffer overflow
| file-elf-header-bo (18368) |
Description:
file(1) is vulnerable to a stack-based buffer overflow in the ELF Header parsing code. A remote attacker could exploit this vulnerability to overflow a buffer and execute arbitrary code on the system with privileges of the file(1) user.
Platforms Affected:
- Christos Zoulas, file(1) 4.0 to 4.11
- Gentoo, Linux
- Trustix, Enterprise Server 2
- Trustix, Secure Linux 2.0
- Trustix, Secure Linux 2.1
- Trustix, Secure Linux 2.2
Remedy:
For Trustix Secure Linux:
Upgrade to the latest file package, as listed below. Refer to Trustix Secure Linux Security Advisory #2004-0063 for more information. See References.
Trustix Secure Linux 2.1 and 2.2: 4.12-1tr or later
Consequences:
Gain Access
References:
- Freshmeat.net Web site, file at http://freshmeat.net/projects/file/?topic_id=861.
- Trustix Secure Linux Advisory #2004-0063, Multiple bugfixes at http://www.linuxsecurity.com/content/view/106933/109/.
- BID-11771: File ELF Header Unspecified Buffer Overflow Vulnerability
- CVE-2004-1304: Stack-based buffer overflow in the ELF header parsing code in file before 4.12 allows attackers to execute arbitrary code via a crafted ELF file.
- GLSA-200412-07: file: Arbitrary code execution
- SECTRACK ID: 1012433: `File` Stack Overflow in Processing ELF Headers May Permit Arbitrary Code Execution
Reported:
Nov 29, 2004
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
