Secunia Logo
 
BitchX "e_hostname()" Insecure Temporary File Creation
Secunia Advisory: SA27463
Release Date: 2007-11-05
Last Update: 2007-11-07
Popularity: 3,772 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Unpatched

Software:BitchX 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-5839


Description:
A security issue has been reported in BitchX, which can be exploited by malicious, local users to perform certain actions with escalated privileges.

The security issue is caused due to the "e_hostname()" function creating a temporary file insecurely using the "tmpnam()" function when the user issues the "HOSTNAME" or the "IRCHOST" command. This can be exploited to overwrite arbitrary files on the local system with the privileges of the user running BitchX.

The security issue is reported in version 1.1a. Other versions may also be affected.

Solution:
Restrict access to trusted users only. Do not use the "HOSTNAME" and "IRCHOST" commands.

Provided and/or discovered by:
Nico Golde, Debian

Changelog:
2007-11-07: Added CVE reference.

Original Advisory:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449149


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 509 views
2. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 167 views
3. Linux Kernel PARISC "parisc_show_stack()" Denial of Service // 112 views
4. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 103 views
5. IBM HMC HTTP TRACE Response Cross-Site Scripting Weakness // 98 views
6. Apple QuickTime Multiple Vulnerabilities // 79 views
7. Adobe AIR Multiple Vulnerabilities // 60 views
8. Adobe Acrobat/Reader Multiple Vulnerabilities // 57 views
9. PHP ZipArchive::extractTo() Directory Traversal Vulnerability // 56 views
10. Nagios Unspecified CGI Vulnerability // 54 views