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: July 25th, 2014
Linux Advisory Watch: July 18th, 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: 'setserial' initscript temporary file vulnerability Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
RedHat Linux The initscript distributed with the setserial package (which is not installed or enabled by default) uses predictable temporary file names, and should not be used. setserial-2.17-4 and earlier versions are affected.

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

Synopsis:          Insecure setserial initscript
Advisory ID:       RHSA-2001:110-05
Issue date:        2001-09-12
Updated on:        2001-09-19
Product:           Red Hat Linux
Keywords:          setserial initscript temporary file
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

The initscript distributed with the setserial package (which is not
installed or enabled by default) uses predictable temporary file names, and
should not be used.  setserial-2.17-4 and earlier versions are affected.

If you have not recompiled your kernel, this issue does not affect you.  To 
check if you are affected by this issue, use the following command:

/bin/ls /etc/rc.d/init.d/serial

If this gives the output '/etc/rc.d/init.d/serial' then the initscript 
has been manually installed.  In this case use the following command:

/sbin/modprobe -l | grep '/serial\.o'

If this command gives output, you are affected by this issue.

2. Relevant releases/architectures:



3. Problem description:

The setserial package comes with an initscript in the documentation 
directory.  If this initscript is manually copied into the init.d 
directory structure and enabled, and the kernel is recompiled to have 
modular serial port support, then the initscript will use a predictable 
temporary file name.

There are a number of other bugs that also prevent the initscript from
working correctly in this situation (detailed in bugzilla bug #52862).

4. Solution:

Do not use the initscript supplied with setserial.  To disable it, use 
the following command:

/sbin/chkconfig serial off

Alternatively, if your system needs manual adjustment of its serial
port settings and you wish to have those adjustments re-applied
automatically on boot, be sure to use a kernel that has non-modular
serial port support, such as those supplied by Red Hat, Inc.

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



6. RPMs required:



7. Verification:

MD5 sum                           Package Name
--------------------------------------------------------------------------



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:

Bugzilla bug #52862, at:

https://bugzilla.Red Hat.com/bugzilla/show_bug.cgi?id=52862


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
How Hackers Hid a Money-Mining Botnet in Amazonís Cloud
Homeland Security gets into software security
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.