Kitware GCC-XML 'find_flags' Script Insecure Temporary File Creation Vulnerability
BID:36318
Info
Kitware GCC-XML 'find_flags' Script Insecure Temporary File Creation Vulnerability
| Bugtraq ID: | 36318 |
| Class: | Design Error |
| CVE: |
CVE-2008-4957 |
| Remote: | No |
| Local: | Yes |
| Published: | Aug 24 2008 12:00AM |
| Updated: | Sep 10 2009 10:31PM |
| Credit: | Dmitry E. Oboukhov |
| Vulnerable: |
Kitware GCC-XML 0.9 Gentoo Linux Debian Linux 4.0 sparc Debian Linux 4.0 s/390 Debian Linux 4.0 powerpc Debian Linux 4.0 mipsel Debian Linux 4.0 mips Debian Linux 4.0 m68k Debian Linux 4.0 ia-64 Debian Linux 4.0 ia-32 Debian Linux 4.0 hppa Debian Linux 4.0 armel Debian Linux 4.0 arm Debian Linux 4.0 amd64 Debian Linux 4.0 alpha Debian Linux 4.0 |
| Not Vulnerable: | |
Discussion
Kitware GCC-XML 'find_flags' Script Insecure Temporary File Creation Vulnerability
GCC-XML creates temporary files in an insecure manner.
An attacker with local access could potentially exploit this issue to perform symbolic-link attacks, overwriting arbitrary files in the context of the affected application.
Successfully mounting a symlink attack may allow the attacker to delete or corrupt sensitive files, which may result in a denial of service. Other attacks may also be possible.
GCC-XML creates temporary files in an insecure manner.
An attacker with local access could potentially exploit this issue to perform symbolic-link attacks, overwriting arbitrary files in the context of the affected application.
Successfully mounting a symlink attack may allow the attacker to delete or corrupt sensitive files, which may result in a denial of service. Other attacks may also be possible.
Exploit / POC
Kitware GCC-XML 'find_flags' Script Insecure Temporary File Creation Vulnerability
An attacker uses readily available commands to exploit this issue.
An attacker uses readily available commands to exploit this issue.
Solution / Fix
Kitware GCC-XML 'find_flags' Script Insecure Temporary File Creation Vulnerability
Solution:
Vendor updates are available. Please see the references for more information.
Solution:
Vendor updates are available. Please see the references for more information.
References
Kitware GCC-XML 'find_flags' Script Insecure Temporary File Creation Vulnerability
References:
References:
- GCC-XML Homepage (GCC-XML)
- The possibility of attack with the help of symlinks in some Debian packages (Dmitry E. Oboukhov)