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 28th, 2014
Linux Advisory Watch: November 21st, 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: Two vulnerabilities in lpd Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
RedHat Linux Authentication and configuration vulnerabilities that could lead to a root compromise exist.
 
Package lpr

Synopsis New lpr packages available

Advisory ID RHSA-2000:002-01

Issue Date 2000-01-07

Updated on 2000-01-07

Keywords lpr lpd DNS sendmail



1. Topic:
New lpr packages are available to fix two security problems in lpd.

2. Problem description:
Two security vulnerabilities exist in the lpd (line printer daemon) shipped with the lpr package.

First, authentication was not thorough enough. If a remote user was able to control their own DNS so that their IP address resolved to the hostname of the print server, access would be granted, when it should not be.

Secondly, it was possible in the control file of a print job to specify arguments to sendmail. By careful manipulation of control and data files, this could cause sendmail to be executed with a user-specified configuration file. This could lead very easily to a root compromise.

It is recommended that all users of Red Hat Linux using the lpr package (which is required to print) upgrade to the fixed packages.

Thanks go to DilDog (dildog@l0pht.com) for noting the vulnerability.

If you are experiencing problems with local printing in Red Hat Linux 6.1, make sure that you have:

alias parport_lowlevel parport_pc

in your /etc/conf.modules file.

3. Bug IDs fixed: (see bugzilla for more information)

4. Relevant releases/architectures:
Red Hat Linux 6.1, all architectures

5. Obsoleted by:
None

6. Conflicts with:
None

7. RPMs required:

Intel:

ftp://updates.Red Hat.com/6.1/i386/

lpr-0.48-1.i386.rpm

Alpha:

ftp://updates.Red Hat.com/6.1/alpha

lpr-0.48-1.alpha.rpm

SPARC:

ftp://updates.Red Hat.com/6.1/sparc

lpr-0.48-1.sparc.rpm

Source:

ftp://updates.Red Hat.com/6.1/SRPMS

lpr-0.48-1.src.rpm

8. Solution:
For each RPM for your particular architecture, run:

rpm -Uvh filename

where filename is the name of the RPM.

Then, restart lpd:
/etc/rc.d/init.d/lpd restart

9. Verification:


 MD5 sum                           Package Name

 -------------------------------------------------------------------------
78f2220331189e723eab944b53d0710e  i386/lpr-0.48-1.i386.rpm
3fcb89eb1a76741a505d3eeeddfa3674  alpha/lpr-0.48-1.alpha.rpm
441cfee04428ca215d98d9ce3d20bc4d  sparc/lpr-0.48-1.sparc.rpm
55c6a740b03569919ec08992257cad96  SRPMS/lpr-0.48-1.src.rpm

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

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

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 filename

Note that you need RPM >= 3.0 to check GnuPG keys.

10. References:
Thanks to dildog@l0pht.com for finding this bug.

 
< 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
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.