file 'cdf_read_sat()' Buffer Overflow Vulnerability
BID:34745
Info
file 'cdf_read_sat()' Buffer Overflow Vulnerability
| Bugtraq ID: | 34745 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2009-1515 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 28 2009 12:00AM |
| Updated: | Jun 05 2009 04:29PM |
| Credit: | Sam Morris |
| Vulnerable: |
Mandriva Linux Mandrake 2009.1 x86_64 Mandriva Linux Mandrake 2009.1 file file 5.0 |
| Not Vulnerable: | |
Discussion
file 'cdf_read_sat()' Buffer Overflow Vulnerability
The 'file' command is prone to a heap-based buffer-overflow vulnerability because it fails to bounds-check user-supplied data before copying it into an insufficiently sized buffer.
Attackers can execute arbitrary code in the context of the affected application. Failed exploit attempts will result in a denial-of-service condition.
This issue affects file 5.0; other versions may also be affected.
The 'file' command is prone to a heap-based buffer-overflow vulnerability because it fails to bounds-check user-supplied data before copying it into an insufficiently sized buffer.
Attackers can execute arbitrary code in the context of the affected application. Failed exploit attempts will result in a denial-of-service condition.
This issue affects file 5.0; other versions may also be affected.
Exploit / POC
file 'cdf_read_sat()' Buffer Overflow Vulnerability
An attacker can exploit this issue by enticing an unsuspecting victim to open a malicious file using the affected command.
The following file was reported as a proof of concept that triggers the crash:
http://www.python.org/ftp/python/2.6.2/python-2.6.2.msi
An attacker can exploit this issue by enticing an unsuspecting victim to open a malicious file using the affected command.
The following file was reported as a proof of concept that triggers the crash:
http://www.python.org/ftp/python/2.6.2/python-2.6.2.msi
Solution / Fix
file 'cdf_read_sat()' Buffer Overflow Vulnerability
Solution:
Updates are available. Please see the references for more information.
Mandriva Linux Mandrake 2009.1
Mandriva Linux Mandrake 2009.1 x86_64
Solution:
Updates are available. Please see the references for more information.
Mandriva Linux Mandrake 2009.1
-
Mandriva file-5.03-2.1mdv2009.1.i586.rpm
http://www.mandriva.com/en/download/ -
Mandriva libmagic-devel-5.03-2.1mdv2009.1.i586.rpm
http://www.mandriva.com/en/download/ -
Mandriva libmagic-static-devel-5.03-2.1mdv2009.1.i586.rpm
http://www.mandriva.com/en/download/ -
Mandriva libmagic1-5.03-2.1mdv2009.1.i586.rpm
http://www.mandriva.com/en/download/ -
Mandriva python-magic-5.03-2.1mdv2009.1.i586.rpm
http://www.mandriva.com/en/download/
Mandriva Linux Mandrake 2009.1 x86_64
-
Mandriva file-5.03-2.1mdv2009.1.x86_64.rpm
http://www.mandriva.com/en/download/ -
Mandriva lib64magic-devel-5.03-2.1mdv2009.1.x86_64.rpm
http://www.mandriva.com/en/download/ -
Mandriva lib64magic-static-devel-5.03-2.1mdv2009.1.x86_64.rpm
http://www.mandriva.com/en/download/ -
Mandriva lib64magic1-5.03-2.1mdv2009.1.x86_64.rpm
http://www.mandriva.com/en/download/ -
Mandriva python-magic-5.03-2.1mdv2009.1.x86_64.rpm
http://www.mandriva.com/en/download/
References
file 'cdf_read_sat()' Buffer Overflow Vulnerability
References:
References: