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

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
13 780 over 8 years ago over 4 years ago 0 times 90%

Timeline

Disclosure Date Exploit Publish Date
2001-02-23 2001-02-23

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 Public
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.0
4.3.1
4.3.2
4.3.3

References

Credit

  • IBM - IBM

CVSSv2 Score

CVSSv2 Base Score = 4.6
Source: nvd.nist.gov | Generated: 2003-12-31 | Disagree?

Access_vector_0 Access_complexity_2 Authentication_2 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_1

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

Comments

No Comments.

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 2012 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use