GNATS Arbitrary File Overwrite Security Issue
Secunia Advisory: SA15963
Release Date: 2005-07-07
Last Update: 2006-01-31
Popularity: 4,913 views

Critical:
Less critical
Impact: Security Bypass
Manipulation of data
System access
Where: Local system
Solution Status: Unpatched

Software:GNATS 3.x
GNATS 4.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-2180


Description:
A security issue has been reported in GNATS, which can be exploited by malicious, local users to overwrite arbitrary files on a vulnerable system.

The security issue is caused due to "gen-index" being installed with suid root when compiled from sources and when the "gnat" user and group do not exist. This can be exploited by malicious users to overwrite arbitrary files by running "gen-index" with the filename to overwrite as the parameter to the "-o" argument.

The security issue has been reported in version 4.0 and 4.1.0. Prior versions might also be affected.

Solution:
Remove the suid bits from "gen-index".

Provided and/or discovered by:
pi3ki31ny

Changelog:
2006-01-31: Added CVE reference.

Original Advisory:
http://www.pi3.int.pl/adv/gnats.txt


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. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 62 views
2. Cisco ASA and PIX Security Appliances Multiple Vulnerabilities // 57 views
3. HP OpenView Select Identity Connectors Information Disclosure // 53 views
4. Drupal Content Construction Kit Script Insertion Vulnerabilities // 44 views
5. VLC Media Player Multiple Vulnerabilities // 33 views
6. Opera Multiple Vulnerabilities // 32 views
7. Microsoft Office Two Code Execution Vulnerabilities // 31 views
8. CS-Cart "cs_cookies" SQL Injection Vulnerability // 31 views
9. Zeroboard Multiple Vulnerabilities // 28 views
10. Gentoo update for yelp // 28 views