Title: KDE2 KDEUtils KLPRFax_Filter Insecure Temporary File Creation Vulnerability
Severity: MODERATE
Description:
KDE2 is a freely available, open source X Window System manager. It is maintained by the KDE Project.
A problem with a program included with the KDE Utils package could make it possible for a local user to launch a symbolic link attack. The problem is in the klprfax_filter program.
klprfax_filter is a program included with KDE2 for fax functionality. klprfax_filter works by adding a printer as a fax system, then putting the output of a print job through a filter to fax.
The problem is in the creation of files in the temporary directory. The program uses the following code:
cat >/tmp/klprfax.$$
/opt/kde/bin/klprfax --fax /tmp/klprfax.$$ >/tmp/klprfax.filter 2>&1
rm -f /tmp/klprfax.$$
The program does not check for the existance of the klprfax.filter file prior to attempting to send input to it. This makes it possible for a local user to create a symbolic link to any file that is write-accessible by the user executing klprfax_filter, and overwrite the contents of the file.
This could result in a local user overwriting files owned by other users, and potentially elevated privileges.
Affected Products:
- KDE KDEUtils 2.2.0
- KDE KDEUtils 2.2.0 -2
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.