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 Advisory Watch: November 21st, 2014
Linux Security Week: November 17th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
Red Hat: 'ed' vulnerability Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
RedHat Linux The ed editor used files in /tmp in an insecure fashion.

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

Synopsis:          New ed packages available
Advisory ID:       RHSA-2000:123-01
Issue date:        2000-12-06
Updated on:        2000-12-06
Product:           Red Hat Linux
Keywords:          ed mktemp mkstemp /tmp
Cross references:  N/A
---------------------------------------------------------------------

1. Topic:

The ed editor used files in /tmp in an insecure fashion. 
It was possible for local users to exploit this vulnerability 
to modify files that they normally could not and gain elevated privilege.

2. Relevant releases/architectures:

Red Hat Linux 5.2 - i386, alpha, sparc
Red Hat Linux 6.0 - i386, alpha, sparc
Red Hat Linux 6.1 - i386, alpha, sparc
Red Hat Linux 6.2 - i386, alpha, sparc
Red Hat Linux 7.0 - i386, alpha

3. Problem description:

The ed executable creates files in /tmp with predictable
names. By using various symlink attacks, it is possible to
have ed write to files it should not, change the permissions 
of various files, etc.

4. Solution:

For each RPM for your particular architecture, run:

rpm -Fvh [filename]

where filename is the name of the RPM.

