SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   initscripts Vendors:   Red Hat
(Red Hat Issues Fix) Red Hat initscripts Environment Variable Processing May Let Local Users Gain Elevated Privileges
SecurityTracker Alert ID:  1015774
SecurityTracker URL:  http://securitytracker.com/id/1015774
CVE Reference:   CVE-2005-3629   (Links to External Site)
Date:  Mar 15 2006
Impact:   Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 7.31.18.EL
Description:   A vulnerability was reported in Red Hat initscripts. A local user can gain elevated privileges.

initscripts does not properly process certain environment variables when the '/sbin/service' command is executed. A local user with permissions to execute /sbin/service via sudo may be able to execute arbitrary commands with root user privileges.

A demonstration exploit command is provided:

TERM= $TERM /bin/bash c /bin/bash sudo /sbin/service network status

Impact:   A local user can gain root privileges.
Solution:   Red Hat has released a fix.

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/initscripts-7.31.30.EL-1.src.rpm
614de93f1381398420fab545a960a54c initscripts-7.31.30.EL-1.src.rpm

i386:
5f38fe789667b0c14cdeff55a9fdfb94 initscripts-7.31.30.EL-1.i386.rpm

ia64:
00672ab9fc961f6efb44e43548216742 initscripts-7.31.30.EL-1.ia64.rpm

ppc:
b79c9567dde9791116264a738172a7ff initscripts-7.31.30.EL-1.ppc.rpm

s390:
082885c498ad9d3e421aa1b8306582fa initscripts-7.31.30.EL-1.s390.rpm

s390x:
c10f0c1607e4425bc603eba8d5a323ee initscripts-7.31.30.EL-1.s390x.rpm

x86_64:
0560f3487e88fe78b56163f9cb074d2e initscripts-7.31.30.EL-1.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/initscripts-7.31.30.EL-1.src.rpm
614de93f1381398420fab545a960a54c initscripts-7.31.30.EL-1.src.rpm

i386:
5f38fe789667b0c14cdeff55a9fdfb94 initscripts-7.31.30.EL-1.i386.rpm

x86_64:
0560f3487e88fe78b56163f9cb074d2e initscripts-7.31.30.EL-1.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/initscripts-7.31.30.EL-1.src.rpm
614de93f1381398420fab545a960a54c initscripts-7.31.30.EL-1.src.rpm

i386:
5f38fe789667b0c14cdeff55a9fdfb94 initscripts-7.31.30.EL-1.i386.rpm

ia64:
00672ab9fc961f6efb44e43548216742 initscripts-7.31.30.EL-1.ia64.rpm

x86_64:
0560f3487e88fe78b56163f9cb074d2e initscripts-7.31.30.EL-1.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/initscripts-7.31.30.EL-1.src.rpm
614de93f1381398420fab545a960a54c initscripts-7.31.30.EL-1.src.rpm

i386:
5f38fe789667b0c14cdeff55a9fdfb94 initscripts-7.31.30.EL-1.i386.rpm

ia64:
00672ab9fc961f6efb44e43548216742 initscripts-7.31.30.EL-1.ia64.rpm

x86_64:
0560f3487e88fe78b56163f9cb074d2e initscripts-7.31.30.EL-1.x86_64.rpm

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2006-0015.html

Vendor URL:  rhn.redhat.com/errata/RHSA-2006-0016.html (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  3

Message History:   This archive entry is a follow-up to the message listed below.
Mar 7 2006 Red Hat initscripts Environment Variable Processing May Let Local Users Gain Elevated Privileges



 Source Message Contents

Subject:  [RHSA-2006:0015-01] Moderate: initscripts security update


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

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Moderate: initscripts security update
Advisory ID:       RHSA-2006:0015-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2006-0015.html
Issue date:        2006-03-15
Updated on:        2006-03-15
Product:           Red Hat Enterprise Linux
CVE Names:         CVE-2005-3629
- ---------------------------------------------------------------------

1. Summary:

Updated initscripts packages that fix a privilege escalation issue and
several bugs are now available.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

The initscripts package contains the basic system scripts used to boot your
Red Hat system, change runlevels, and shut the system down cleanly.
Initscripts also contains the scripts that activate and deactivate most
network interfaces.

A bug was found in the way initscripts handled various environment
variables when the /sbin/service command is run. It is possible for a local
user with permissions to execute /sbin/service via sudo to execute
arbitrary commands as the 'root' user. The Common Vulnerabilities and
Exposures project assigned the name CVE-2005-3629 to this issue.

The following issues have also been fixed in this update:

* extraneous characters were logged on bootup.

* fsck would be attempted on filesystems marked with _netdev in rc.sysinit
  before they were available.

Additionally, support for multi-core Itanium processors has been added to
redhat-support-check.

All users of initscripts should upgrade to these updated packages, which
contain backported patches to resolve these issues.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via Red Hat Network.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/):

169403 - Automount of the emcpower device fails if fsck is enabled for the device in /etc/fstab.
171198 - Bogus messages in system log (/var/log/messages)


6. RPMs required:

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/initscripts-7.31.30.EL-1.src.rpm
614de93f1381398420fab545a960a54c  initscripts-7.31.30.EL-1.src.rpm

i386:
5f38fe789667b0c14cdeff55a9fdfb94  initscripts-7.31.30.EL-1.i386.rpm

ia64:
00672ab9fc961f6efb44e43548216742  initscripts-7.31.30.EL-1.ia64.rpm

ppc:
b79c9567dde9791116264a738172a7ff  initscripts-7.31.30.EL-1.ppc.rpm

s390:
082885c498ad9d3e421aa1b8306582fa  initscripts-7.31.30.EL-1.s390.rpm

s390x:
c10f0c1607e4425bc603eba8d5a323ee  initscripts-7.31.30.EL-1.s390x.rpm

x86_64:
0560f3487e88fe78b56163f9cb074d2e  initscripts-7.31.30.EL-1.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/initscripts-7.31.30.EL-1.src.rpm
614de93f1381398420fab545a960a54c  initscripts-7.31.30.EL-1.src.rpm

i386:
5f38fe789667b0c14cdeff55a9fdfb94  initscripts-7.31.30.EL-1.i386.rpm

x86_64:
0560f3487e88fe78b56163f9cb074d2e  initscripts-7.31.30.EL-1.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/initscripts-7.31.30.EL-1.src.rpm
614de93f1381398420fab545a960a54c  initscripts-7.31.30.EL-1.src.rpm

i386:
5f38fe789667b0c14cdeff55a9fdfb94  initscripts-7.31.30.EL-1.i386.rpm

ia64:
00672ab9fc961f6efb44e43548216742  initscripts-7.31.30.EL-1.ia64.rpm

x86_64:
0560f3487e88fe78b56163f9cb074d2e  initscripts-7.31.30.EL-1.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/initscripts-7.31.30.EL-1.src.rpm
614de93f1381398420fab545a960a54c  initscripts-7.31.30.EL-1.src.rpm

i386:
5f38fe789667b0c14cdeff55a9fdfb94  initscripts-7.31.30.EL-1.i386.rpm

ia64:
00672ab9fc961f6efb44e43548216742  initscripts-7.31.30.EL-1.ia64.rpm

x86_64:
0560f3487e88fe78b56163f9cb074d2e  initscripts-7.31.30.EL-1.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3629

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2006 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFEGD8xXlSAg2UNWIIRAqeBAJ4ztMowLrq71aq8EVg6pybbHeXgcACfS7Sf
XbawltdkaftVvABXWxozdCM=
=bqq2
-----END PGP SIGNATURE-----


-- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2022, SecurityGlobal.net LLC