LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Security Week: July 28th, 2014
Linux Advisory Watch: July 25th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
RedHat: 'man' local privilege escalation vulnerability Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
RedHat Linux Updated man packages fixing a local GID man exploit and a potential GID man to root exploit, as well as a problem with the man paths of Red Hat Linux 5.x and 6.x.

---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated man package fixing GID security problems.
Advisory ID:       RHSA-2001:072-14
Issue date:        2001-05-28
Updated on:        2001-09-06
Product:           Red Hat Linux
Keywords:          man setgid heap overflow path makewhatis root GID
Cross references:  
Obsoletes:         RHSA-2001:069
---------------------------------------------------------------------

1. Topic:

Updated man packages fixing a local GID man exploit and a 
potential GID man to root exploit, as well as a problem with the 
man paths of Red Hat Linux 5.x and 6.x.

2. Relevant releases/architectures:

Red Hat Linux 5.2 - alpha, i386, sparc

Red Hat Linux 6.2 - alpha, i386, sparc

Red Hat Linux 7.0 - alpha, i386

Red Hat Linux 7.1 - alpha, i386, ia64

3. Problem description:

Users could gain access to the GID man by overrunning a buffer in the 
ultimate_source() function.

Users with GID man could get root access by creating man pages with 
filenames containing escape characters.

Furthermore, the previous errata package hardcoded Red Hat Linux 7.x man 
paths even on Red Hat Linux 5.x and 6.x.

4. Solution:

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

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains
the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  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.Red Hat.com/bugzilla for more info):

42450 - man-1.5i-4: local->gid man-> root in update
42031 - /etc/man.config's new MANPATH's incompatible with rh62
42192 - New 'man' package disagrees with 'tmpwatch'
43318 - apropos and whatis broken by update to man-1.5i-4
43213 - Man didn't drop privs when adding user PATH as MANPATH
46405 - man-1.5i2-i has incorrect backslash escape in makewhatis awk script
45646 - Cron generated errors
45827 - Troubles with data updates for 'apropos'
43134 - man RPM needs to depend on specific mktemp version
42915 - makewhatis only works for first element in manpath
42031 - /etc/man.config's new MANPATH's incompatible with rh62
48762 - man does not create cat files even if told to do
47784 - man problem after an update

6. RPMs required:

Red Hat Linux 5.2:

SRPMS: 
ftp://updates.Red Hat.com/5.2/en/os/SRPMS/man-1.5i2-0.5x.5.src.rpm

alpha: 
ftp://updates.Red Hat.com/5.2/en/os/alpha/man-1.5i2-0.5x.5.alpha.rpm

i386: 
ftp://updates.Red Hat.com/5.2/en/os/i386/man-1.5i2-0.5x.5.i386.rpm

sparc: 
ftp://updates.Red Hat.com/5.2/en/os/sparc/man-1.5i2-0.5x.5.sparc.rpm

Red Hat Linux 6.2:

SRPMS: 
ftp://updates.Red Hat.com/6.2/en/os/SRPMS/man-1.5i2-0.6x.5.src.rpm

alpha: 
ftp://updates.Red Hat.com/6.2/en/os/alpha/man-1.5i2-0.6x.5.alpha.rpm

i386: 
ftp://updates.Red Hat.com/6.2/en/os/i386/man-1.5i2-0.6x.5.i386.rpm

sparc: 
ftp://updates.Red Hat.com/6.2/en/os/sparc/man-1.5i2-0.6x.5.sparc.rpm

Red Hat Linux 7.0:

SRPMS: 
ftp://updates.Red Hat.com/7.0/en/os/SRPMS/man-1.5i2-0.7x.5.src.rpm

alpha: 
ftp://updates.Red Hat.com/7.0/en/os/alpha/man-1.5i2-0.7x.5.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.0/en/os/i386/man-1.5i2-0.7x.5.i386.rpm

Red Hat Linux 7.1:

SRPMS: 
ftp://updates.Red Hat.com/7.1/en/os/SRPMS/man-1.5i2-0.7x.5.src.rpm

alpha: 
ftp://updates.Red Hat.com/7.1/en/os/alpha/man-1.5i2-0.7x.5.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.1/en/os/i386/man-1.5i2-0.7x.5.i386.rpm

ia64: 
ftp://updates.Red Hat.com/7.1/en/os/ia64/man-1.5i2-0.7x.5.ia64.rpm



7. Verification:

MD5 sum                           Package Name
--------------------------------------------------------------------------
7e707edd6c8662713b3e1de4e4991c91 5.2/en/os/SRPMS/man-1.5i2-0.5x.5.src.rpm
b4ca74b38769909b6edf96ae15e4f93a 5.2/en/os/alpha/man-1.5i2-0.5x.5.alpha.rpm
7145d59cc271555cff82399758cc38c9 5.2/en/os/i386/man-1.5i2-0.5x.5.i386.rpm
0d49141004f0686a362ccb4e341cdc77 5.2/en/os/sparc/man-1.5i2-0.5x.5.sparc.rpm
6a5757ee96a7a647f0f78ca0a5c52d53 6.2/en/os/SRPMS/man-1.5i2-0.6x.5.src.rpm
af4d18fd95636a764d785089d336aca1 6.2/en/os/alpha/man-1.5i2-0.6x.5.alpha.rpm
2eb2926fbe663135b5a766c510c4c593 6.2/en/os/i386/man-1.5i2-0.6x.5.i386.rpm
578a17ecc5ac2d3d3c8ec1d623ea22bd 6.2/en/os/sparc/man-1.5i2-0.6x.5.sparc.rpm
8f1975f0a01765c2e8ffb4dfca2fc3bf 7.0/en/os/SRPMS/man-1.5i2-0.7x.5.src.rpm
4deee7f6f4203f4755d71d723caebfd0 7.0/en/os/alpha/man-1.5i2-0.7x.5.alpha.rpm
99245cb9189b9e7c91b2241b308ee488 7.0/en/os/i386/man-1.5i2-0.7x.5.i386.rpm
8f1975f0a01765c2e8ffb4dfca2fc3bf 7.1/en/os/SRPMS/man-1.5i2-0.7x.5.src.rpm
4deee7f6f4203f4755d71d723caebfd0 7.1/en/os/alpha/man-1.5i2-0.7x.5.alpha.rpm
99245cb9189b9e7c91b2241b308ee488 7.1/en/os/i386/man-1.5i2-0.7x.5.i386.rpm
2d45b52218b65a5801ea8eec3e060788 7.1/en/os/ia64/man-1.5i2-0.7x.5.ia64.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
     http://www.Red Hat.com/corp/contact.html

You can verify each package with the following command:
    rpm --checksig  

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg 

8. References:




Copyright(c) 2000, 2001 Red Hat, Inc.

 
< Prev   Next >
    
Partner

 

Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Yesterday's Edition
Hackers Plundered Israeli Defense Firms that Built ‘Iron Dome’ Missile Defense System
Internet of things big security worry, says HP
Boffins build FREE SUPERCOMPUTER from free cloud server trials
Insecure Connections: Enterprises hacked after neglecting third-party risks
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2014 Guardian Digital, Inc. All rights reserved.