5. Bug IDs fixed  (http://bugzilla.Red Hat.com/bugzilla for more info):

21470 - ed uses mktemp + fopen for scratch files


6. RPMs required:

Red Hat Linux 5.2:

alpha: 
ftp://updates.Red Hat.com/5.2/alpha/ed-0.2-19.5x.alpha.rpm 
ftp://updates.Red Hat.com/5.2/alpha/ed-0.2-19.5x.alpha.rpm

sparc: 
ftp://updates.Red Hat.com/5.2/sparc/ed-0.2-19.5x.sparc.rpm 
ftp://updates.Red Hat.com/5.2/sparc/ed-0.2-19.5x.sparc.rpm

i386: 
ftp://updates.Red Hat.com/5.2/i386/ed-0.2-19.5x.i386.rpm 
ftp://updates.Red Hat.com/5.2/i386/ed-0.2-19.5x.i386.rpm

sources: 
ftp://updates.Red Hat.com/5.2/SRPMS/ed-0.2-19.5x.src.rpm 
ftp://updates.Red Hat.com/5.2/SRPMS/ed-0.2-19.5x.src.rpm

Red Hat Linux 6.0:

sparc: 
ftp://updates.Red Hat.com/6.0/sparc/ed-0.2-19.6x.sparc.rpm 
ftp://updates.Red Hat.com/6.0/sparc/ed-0.2-19.6x.sparc.rpm

i386: 
ftp://updates.Red Hat.com/6.0/i386/ed-0.2-19.6x.i386.rpm 
ftp://updates.Red Hat.com/6.0/i386/ed-0.2-19.6x.i386.rpm

alpha: 
ftp://updates.Red Hat.com/6.0/alpha/ed-0.2-19.6x.alpha.rpm 
ftp://updates.Red Hat.com/6.0/alpha/ed-0.2-19.6x.alpha.rpm

sources: 
ftp://updates.Red Hat.com/6.0/SRPMS/ed-0.2-19.6x.src.rpm 
ftp://updates.Red Hat.com/6.0/SRPMS/ed-0.2-19.6x.src.rpm

Red Hat Linux 6.1:

alpha: 
ftp://updates.Red Hat.com/6.1/alpha/ed-0.2-19.6x.alpha.rpm 
ftp://updates.Red Hat.com/6.1/alpha/ed-0.2-19.6x.alpha.rpm

sparc: 
ftp://updates.Red Hat.com/6.1/sparc/ed-0.2-19.6x.sparc.rpm 
ftp://updates.Red Hat.com/6.1/sparc/ed-0.2-19.6x.sparc.rpm

i386: 
ftp://updates.Red Hat.com/6.1/i386/ed-0.2-19.6x.i386.rpm 
ftp://updates.Red Hat.com/6.1/i386/ed-0.2-19.6x.i386.rpm

sources: 
ftp://updates.Red Hat.com/6.1/SRPMS/ed-0.2-19.6x.src.rpm 
ftp://updates.Red Hat.com/6.1/SRPMS/ed-0.2-19.6x.src.rpm

Red Hat Linux 6.2:

alpha: 
ftp://updates.Red Hat.com/6.2/alpha/ed-0.2-19.6x.alpha.rpm 
ftp://updates.Red Hat.com/6.2/alpha/ed-0.2-19.6x.alpha.rpm

sparc: 
ftp://updates.Red Hat.com/6.2/sparc/ed-0.2-19.6x.sparc.rpm 
ftp://updates.Red Hat.com/6.2/sparc/ed-0.2-19.6x.sparc.rpm

i386: 
ftp://updates.Red Hat.com/6.2/i386/ed-0.2-19.6x.i386.rpm 
ftp://updates.Red Hat.com/6.2/i386/ed-0.2-19.6x.i386.rpm

sources: 
ftp://updates.Red Hat.com/6.2/SRPMS/ed-0.2-19.6x.src.rpm 
ftp://updates.Red Hat.com/6.2/SRPMS/ed-0.2-19.6x.src.rpm

Red Hat Linux 7.0:

alpha: 
ftp://updates.Red Hat.com/7.0/alpha/ed-0.2-19.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.0/i386/ed-0.2-19.i386.rpm

sources: 
ftp://updates.Red Hat.com/7.0/SRPMS/ed-0.2-19.src.rpm

7. Verification:

MD5 sum                           Package Name
--------------------------------------------------------------------------
e87aafb1feef31ab80d5a55313cf76b4  5.2/SRPMS/ed-0.2-19.5x.src.rpm
c2ff59030a1d2c9cdf7040facda48a0b  5.2/alpha/ed-0.2-19.5x.alpha.rpm
86a43f6d2b10c284f36c5d9776a56789  5.2/i386/ed-0.2-19.5x.i386.rpm
b7ac2a44c3ea17f78d5313a3113f98c3  5.2/sparc/ed-0.2-19.5x.sparc.rpm
e80cdbeebc4cf4d7a8b8765b02540c2e  6.0/SRPMS/ed-0.2-19.6x.src.rpm
779b42a553a66a3cf422ffe8e87bb2fb  6.0/alpha/ed-0.2-19.6x.alpha.rpm
7c584e3600331b81e8caa2422722ccae  6.0/i386/ed-0.2-19.6x.i386.rpm
007fc8f22b6cc144b3b2703744da8483  6.0/sparc/ed-0.2-19.6x.sparc.rpm
e80cdbeebc4cf4d7a8b8765b02540c2e  6.1/SRPMS/ed-0.2-19.6x.src.rpm
779b42a553a66a3cf422ffe8e87bb2fb  6.1/alpha/ed-0.2-19.6x.alpha.rpm
7c584e3600331b81e8caa2422722ccae  6.1/i386/ed-0.2-19.6x.i386.rpm
007fc8f22b6cc144b3b2703744da8483  6.1/sparc/ed-0.2-19.6x.sparc.rpm
e80cdbeebc4cf4d7a8b8765b02540c2e  6.2/SRPMS/ed-0.2-19.6x.src.rpm
779b42a553a66a3cf422ffe8e87bb2fb  6.2/alpha/ed-0.2-19.6x.alpha.rpm
7c584e3600331b81e8caa2422722ccae  6.2/i386/ed-0.2-19.6x.i386.rpm
007fc8f22b6cc144b3b2703744da8483  6.2/sparc/ed-0.2-19.6x.sparc.rpm
f619f60ddcbeedc016b434e172b9bddb  7.0/SRPMS/ed-0.2-19.src.rpm
f511af62ec15ef65dd1104683e7d39db  7.0/alpha/ed-0.2-19.alpha.rpm
6186b80b1deba06a1d3d99e30e2270d0  7.0/i386/ed-0.2-19.i386.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:

N/A


Copyright(c) 2000 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
Weekend Edition
Google Releases Open Source Tool for Testing Web App Security Scanners
Most Targeted Attacks Exploit Privileged Accounts
NotCompable sets new standards for mobile botnet sophistication
Hands on with Caine Linux: Pentesting and UEFI compatible
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.