Ethereal capture.c function could allow an attacker to gain root access
| ethereal-dev-capturec-root (3334) |
Description:
Ethereal could allow an attacker to create a link to the /etc/passwd file. The capture.c function calls a tempnam to create a temporary name for the capture file. The tempnam then calls the pcap_dump file or some other routine to open the file. The pcap_dump file is not opened with 0_EXCL, which allows an attacker to create a link to /etc/passed with the correct pattern to gain root access.
Consequences:
Gain Access
Remedy:
No remedy available as of June 1, 2013.
References:
- Ethereal Mailing List, Fri, 30 Jul 1999 11:32:21 -0500: [ethereal-dev] Security race in ethereal leading to root access.
- CVE-1999-1227: Ethereal allows local users to overwrite arbitrary files via a symlink attack on the packet capture file.
- OSVDB ID: 4485: Ethereal Packet Capture Symlink Arbitrary File Overwrite
Platforms Affected:
- Unix Unix
Reported:
Jul 30, 1999
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
