Secunia Logo
Netsikker nu! 2008
 
BitchX "e_hostname()" Insecure Temporary File Creation
Secunia Advisory: SA27463
Release Date: 2007-11-05
Last Update: 2007-11-07
Popularity: 3,523 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. WinFTP "PASV" Denial of Service Vulnerability // 45 views
2. My PHP Indexer "d" File Disclosure Vulnerability // 40 views
3. Real Estates Classifieds "cat" SQL Injection Vulnerability // 40 views
4. Joomla Ignite Gallery Component "gallery" SQL Injection // 39 views
5. Ayco Okul "linkid" SQL Injection Vulnerability // 39 views
6. NewLife Blogger "nlb3" SQL Injection Vulnerability // 36 views
7. ScriptsEz Mini Hosting Panel "dir" File Disclosure // 32 views
8. Joomla OwnBiblio Component "catid" SQL Injection // 31 views
9. Joomla Mad4Joomla Mailforms Component "jid" SQL Injection // 28 views
10. Subdreamer Light Global Variables SQL Injection Vulnerability // 25 views