SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   OS (UNIX)  >   IBM AIX Vendors:   IBM
IBM AIX 'cfgmgr' Command Lets Certain Local Users Gain Root Privileges
SecurityTracker Alert ID:  1016917
SecurityTracker URL:  http://securitytracker.com/id/1016917
CVE Reference:   CVE-2006-5006   (Links to External Site)
Updated:  Jun 3 2008
Original Entry Date:  Sep 25 2006
Impact:   Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 5.2, 5.3
Description:   A vulnerability was reported in IBM AIX in the cfgmgr command. A local user can obtain root privileges on the target system.

A local user in the system group can execute arbitrary code on the target system with root privileges.

The local user can also overwrite arbitrary system files.

The 'bos.rte.methods' fileset is affected.

Impact:   A local user in the system group can obtain root privileges on the target system.
Solution:   IBM plans to issue the following fixes:

APAR number for AIX 5.2.0: IY89512 (available approx. 10/18/06)
APAR number for AIX 5.3.0: IY89434 (available approx. 10/04/06)

Interim fixes are available at:

ftp://aix.software.ibm.com/aix/efixes/security/cfgmgr_ifix.tar.Z

Vendor URL:  www.ibm.com/ (Links to External Site)
Cause:   Not specified
Underlying OS:  

Message History:   None.


 Source Message Contents

Date:  Mon, 25 Sep 2006 17:55:04 -0400
Subject:  IBM AIX cfgmgr vulnerability


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

IBM SECURITY ADVISORY


First Issued: Mon Sep 25 10:00 CDT 2006
==========================================================================
                           VULNERABILITY SUMMARY

VULNERABILITY:      A local user in the system group may overwrite an
                    arbitrary file or execute arbitrary code with root
		    privileges.

PLATFORMS:          AIX 5.2 and 5.3.

SOLUTION:           Apply the APAR, interim fix or workaround as 
		    described below.

THREAT:             A local user in the system group may cause a denial of
                    service or execute arbitrary code with root
		    privileges.

CERT VU Number:     n/a
CVE Number:         n/a
==========================================================================
                           DETAILED INFORMATION


I.  Description
===============

Two vulnerabilities exists in the cfgmgr command. This command configures
devices and optionally installs device software. Both vulnerabilities can
only be exploited by a user in the system group. First, a local user may
overwrite an arbitrary system file resulting in a denial of service.
Second, a local user may execute arbitrary code with root privileges.

cfgmgr ships as part of the bos.rte.methods. To determine if this fileset
is installed, execute the following command:

# lslpp -L bos.rte.methods

If the fileset is installed it will be listed along with its version
information, state, type and a description.

The following table shows the vulnerable versions of bos.rte.methods:

AIX Release          Lower         Upper
                     Level         Level
===========================================
AIX 5.2              5.2.0.0       5.2.0.96
AIX 5.3              5.3.0.0       5.3.0.50


II. Impact
==========

A local user in the system group may overwrite an arbitrary file resulting
in a denial of service or execute arbitrary code with root privileges.


III.  Solutions
===============

A. APARs

IBM provides the following fixes:

      APAR number for AIX 5.2.0: IY89512 (available approx. 10/18/06)
      APAR number for AIX 5.3.0: IY89434 (available approx. 10/04/06)

NOTE: Affected customers are urged to upgrade to the latest applicable
Technology Level.

B. Interim Fix

Interim fixes are available. The interim fixes can be downloaded via ftp
from:

    ftp://aix.software.ibm.com/aix/efixes/security/cfgmgr_ifix.tar.Z

This is a compressed tarball containing this advisory, interim fix packages
and cleartext PGP signatures for each package.


Verify you have retrieved the fixes intact:
+------------------------------------------
The checksums below were generated using the "sum" and "md5sum" commands
and are as follows:


