Title: GTKDiskFree Insecure Temporary File Creation Vulnerability
Severity: MODERATE
Description:
GtkDiskFree is a program which shows free space on your mounted file systems; it is implemented utilizing the GTK+ library.
GtkDiskFree creates temporary files in an insecure manner. The issue exists in the 'src/mount.c' file. An attacker with local access could potentially exploit this issue to overwrite files in the context of the application. The vulnerability is due to the program creating temporary files with a static name in the '/tmp' directory.
A local attacker would most likely take advantage of this vulnerability by creating a malicious symbolic link in a directory where the temporary file will be created. When the program attempts to perform an operation on the temporary file, it will instead perform the operation on the file pointed to by the malicious symbolic link.
Exploitation would most likely result in loss of data or a denial of service if critical files are overwritten in the attack. Other attacks may be possible as well.
Affected Products:
- Debian Linux 3.1.0
- Debian Linux 3.1.0 alpha
- Debian Linux 3.1.0 amd64
- Debian Linux 3.1.0 arm
- Debian Linux 3.1.0 hppa
- Debian Linux 3.1.0 ia-32
- Debian Linux 3.1.0 ia-64
- Debian Linux 3.1.0 m68k
- Debian Linux 3.1.0 mips
- Debian Linux 3.1.0 mipsel
- Debian Linux 3.1.0 ppc
- Debian Linux 3.1.0 s/390
- Debian Linux 3.1.0 sparc
- Gentoo Linux
- GtkDiskFree GtkDiskFree 1.9.3
References:
- Gentoo: Bugzilla Bug 104565 - app-admin/gtkdiskfree <= 1.9.3 unsecure tmp file creation
- GtkDiskFree: GtkDiskFree Homepage
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.