OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA15963] GNATS Arbitrary File Overwrite Security Issue

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Thu Jul 07 2005 - 09:37:23 CDT


----------------------------------------------------------------------

Bist Du interessiert an einem neuen Job in IT-Sicherheit?

Secunia hat zwei freie Stellen als Junior und Senior Spezialist in IT-
Sicherheit:
http://secunia.com/secunia_vacancies/

----------------------------------------------------------------------

TITLE:
GNATS Arbitrary File Overwrite Security Issue

SECUNIA ADVISORY ID:
SA15963

VERIFY ADVISORY:
http://secunia.com/advisories/15963/

CRITICAL:
Less critical

IMPACT:
Security Bypass, Manipulation of data, System access

WHERE:
Local system

SOFTWARE:
GNATS 3.x
http://secunia.com/product/1751/
GNATS 4.x
http://secunia.com/product/1752/

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

ORIGINAL ADVISORY:
http://www.pi3.int.pl/adv/gnats.txt

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------