Filename                  sum           md5
========================================================================
cfgmgr_07.060912.epkg.Z   04400    17   a8b7025d13a2948c322f8030d0402dc7
cfgmgr_08.060912.epkg.Z   36780    17   fe50e9786bf1c9d8d64aec6615de0968
cfgmgr_09.060912.epkg.Z   19404    17   fd0d633ec43cae9a337d952db9256c9a
cfgmgr_03.060912.epkg.Z   21388    18   31379aee9397ea69844bf16ac6d7bec8
cfgmgr_04.060918.epkg.Z   62021    18   ecde6b70b545fa7dd48220ee0382bb2c
cfgmgr_05.060913.epkg.Z   18855    18   d5f4c7d1ce4a7049ffbbf412a126b190

See the table below to determine which AIX Technology Level a given interim
fix maps to.

These sums should match exactly. The PGP signatures in the compressed
tarball and on this advisory can also be used to verify the integrity of
the various files they correspond to. If the sums or signatures cannot be
confirmed, double check the command results and the download site address.
If those are OK, contact IBM AIX Security at security-alert@austin.ibm.com
and describe the discrepancy.

The interim fixes include prerequisite checking. This will ensure the
correct mapping between the interim fixes and AIX Technology Levels. The
following table shows the prerequisite fileset levels required for the
fixes above. The fileset levels listed are for bos.rte.methods.

Interim                    Fileset Level     Fileset Level   AIX
Fix                        (lower limit)     (upper limit)   Level
=====================================================================
cfgmgr_07.060912.epkg.Z    5.2.0.75          5.2.0.75        5200-07
cfgmgr_08.060912.epkg.Z    5.2.0.85          5.2.0.85        5200-08
cfgmgr_09.060912.epkg.Z    5.2.0.95          5.2.0.96        5200-09
cfgmgr_03.060912.epkg.Z    5.3.0.30          5.3.0.30        5300-03
cfgmgr_04.060918.epkg.Z    5.3.0.40          5.3.0.40        5300-04
cfgmgr_05.060913.epkg.Z    5.3.0.50          5.3.0.51        5300-05


IMPORTANT: If possible, it is recommended that a mksysb backup of the
system is created. Verify it is both bootable, and readable before
proceeding.

Customers may contact IBM support if any issues arise with these interim
fixes.


Interim Installation Instructions:
+---------------------------------
These packages use the new Interim Fix Management Solution to install and
manage interim fixes. More information can be found at:

     http://www14.software.ibm.com/webapp/set2/sas/f/aix.efixmgmt/home.html

To preview an epkg interim fix installation execute the following command:

# emgr -e ipkg_name -p       # where ipkg_name is the name of the
                             # interim fix package being previewed.

To install an epkg interim fix package, execute the following command:

# emgr -e ipkg_name -X       # where ipkg_name is the name of the
                             # interim fix package being installed.

The "X" flag will expand any filesystems if required.

C. Workaround

Remove the setuid root bit. Note that this will prevent cfgmgr from
functioning normally for non-root users. This can be done by executing the
following command:

# chmod 550 /usr/sbin/cfgmgr 

Verify the changes:

# ls -la /usr/sbin/cfgmgr          
- -r-xr-x---   1 root     system        25778 Nov 23 2004  /usr/sbin/cfgmgr


IV. Obtaining Fixes
===================

AIX Version 5 APARs can be downloaded from:

     http://www.ibm.com/servers/eserver/support/unixservers/aixfixes.html

Security related Interim Fixes can be downloaded from:

     ftp://aix.software.ibm.com/aix/efixes/security


V.  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 send email to security-alert@austin.ibm.com
with a subject of "get key". The key can also be downloaded from a PGP
Public Key Server. The key id is 0x1B14F299.

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFF/6SofN/JhsU8pkRArs/AJoDVt2lX10Sf9uai5NxaKIL2alj2gCdFDrZ
q+QrnE3tZjGaTLIYxVLabuQ=
=K2r1
-----END PGP SIGNATURE-----
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC