OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA18497] Serial Line Sniffer "HOME" Environment Variable Buffer Overflow

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Mon Jan 16 2006 - 09:32:04 CST


TITLE:
Serial Line Sniffer "HOME" Environment Variable Buffer Overflow

SECUNIA ADVISORY ID:
SA18497

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

CRITICAL:
Less critical

IMPACT:
Privilege escalation

WHERE:
Local system

SOFTWARE:
Serial Line Sniffer (slsnif) 0.x
http://secunia.com/product/6832/

DESCRIPTION:
Sintigan has discovered a vulnerability in Serial Line Sniffer
(slsnif), which potentially can be exploited by malicious, local
users to gain escalated privileges.

The vulnerability is caused due to a boundary error in "readRC()" in
the handling of the "HOME" environment variable. This can be
exploited to cause a stack-based buffer overflow which potentially
allows arbitrary code execution.

Successful exploitation requires that slsnif is setuid root.

The vulnerability has been confirmed in version 0.4.4. Other versions
may also be affected.

SOLUTION:
Remove the suid bits from the binary.

PROVIDED AND/OR DISCOVERED BY:
Sintigan

ORIGINAL ADVISORY:
http://shellcoders.com/sintigan/slsnif-ploit.pl

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

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

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