KDE K-Mail File Creation Vulnerability
BID:300
Info
KDE K-Mail File Creation Vulnerability
| Bugtraq ID: | 300 |
| Class: | Origin Validation Error |
| CVE: | |
| Remote: | No |
| Local: | Yes |
| Published: | Jun 09 1999 12:00AM |
| Updated: | Jun 09 1999 12:00AM |
| Credit: | This vulnerability was discovered by Brian Mitchell <[email protected]>. |
| Vulnerable: |
Redhat Linux 6.0 KDE KDE 1.1.1 KDE KDE 1.1 Caldera OpenLinux 2.2 Caldera OpenLinux 1.3 Caldera kdenetwork 1.1.1 -1 |
| Not Vulnerable: |
Caldera kdenetwork 1.1.1 -2 |
Discussion
KDE K-Mail File Creation Vulnerability
KMail is a mail user agent that comes with the kdenetwork package, part of the K Desktop Environment. A vulnerability in the way KMail creates temporary files to save attachments may allow malicious users to overwrite any file that user running KMail has permissions to.
When viewing messages with attachments KMail creates a directory under /tmp in which to store the attachments with a predictable name of the form "kmail<pid of kmail>". KMail fails to verify whether the directory exists and follows symbolic links. This allows local attackers to create or overwrite files with contents they can select in any directory and/or file writable by the user running KMail.
KMail is a mail user agent that comes with the kdenetwork package, part of the K Desktop Environment. A vulnerability in the way KMail creates temporary files to save attachments may allow malicious users to overwrite any file that user running KMail has permissions to.
When viewing messages with attachments KMail creates a directory under /tmp in which to store the attachments with a predictable name of the form "kmail<pid of kmail>". KMail fails to verify whether the directory exists and follows symbolic links. This allows local attackers to create or overwrite files with contents they can select in any directory and/or file writable by the user running KMail.
References
KDE K-Mail File Creation Vulnerability
References:
References: