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: October 20th, 2014
Linux Advisory Watch: October 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

  
NetBSD: sendmail remote exploit Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
NetBSD A remote vulnerability exists that can result in commands can be executed with administrative privileges.

		 NetBSD Security Advisory 2003-002
		 =================================

Topic:		Malformed header Sendmail Vulnerability

Version:	NetBSD-current:	source prior to March 4, 2003
		NetBSD 1.6:	affected
		NetBSD-1.5.3:	affected
		NetBSD-1.5.2:	affected
		NetBSD-1.5.1:	affected
		NetBSD-1.5:	affected
		pkgsrc:		mail/sendmail, mail/sendmail811, and
				mail/sendmail88 are affected.

Severity:	Possible remote root compromise

Fixed:		NetBSD-current:		March 4, 2003
		NetBSD-1.6 branch:	March 4, 2003 (1.6.1 includes the fix)
		NetBSD-1.5 branch:	March 4, 2003
		pkgsrc:			mail/sendmail version 8.12.8
					and mail/sendmail811 version 8.11.6nb3
					fix this issue.  There is currently no
					fix for mail/sendmail88.


Abstract
========

A malformed email message may allow remote attackers to gain the privledge
of the sendmail daemon process.  This is usually root.

Technical Details
=================

Internet Security Systems (ISS) has discovered a remotely exploitable
vulnerability in the mail transfer agent (MTA) sendmail.  The vulnerability
is message-oriented, which means that even sendmail daemons not directly
exposed to the internet can be compromised.

Further, no sendmail logs will indicate anything out of the ordinary in an
unpatched sendmail system.

Solutions and Workarounds
=========================

We advise sites running sendmail to upgrade as soon as possible.  If upgrade
is impossible at this time, we recommend you turn off the sendmail service.

To determine if sendmail is running on your  system, issue the command:

        # /etc/rc.d/sendmail status

To stop currently running sendmail processes, issue the command:

        # /etc/rc.d/sendmail stop

To ensure sendmail does not start after the next reboot, issue the command:

	# echo "sendmail=NO" >>/etc/rc.conf.d/sendmail

To allow sendmail to start once upgraded, please remove the sendmail=NO line
from the end of /etc/rc.conf.d/sendmail.

The following instructions describe how to upgrade your sendmail
binaries by updating your source tree and rebuilding and
installing a new version of sendmail.

* NetBSD-current:

	Systems running NetBSD-current dated from before 2003-03-04
	should be upgraded to NetBSD-current dated 2003-03-04 or later.

	The following directories need to be updated from the
	netbsd-current CVS branch (aka HEAD):
		src/gnu/dist/sendmail/sendmail

	To update from CVS, re-build, and re-install sendmail:
		# cd src
		# cvs update -d -P gnu/dist/sendmail/sendmail
		# cd gnu/usr.sbin/sendmail

		# make USETOOLS=no cleandir dependall
		# cd sendmail
		# make USETOOLS=no install


* NetBSD 1.6:

	Systems running NetBSD 1.6 sources dated from before
	2003-03-04 should be upgraded from NetBSD 1.6 sources dated
	2003-03-04 or later.

	NetBSD 1.6.1 will include the fix.

	The following directories need to be updated from the
	netbsd-1-6 CVS branch:
		src/gnu/dist/sendmail/sendmail

	To update from CVS, re-build, and re-install sendmail:

		# cd src
		# cvs update -d -P -r netbsd-1-6 gnu/dist/sendmail/sendmail
		# cd gnu/usr.sbin/sendmail

                # make USETOOLS=no cleandir dependall
                # cd sendmail
                # make USETOOLS=no install


* NetBSD 1.5, 1.5.1, 1.5.2, 1.5.3:

	Systems running NetBSD 1.5, 1.5.1, 1.5.2, or 1.5.3 sources dated
	from before 2003-03-04 should be upgraded from NetBSD 1.5.*
	sources dated 2003-03-04 or later.

	The following directories need to be updated from the
	netbsd-1-5 CVS branch:
		src/gnu/dist/sendmail

	To update from CVS, re-build, and re-install sendmail:

		# cd src
		# cvs update -d -P -r netbsd-1-5 gnu/dist/sendmail/sendmail
		# cd gnu/usr.sbin/sendmail

                # make USETOOLS=no cleandir dependall
                # cd sendmail
                # make USETOOLS=no install


Thanks To
=========

Andrew Brown for preparing the fixes for the in-tree sendmail.
Stoned Elipot for preparing the fixes for pkgsrc.

Revision History
================

	2003-03-03	Initial release


More Information
================

Advisories may be updated as new information becomes available.
The most recent version of this advisory (PGP signed) can be found at 
   ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-002.txt.asc

Information about NetBSD and NetBSD security can be found at 
http://www.NetBSD.ORG/ and  http://www.NetBSD.ORG/Security/.


Copyright 2003, The NetBSD Foundation, Inc.  All Rights Reserved.

$NetBSD: NetBSD-SA2003-002.txt,v 1.4 2003/03/04 03:34:36 groo Exp $


 
< 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
Hacker Halted 2014: Johnny Long Calls for Hackers for Charity Volunteers
RIPS – Static Source Code Analysis For PHP Vulnerabilities
Finding a Video Poker Bug Made These Guys Rich—Then Vegas Made Them Pay
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.