[SA21436] Heimdal setuid Security Issue

2006-08-10T00:00:00
ID SECURITYVULNS:DOC:13853
Type securityvulns
Reporter Securityvulns
Modified 2006-08-10T00:00:00

Description


Hardcore Disassembler / Reverse Engineer Wanted!

Want to work with IDA and BinDiff? Want to write PoC's and Exploits?

Your nationality is not important. We will get you a work permit, find an apartment, and offer a relocation compensation package.

http://secunia.com/hardcore_disassembler_and_reverse_engineer/


TITLE: Heimdal setuid Security Issue

SECUNIA ADVISORY ID: SA21436

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

CRITICAL: Less critical

IMPACT: Privilege escalation

WHERE: Local system

SOFTWARE: Heimdal 0.5.x http://secunia.com/product/3298/ Heimdal 0.6.x http://secunia.com/product/3299/ Heimdal 0.7.x http://secunia.com/product/7707/

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

The security issue is caused due to missing checks for whether the "setuid()" call has succeeded in the bundled rcp application. This may be exploited to perform certain actions with root privileges if the "setuid()" call fails due to e.g. resource limits.

NOTE: This is currently only known to affect the Linux and AIX operating systems.

Successful exploitation requires that "rcp" is installed setuid root (not installed by default).

It has also been reported that similar missing checks exists for the "seteuid()" call in some bundled applications. However, this is currently not known to affect any operating systems.

The security issue has been reported in version 0.7.2. Prior versions may also be affected.

SOLUTION: Apply patch for version 0.7.2: ftp://ftp.pdc.kth.se/pub/heimdal/src/heimdal-0.7.2-setuid-patch.txt

PROVIDED AND/OR DISCOVERED BY: The vendor credits: * Tom Yu, MIT * Michael Calmer and Marcus Meissner, SUSE

ORIGINAL ADVISORY: http://www.pdc.kth.se/heimdal/advisory/2006-08-08/


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.