5582 : IBM AIX lsfs Environment Path Local Privilege Escalation
Printer | http://osvdb.org/5582 | Email This | Edit Vulnerability

Views This Week

3

Views All Time

197

Info

Last Modified

about 1 year ago

Percent Complete

100%

Disclosure

Feb 23, 2001

Discovery

Unknown

Dates

Exploit

Feb 23, 2001

Solution

Unknown

Keywords

SUID PATH

Description

AIX contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when the command lsfs is installed with the SUID bit and calls commands modified by an attacker. This flaw may lead to a loss of confidentiality and/or integrity.

Classification

Location: Local Access Required
Attack Type: Input Manipulation, Other
Impact: Loss of Confidentiality, Loss of Integrity, Loss of Availability
Exploit: Exploit Available
Disclosure: OSVDB Verified

Technical

The lsfs command uses relative path environment variables to locate the lslv and grep commands. By manipulating these environment variables to point to a trojaned binary, an attacker can cause the lsfs command to run arbitrary code. By default the lsfs command is installed with the setuid bit set. This allows the trojaned binary to be run with root privelages.

Note that the lsfs command is not always installed with SUID bit on the above versions.

Solution

Apply APAR IY16909 patch or upgrade to AIX 5.1 as both have been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround:

Use the chmod -s command to remove the setuid bit from lsfs.

Products

International Business Machines Corporation
Watch-list
AIX
Watch-list
4.3.3
4.3.0
4.3.1
4.3.2

References

Credit

  • IBM - IBM

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use