BitchX e_hostname() symlink
| bitchx-ehostname-symlink (38262) |
Description:
BitchX could allow a local attacker to launch a symlink attack. The e_hostname() function in the commands.c file creates insecure temporary files. A local attacker could exploit this vulnerability by creating a symbolic link from a temporary file to other files on the system using the insecure tmpnam() function, which would allow the attacker to overwrite arbitrary files on the system with the privileges of the victim.
Platforms Affected:
- Colten Edwards, BitchX 1.1a
- Gentoo, Linux
Remedy:
Apply the appropriate patch for your system. See References.
Consequences:
File Manipulation
References:
- BitchX Web site, BitchX at http://www.bitchx.com/.
- Debian Bug report logs - #449149, insecure temporary file creation at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449149.
- slackware-security Mailing List, Sun, 26 Apr 2009 15:51:05 -0700 (PDT), bitchx EOLed in Slackware (SSA:2009-116-02) at http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.285737.
- BID-26326: BitchX E_HOSTNAME Function Insecure Temporary File Creation Vulnerability
- CVE-2007-5839: The e_hostname function in commands.c in BitchX 1.1a allows local users to overwrite arbitrary files via a symlink attack on temporary files when using the (1) HOSTNAME or (2) IRCHOST command.
- GLSA-200807-12: BitchX: Multiple vulnerabilities
- SA27463: BitchX "e_hostname()" Insecure Temporary File Creation
- SA31180: Gentoo BitchX Multiple Vulnerabilities
- SA34870: Slackware bitchx Multiple Vulnerabilities
- VUPEN/ADV-2007-3714: BitchX e_hostname() Insecure Temporary File Creation Vulnerability
Reported:
Nov 03, 2007
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 xforce@iss.net
