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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   initscripts Vendors:   Red Hat
Red Hat initscripts Environment Variable Processing May Let Local Users Gain Elevated Privileges
SecurityTracker Alert ID:  1015732
SecurityTracker URL:  http://securitytracker.com/id/1015732
CVE Reference:   CVE-2005-3629   (Links to External Site)
Date:  Mar 7 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:   The vendor has issued a fixed version (7.93.23.EL-1 and later).

Red Hat Enterprise Linux AS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/initscripts-7.93.24.EL-1.1.src.rpm
97f9a2e5fd448296d02daaa048781e1d initscripts-7.93.24.EL-1.1.src.rpm

i386:
46d827b57bce985fe3aa3141ee6c44dc initscripts-7.93.24.EL-1.1.i386.rpm

ia64:
62f0d0c4cfa20323ca3037f8c498bb61 initscripts-7.93.24.EL-1.1.ia64.rpm

ppc:
40229906eddd7dfe2151ed27ab56f587 initscripts-7.93.24.EL-1.1.ppc.rpm

s390:
3b8c0a755d1553c0e4380aa6e19cb414 initscripts-7.93.24.EL-1.1.s390.rpm

s390x:
80c5a6ceed345cd365c772356139f92c initscripts-7.93.24.EL-1.1.s390x.rpm

x86_64:
848d807446d5c72aa9333eaa892ecd17 initscripts-7.93.24.EL-1.1.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/initscripts-7.93.24.EL-1.1.src.rpm
97f9a2e5fd448296d02daaa048781e1d initscripts-7.93.24.EL-1.1.src.rpm

i386:
46d827b57bce985fe3aa3141ee6c44dc initscripts-7.93.24.EL-1.1.i386.rpm

x86_64:
848d807446d5c72aa9333eaa892ecd17 initscripts-7.93.24.EL-1.1.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/initscripts-7.93.24.EL-1.1.src.rpm
97f9a2e5fd448296d02daaa048781e1d initscripts-7.93.24.EL-1.1.src.rpm

i386:
46d827b57bce985fe3aa3141ee6c44dc initscripts-7.93.24.EL-1.1.i386.rpm

ia64:
62f0d0c4cfa20323ca3037f8c498bb61 initscripts-7.93.24.EL-1.1.ia64.rpm

x86_64:
848d807446d5c72aa9333eaa892ecd17 initscripts-7.93.24.EL-1.1.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/initscripts-7.93.24.EL-1.1.src.rpm
97f9a2e5fd448296d02daaa048781e1d initscripts-7.93.24.EL-1.1.src.rpm

i386:
46d827b57bce985fe3aa3141ee6c44dc initscripts-7.93.24.EL-1.1.i386.rpm

ia64:
62f0d0c4cfa20323ca3037f8c498bb61 initscripts-7.93.24.EL-1.1.ia64.rpm

x86_64:
848d807446d5c72aa9333eaa892ecd17 initscripts-7.93.24.EL-1.1.x86_64.rpm

The vendor's advisory is available at:

https://rhn.redhat.com/errata/RHSA-2006-0016.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)

Message History:   This archive entry has one or more follow-up message(s) listed below.
Mar 15 2006 (Red Hat Issues Fix) Red Hat initscripts Environment Variable Processing May Let Local Users Gain Elevated Privileges
Red Hat has released a fix for Red Hat Enterprise Linux 3.



 Source Message Contents

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

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

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

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

1. Summary:

An updated initscripts package that fixes a privilege escalation issue and
several bugs is 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 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - 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 (cve.mitre.org) 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 was attempted on file systems marked with _netdev in rc.sysinit
  before they were available

* the dynamically-linked /sbin/multipath was called instead of the correct
  /sbin/multiplath.static

Additionally, this update includes support for partitioned multipath
devices and a technology preview of static IP over InifiniBand.

All users of initscripts should upgrade to this updated package, which
resolves 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/):

108827 - RHEL4:  Infiniband support
168321 - rc.sysinit call dynamicly linked multipath rather than multipath.static
171912 - Bogus messages in system log (/var/log/messages)
172804 - Automount of the emcpower device fails if fsck is enabled for the device in /etc/fstab.
174849 - CVE-2005-3629 root shell can be gained from service if ran through sudo


6. RPMs required:

Red Hat Enterprise Linux AS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/initscripts-7.93.24.EL-1.1.src.rpm
97f9a2e5fd448296d02daaa048781e1d  initscripts-7.93.24.EL-1.1.src.rpm

i386:
46d827b57bce985fe3aa3141ee6c44dc  initscripts-7.93.24.EL-1.1.i386.rpm

ia64:
62f0d0c4cfa20323ca3037f8c498bb61  initscripts-7.93.24.EL-1.1.ia64.rpm

ppc:
40229906eddd7dfe2151ed27ab56f587  initscripts-7.93.24.EL-1.1.ppc.rpm

s390:
3b8c0a755d1553c0e4380aa6e19cb414  initscripts-7.93.24.EL-1.1.s390.rpm

s390x:
80c5a6ceed345cd365c772356139f92c  initscripts-7.93.24.EL-1.1.s390x.rpm

x86_64:
848d807446d5c72aa9333eaa892ecd17  initscripts-7.93.24.EL-1.1.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/initscripts-7.93.24.EL-1.1.src.rpm
97f9a2e5fd448296d02daaa048781e1d  initscripts-7.93.24.EL-1.1.src.rpm

i386:
46d827b57bce985fe3aa3141ee6c44dc  initscripts-7.93.24.EL-1.1.i386.rpm

x86_64:
848d807446d5c72aa9333eaa892ecd17  initscripts-7.93.24.EL-1.1.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/initscripts-7.93.24.EL-1.1.src.rpm
97f9a2e5fd448296d02daaa048781e1d  initscripts-7.93.24.EL-1.1.src.rpm

i386:
46d827b57bce985fe3aa3141ee6c44dc  initscripts-7.93.24.EL-1.1.i386.rpm

ia64:
62f0d0c4cfa20323ca3037f8c498bb61  initscripts-7.93.24.EL-1.1.ia64.rpm

x86_64:
848d807446d5c72aa9333eaa892ecd17  initscripts-7.93.24.EL-1.1.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/initscripts-7.93.24.EL-1.1.src.rpm
97f9a2e5fd448296d02daaa048781e1d  initscripts-7.93.24.EL-1.1.src.rpm

i386:
46d827b57bce985fe3aa3141ee6c44dc  initscripts-7.93.24.EL-1.1.i386.rpm

ia64:
62f0d0c4cfa20323ca3037f8c498bb61  initscripts-7.93.24.EL-1.1.ia64.rpm

x86_64:
848d807446d5c72aa9333eaa892ecd17  initscripts-7.93.24.EL-1.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)

iD8DBQFEDaygXlSAg2UNWIIRArEjAJ9njAMtMgxE7FwfdwVGUjBTU31kkACgowBQ
tKIAodvTuwhjd33tDhJ4HDI=
=nTLl
-----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 2021, SecurityGlobal.net LLC