File ELF Header Unspecified Buffer Overflow Vulnerability
BID:11771
Info
File ELF Header Unspecified Buffer Overflow Vulnerability
| Bugtraq ID: | 11771 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2004-1304 |
| Remote: | Yes |
| Local: | No |
| Published: | Nov 29 2004 12:00AM |
| Updated: | Jul 12 2009 08:06AM |
| Credit: | The individual or individuals responsible for disclosure of these issues are currently unknown; these issues were disclosed in the referenced Trustix advisory. |
| Vulnerable: |
Trustix Secure Linux 2.2 Trustix Secure Linux 2.1 Trustix Secure Linux 2.0 Trustix Secure Enterprise Linux 2.0 SeriousSam SeriousEngine Gentoo Linux file file 4.11 file file 4.10 file file 4.9 file file 4.8 file file 4.7 file file 4.6 file file 4.5 file file 4.4 file file 4.3 file file 4.2 file file 4.1 file file 4.0 |
| Not Vulnerable: |
file file 4.12 |
Discussion
File ELF Header Unspecified Buffer Overflow Vulnerability
The file command is affected by a buffer overflow vulnerability. This issue is due to a failure of the application to properly validate string lengths in the affected file prior to copying them into static process buffers.
An attacker may leverage this issue to execute arbitrary code with the privileges of a user that processes the malicious file with the affected utility. This may be leveraged to escalate privileges or to gain unauthorized access.
The file command is affected by a buffer overflow vulnerability. This issue is due to a failure of the application to properly validate string lengths in the affected file prior to copying them into static process buffers.
An attacker may leverage this issue to execute arbitrary code with the privileges of a user that processes the malicious file with the affected utility. This may be leveraged to escalate privileges or to gain unauthorized access.
Exploit / POC
File ELF Header Unspecified Buffer Overflow Vulnerability
Currently we are not aware of any exploits for these issues. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently we are not aware of any exploits for these issues. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
File ELF Header Unspecified Buffer Overflow Vulnerability
Solution:
Trustix linux has released advisory TSL-2004-0063 along with fixes dealing with this issue. Please see the referenced advisory for more information.
The vendor has released an upgrade dealing with this issue.
Gentoo Linux has released advisory GLSA 200412-07 to address this issue. Users of affected packages are urged to execute the following commands with superuser privileges:
emerge --sync
emerge --ask --oneshot --verbose ">=sys-apps/file-4.12"
Please see the referenced advisory for further information.
SUSE has released advisory SUSE-SR:2004:004 along with fixes dealing with this and other issues. Please see the referenced advisory for more information.
Trustix Secure Enterprise Linux 2.0
Trustix Secure Linux 2.1
Trustix Secure Linux 2.2
file file 4.0
file file 4.1
file file 4.10
file file 4.11
file file 4.2
file file 4.3
file file 4.4
file file 4.5
file file 4.6
file file 4.7
file file 4.8
file file 4.9
Solution:
Trustix linux has released advisory TSL-2004-0063 along with fixes dealing with this issue. Please see the referenced advisory for more information.
The vendor has released an upgrade dealing with this issue.
Gentoo Linux has released advisory GLSA 200412-07 to address this issue. Users of affected packages are urged to execute the following commands with superuser privileges:
emerge --sync
emerge --ask --oneshot --verbose ">=sys-apps/file-4.12"
Please see the referenced advisory for further information.
SUSE has released advisory SUSE-SR:2004:004 along with fixes dealing with this and other issues. Please see the referenced advisory for more information.
Trustix Secure Enterprise Linux 2.0
-
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/
Trustix Secure Linux 2.1
-
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/
Trustix Secure Linux 2.2
-
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.0
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.1
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.10
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.11
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.2
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.3
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
SuSE file-4.03-73.i586.patch.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/file-4.03-73.i586 .patch.rpm -
SuSE file-4.03-73.x86_64.patch.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/file-4.03-73. x86_64.patch.rpm -
SuSE file-4.03-73.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/file-4.03-73.i586 .rpm -
SuSE file-4.03-73.x86_64.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/file-4.03-73. x86_64.rpm -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.4
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.5
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.6
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.7
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
SuSE file-4.07-48.8.i586.patch.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/file-4.07-48.8.i5 86.patch.rpm -
SuSE file-4.07-48.8.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/file-4.07-48.8.i5 86.rpm -
SuSE file-4.07-48.8.x86_64.patch.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/file-4.07-48. 8.x86_64.patch.rpm -
SuSE file-4.07-48.8.x86_64.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/file-4.07-48. 8.x86_64.rpm -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.8
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
file file 4.9
-
file file-4.12.tar.gz
ftp://ftp.astron.com/pub/file/file-4.12.tar.gz -
SuSE file-4.09-4.2.x86_64.patch.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.2/rpm/x86_64/file-4.09-4.2 .x86_64.patch.rpm -
SuSE file-4.09-4.2.x86_64.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.2/rpm/x86_64/file-4.09-4.2 .x86_64.rpm -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.1 & Enterprise Server 2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/ -
Trustix file-devel-4.12-1tr.i586.rpm
Trustix Secure Linux 2.2
ftp://ftp.trustix.org/pub/trustix/updates/
References
File ELF Header Unspecified Buffer Overflow Vulnerability
References:
References:
- SeriousEngine Home Page (SeriousEngine.com)