AIX 'ps' Command Discloses Process Environment Variables to Local Users
|
|
SecurityTracker Alert ID: 1019265 |
|
SecurityTracker URL: http://securitytracker.com/id/1019265
|
|
CVE Reference:
CVE-2008-0589
(Links to External Site)
|
Updated: Feb 7 2008
|
Original Entry Date: Jan 24 2008
|
Impact:
Disclosure of system information
|
Fix Available: Yes Vendor Confirmed: Yes Exploit Included: Yes
|
Version(s): 5.2, 5.3, 6.1
|
Description:
A vulnerability was reported in IBM AIX. A local user can view process environment variables.
A local user can invoke the 'ps' command to view the values of all processes environment variables.
A demonstration exploit is available at:
http://rawlab.mindcreations.com/codes/exp/nix/ibmaixps.sh
Andrea "bunker" Purificato reported this vulnerability.
|
Impact:
A local user can view process environment variables.
|
Solution:
The vendor plans to issued the following fixes:
AIX Level APAR number Availability
5.2.0 IZ11242 05/14/08
5.3.0 IZ12745 04/30/08
5.3.7 IZ11243 04/30/08
6.1.0 IZ11244 02/20/08
An efix is available at:
ftp://aix.software.ibm.com/aix/efixes/security/ps_ifix.tar
The IBM advisories are available at:
http://www.ibm.com/support/docview.wss?uid=isg1IZ11242
http://www.ibm.com/support/docview.wss?uid=isg1IZ12745
http://www.ibm.com/support/docview.wss?uid=isg1IZ11243
http://www.ibm.com/support/docview.wss?uid=isg1IZ11244
|
Vendor URL: www.ibm.com/ (Links to External Site)
|
Cause:
Access control error
|
Underlying OS:
|
|
Message History:
None.
|
Source Message Contents
|
Date: Wed, 23 Jan 2008 21:55:38 -0500
Subject: IBM AIX
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
IBM SECURITY ADVISORY
First Issued: Tue Jan 22 14:02:18 CST 2008
===============================================================================
VULNERABILITY SUMMARY
VULNERABILITY: AIX ps information leak
PLATFORMS: AIX 5.2, 5.3, 6.1
SOLUTION: Apply the fix as described below.
THREAT: A local attacker may access sensitive information.
CERT VU Number: n/a
CVE Number: n/a
===============================================================================
DETAILED INFORMATION
I. OVERVIEW
The ps command shows current status of processes. The primary
fileset for the ps command is'bos.rte.control'. The ps command
allows local users to obtain sensitive information.
II. DESCRIPTION
An information leak exists in the 'bos.rte.control' fileset
commands listed below. A local attacker may access sensitive
information for arbitrary processes.
The following commands are vulnerable:
/usr/bin/ps
III. IMPACT
The successful exploitation of this vulnerability allows a
non-privileged user to access sensitive data for arbitrary
processes.
IV. PLATFORM VULNERABILITY ASSESSMENT
To determine if your system is vulnerable, execute the following
command:
lslpp -L bos.rte.control
The following fileset levels are vulnerable:
AIX Fileset Lower Level Upper Level
------------------------------------------------
bos.rte.control 5.2.0.0 5.2.0.107
bos.rte.control 5.3.0.0 5.3.0.64
bos.rte.control 5.3.7.0 5.3.7.1
bos.rte.control 6.1.0.0 6.1.0.3
V. SOLUTIONS
A. APARS
IBM provides the following fixes:
AIX Level APAR number Availability
---------------------------------------------------
5.2.0 IZ11242 05/14/08
5.3.0 IZ12745 04/30/08
5.3.7 IZ11243 04/30/08
6.1.0 IZ11244 02/20/08
Subscribe to the APARs here:
http://www.ibm.com/support/docview.wss?uid=isg1IZ11242
http://www.ibm.com/support/docview.wss?uid=isg1IZ12745
http://www.ibm.com/support/docview.wss?uid=isg1IZ11243
http://www.ibm.com/support/docview.wss?uid=isg1IZ11244
By subscribing, you will receive periodic email alerting you
to the status of the APAR, and a link to download the fix once
it becomes available.
B. FIXES
Fixes are available. The fixes can be downloaded via ftp
from:
ftp://aix.software.ibm.com/aix/efixes/security/ps_ifix.tar
The link above is to a tar file containing this signed
advisory, fix packages, and PGP signatures for each package.
The fixes below include prerequisite checking. This will
enforce the correct mapping between the fixes and AIX
Technology Levels.
AIX Level Interim Fix
-------------------------------------------------------------------
5.2.0 TL8 IZ11242_08.080110.epkg.Z
5.2.0 TL9 IZ11242_09.080110.epkg.Z
5.2.0 TL10 IZ11242_10.080110.epkg.Z
5.3.0 TL5 IZ12745_05.080110.epkg.Z
5.3.0 TL6 IZ12745_06.080110.epkg.Z
5.3.7 IZ11243_07.080110.epkg.Z
6.1.0 IZ11244_00.080110.epkg.Z
To extract the fixes from the tar file:
tar xvf ps_ifix.tar
cd ps_ifix
Verify you have retrieved the fixes intact:
The checksums below were generated using the "sum", "cksum",
"csum -h MD5" (md5sum), and "csum -h SHA1" (sha1sum) commands
and are as follows:
sum filename
------------------------------------
59999 42 IZ11242_08.080110.epkg.Z
38864 42 IZ11242_09.080110.epkg.Z
58751 44 IZ11242_10.080110.epkg.Z
53743 57 IZ11243_07.080110.epkg.Z
06072 64 IZ11244_00.080110.epkg.Z
28757 56 IZ12745_05.080110.epkg.Z
46095 57 IZ12745_06.080110.epkg.Z
cksum filename
------------------------------------------
3753955418 42918 IZ11242_08.080110.epkg.Z
656903653 42924 IZ11242_09.080110.epkg.Z
3128991594 44510 IZ11242_10.080110.epkg.Z
2217046042 58015 IZ11243_07.080110.epkg.Z
4248777175 64931 IZ11244_00.080110.epkg.Z
2572937489 56417 IZ12745_05.080110.epkg.Z
2883305420 58229 IZ12745_06.080110.epkg.Z
csum -h MD5 (md5sum) filename
----------------------------------------------------------
72b7caf42d62b438c678e27b053dd80a IZ11242_08.080110.epkg.Z
139afb750077e7006017a931f2126ae1 IZ11242_09.080110.epkg.Z
02b8a618b122b10c7a19d380aca5be9c IZ11242_10.080110.epkg.Z
5b68cd5246cdedbf43c1e76a9d89a027 IZ11243_07.080110.epkg.Z
2822aac0854e313aabbf995d303164d9 IZ11244_00.080110.epkg.Z
b2d7d7d6d7521e9da97d76717f58eb6e IZ12745_05.080110.epkg.Z
a4691536c95383269ddfdc36534df353 IZ12745_06.080110.epkg.Z
csum -h SHA1 (sha1sum) filename
------------------------------------------------------------------
7c8382e31fc29c00b48f1d861b48e61424a8f8d5 IZ11242_08.080110.epkg.Z
7fcb56363ba3f67525949b49b598654fcf0e99ec IZ11242_09.080110.epkg.Z
0c2cf89f03c2d3ec7ee931ef5fad1cae2d1b1025 IZ11242_10.080110.epkg.Z
edffff38b42a068a40854f78ad9dbe24daabad40 IZ11243_07.080110.epkg.Z
ab7c528a8f851410835640edef9d4457b41a8ba7 IZ11244_00.080110.epkg.Z
c6bd4e3e40c0c2c8bbdc79cd569799e7baf4df5a IZ12745_05.080110.epkg.Z
acfa10d0c5e24e8f6b00a898d114e1bb2b560412 IZ12745_06.080110.epkg.Z
To verify the sums, use the text of this advisory as input to
csum, md5sum, or sha1sum. For example:
csum -h SHA1 -i Advisory.asc
md5sum -c Advisory.asc
sha1sum -c Advisory.asc
These sums should match exactly. The PGP signatures in the tar
file and on this advisory can also be used to verify the
integrity of the fixes. If the sums or signatures cannot be
confirmed, contact IBM AIX Security at
security-alert@austin.ibm.com and describe the discrepancy.
C. INTERIM FIX INSTALLATION
IMPORTANT: If possible, it is recommended that a mksysb backup
of the system be created. Verify it is both bootable and
readable before proceeding.
Interim fixes have had limited functional and regression
testing but not the full regression testing that takes place
for Service Packs; thus, IBM does not warrant the fully
correct functionality of an interim fix.
Interim fix management documentation can be found at:
http://www14.software.ibm.com/webapp/set2/sas/f/aix.efixmgmt/home.html
To preview an interim fix installation:
emgr -e ipkg_name -p # where ipkg_name is the name of the
# interim fix package being previewed.
To install an interim fix package:
emgr -e ipkg_name -X # where ipkg_name is the name of the
# interim fix package being installed.
VI. WORKAROUNDS
There are no workarounds available.
VII. OBTAINING FIXES
AIX security related fixes can be downloaded from:
ftp://aix.software.ibm.com/aix/efixes/security
AIX fixes can be downloaded from:
http://www.ibm.com/eserver/support/fixes/fixcentral/main/pseries/aix
NOTE: Affected customers are urged to upgrade to the latest
applicable Technology Level and Service Pack.
VIII. CONTACT INFORMATION
If you would like to receive AIX Security Advisories via email,
please visit:
http://www14.software.ibm.com/webapp/set2/subscriptions/pqvcmjd
Comments regarding the content of this announcement can be
directed to:
security-alert@austin.ibm.com
To request the PGP public key that can be used to communicate
securely with the AIX Security Team you can either:
A. Send an email with "get key" in the subject line to:
security-alert@austin.ibm.com
B. Download the key from a PGP Public Key Server. The key ID is:
0xA6A36CCC
Please contact your local IBM AIX support center for any
assistance.
eServer is a trademark of International Business Machines
Corporation. IBM, AIX and pSeries are registered trademarks of
International Business Machines Corporation. All other trademarks
are property of their respective holders.
IX. ACKNOWLEDGMENTS
Andrea "bunker" Purificato reported this vulnerability.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (AIX)
iD8DBQFHllXn8lficKajbMwRAjPJAJ93HN3IwZXMx4a5JepjmsiZRLTIxQCfX+XJ
OHQaRO3ZzhvoPxbx2cQh+EU=
=E4zF
-----END PGP SIGNATURE-----
|
|