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.
*CVSS:
| Base Score: | 3.3 |
| Access Vector: | Local |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | None |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 3.1 |
| Exploitability: | High |
| Remediation Level: | Unavailable |
| Report Confidence: | Uncorroborated |
Consequences:
File Manipulation
Remedy:
Apply the appropriate patch for your system. See References.
References:
- BitchX Web site: BitchX.
- Debian Bug report logs - #449149: insecure temporary file creation.
- slackware-security Mailing List, Sun, 26 Apr 2009 15:51:05 -0700 (PDT): bitchx EOLed in Slackware (SSA:2009-116-02).
- 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
Platforms Affected:
- Colten Edwards BitchX 1.1a
- Gentoo Linux
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
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
