Mailinglist Archive: opensuse-security (757 mails)

< Previous Next >
SuSE Security Announcement: sudo (SuSE-SA:2002:002)
  • From: Sebastian Krahmer <krahmer@xxxxxxx>
  • Date: Mon, 14 Jan 2002 13:35:07 +0100 (CET)
  • Message-id: <Pine.LNX.4.33.0201141334220.16090-100000@xxxxxxxxxxxxxxx>

-----BEGIN PGP SIGNED MESSAGE-----

______________________________________________________________________________

SuSE Security Announcement

Package: sudo
Announcement-ID: SuSE-SA:2002:002
Date: Mon Jan 14 13:00:00 CET 2002
Affected SuSE versions: 7.0, 7.1, 7.2, 7.3
Vulnerability Type: local privilege escalation
Severity (1-10): 5
SuSE default package: yes
Other affected systems: all recent sudo installations

Content of this advisory:
1) security vulnerability resolved: Sendmail invocation as root.
problem description, discussion, solution and upgrade information
2) pending vulnerabilities, solutions, workarounds
3) standard appendix (further information)

______________________________________________________________________________

1) problem description, brief discussion, solution, upgrade information

The SuSE Security Team discovered a bug in the sudo program which is
installed setuid to root. Attackers may trick "sudo" to log failed sudo
invocations executing the sendmail program with root-privileges and not
completely cleaned environment.
Depending on the installed mail-package this may enable attackers to
execute code as root. This is the case for at least the postfix mailer.
Other mailers may be exploited in a similar way.
This bug has been fixed by having "sudo" invoke the sendmail command with
user-privileges instead.
Please update your sudo package regardless of the mail-packages you are
using. As a temporary workaround you may remove the s-bit from sudo with
the "chmod -s `which sudo`" command, which will disable the sudo
functionality.

Please download the update package for your distribution and verify its
integrity by the methods listed in section 3) of this announcement.
Then, install the package using the command "rpm -Fhv file.rpm" to apply
the update.

i386 Intel Platform:

SuSE-7.3
ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap1/sudo-1.6.3p7-71.i386.rpm
b98f00f761274530bfad3486253bed53
source rpm:
ftp://ftp.suse.com/pub/suse/i386/update/7.3/zq1/sudo-1.6.3p7-71.src.rpm
d046509163e1fc6d4143a8db1c2283d2

SuSE-7.2
ftp://ftp.suse.com/pub/suse/i386/update/7.2/ap1/sudo-1.6.3p6-86.i386.rpm
ee01b7b2ba2e73376eb3c358ccb5b768
source rpm:
ftp://ftp.suse.com/pub/suse/i386/update/7.2/zq1/sudo-1.6.3p6-86.src.rpm
e8cbaa81d9a806169f0c235ed6bc5d6a

SuSE-7.1
ftp://ftp.suse.com/pub/suse/i386/update/7.1/ap1/sudo-1.6.3p6-85.i386.rpm
7ba4ae9fb72348e0d1909c9ea79be5e0
source rpm:
ftp://ftp.suse.com/pub/suse/i386/update/7.1/zq1/sudo-1.6.3p6-85.src.rpm
a10b4ecae46aaff271f59c7dd726d8d0

SuSE-7.0
ftp://ftp.suse.com/pub/suse/i386/update/7.0/ap1/sudo-1.6.3p6-85.i386.rpm
345a8e541b66d5016b939560a525d47c
source rpm:
ftp://ftp.suse.com/pub/suse/i386/update/7.0/zq1/sudo-1.6.3p6-85.src.rpm
58afdb9b1e6c9e19440ee4047fff1105


Sparc Platform:

SuSE-7.3
ftp://ftp.suse.com/pub/suse/sparc/update/7.3/ap1/sudo-1.6.3p7-26.sparc.rpm
94139dd96c9be67d4e41d38abee95434
source rpm:
ftp://ftp.suse.com/pub/suse/sparc/update/7.3/zq1/sudo-1.6.3p7-26.src.rpm
b5f16c705cdcf85754037296b8847b20

SuSE-7.1
ftp://ftp.suse.com/pub/suse/sparc/update/7.1/ap1/sudo-1.6.3p6-32.sparc.rpm
915313678145418569c54332760f989a
source rpm:
ftp://ftp.suse.com/pub/suse/sparc/update/7.1/zq1/sudo-1.6.3p6-32.src.rpm
2fd809a5f53992aa23c732d9466e274a

SuSE-7.0
ftp://ftp.suse.com/pub/suse/sparc/update/7.0/ap1/sudo-1.6.3p6-33.sparc.rpm
0c1dce308b37b31ea943369ba23e3dab
source rpm:
ftp://ftp.suse.com/pub/suse/sparc/update/7.0/zq1/sudo-1.6.3p6-33.src.rpm
da4786d3e8798e6c31d4eea338e9cd93


AXP Alpha Platform:

SuSE-7.1
ftp://ftp.suse.com/pub/suse/axp/update/7.1/ap1/sudo-1.6.3p6-36.alpha.rpm
eb020b7e212e0d9cb85578a1b49e3529
source rpm:
ftp://ftp.suse.com/pub/suse/axp/update/7.1/zq1/sudo-1.6.3p6-36.src.rpm
fb2652e480282dfecbbb7e6db8ec7bec

SuSE-7.0
ftp://ftp.suse.com/pub/suse/axp/update/7.0/ap1/sudo-1.6.3p6-37.alpha.rpm
35b6ea7ebac976d8b65f9f09b574e107
source rpm:
ftp://ftp.suse.com/pub/suse/axp/update/7.0/zq1/sudo-1.6.3p6-37.src.rpm
0ac6c3001d727f3774a57cc76eb7d4c1


Power PC Platform:

SuSE-7.3
ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap1/sudo-1.6.3p7-51.ppc.rpm
3ff70447a81e3f4c88b44af2445d4f6d
source rpm:
ftp://ftp.suse.com/pub/suse/ppc/update/7.3/zq1/sudo-1.6.3p7-51.src.rpm
f71b62019ea2f49e0202f74033f07496

SuSE-7.1
ftp://ftp.suse.com/pub/suse/ppc/update/7.1/ap1/sudo-1.6.3p6-42.ppc.rpm
3bef306a5a8b782fdda0bdd77758b290
source rpm:
ftp://ftp.suse.com/pub/suse/ppc/update/7.1/zq1/sudo-1.6.3p6-42.src.rpm
d9475c12754ae3c87cac72484dc90bbc

SuSE-7.0
ftp://ftp.suse.com/pub/suse/ppc/update/7.0/ap1/sudo-1.6.3p6-41.ppc.rpm
54d98aa831bab75529731d0789f01cbd
source rpm:
ftp://ftp.suse.com/pub/suse/ppc/update/7.0/zq1/sudo-1.6.3p6-41.src.rpm
c61d3c629eefaf0eb041a630414d6580


______________________________________________________________________________

2) Pending vulnerabilities in SuSE Distributions and Workarounds:

- stunnel
A format string error in the stunnel ssl wrapper was reported on
bugtraq in December 2001. SuSE Linux 7.2 and 7.3 as well as SLES7
contain the stunnel package in Version 3.14, which should be
vulnerable to the format string bug according to the reports on
bugtraq. However, the responsible portion of code does not expose the
format string problem with calls to fdprintf(). Therefore, SuSE
stunnel packages are not vulnerable to the security problem.

- thttpd
The thttpd daemon contained several off-by-one overflows. Due to internal
organization of the variables affected by these overflows, they seem
not exploitable. However, these bugs have been fixed. Please update to
the newest thttpd packages.

- pine
The popular mail client "pine" was found vulnerable to an attack where
shell metacharacters inside an URL could be used to execute arbitrary
commands if pine passes the URL to an external viewer on the
commandline. The pine packages on SuSE products are not vulnerable to
this weakness because they contain a patch that works around this
problem since it is not new.


______________________________________________________________________________

3) standard appendix: authenticity verification, additional information

- Package authenticity verification:

SuSE update packages are available on many mirror ftp servers all over
the world. While this service is being considered valuable and important
to the free and open source software community, many users wish to be
sure about the origin of the package and its content before installing
the package. There are two verification methods that can be used
independently from each other to prove the authenticity of a downloaded
file or rpm package:
1) md5sums as provided in the (cryptographically signed) announcement.
2) using the internal gpg signatures of the rpm package.

1) execute the command
md5sum <name-of-the-file.rpm>
after you downloaded the file from a SuSE ftp server or its mirrors.
Then, compare the resulting md5sum with the one that is listed in the
announcement. Since the announcement containing the checksums is
cryptographically signed (usually using the key security@xxxxxxx),
the checksums show proof of the authenticity of the package.
We disrecommend to subscribe to security lists which cause the
email message containing the announcement to be modified so that
the signature does not match after transport through the mailing
list software.
Downsides: You must be able to verify the authenticity of the
announcement in the first place. If RPM packages are being rebuilt
and a new version of a package is published on the ftp server, all
md5 sums for the files are useless.

2) rpm package signatures provide an easy way to verify the authenticity
of an rpm package. Use the command
rpm -v --checksig <file.rpm>
to verify the signature of the package, where <file.rpm> is the
filename of the rpm package that you have downloaded. Of course,
package authenticity verification can only target an uninstalled rpm
package file.
Prerequisites:
a) gpg is installed
b) The package is signed using a certain key. The public part of this
key must be installed by the gpg program in the directory
~/.gnupg/ under the user's home directory who performs the
signature verification (usually root). You can import the key
that is used by SuSE in rpm packages for SuSE Linux by saving
this announcement to a file ("announcement.txt") and
running the command (do "su -" to be root):
gpg --batch; gpg < announcement.txt | gpg --import
SuSE Linux distributions version 7.1 and thereafter install the
key "build@xxxxxxx" upon installation or upgrade, provided that
the package gpg is installed. The file containing the public key
is placed at the toplevel directory of the first CD (pubring.gpg)
and at ftp://ftp.suse.com/pub/suse/pubring.gpg-build.suse.de .


- SuSE runs two security mailing lists to which any interested party may
subscribe:

suse-security@xxxxxxxx
- general/linux/SuSE security discussion.
All SuSE security announcements are sent to this list.
To subscribe, send an email to
<suse-security-subscribe@xxxxxxxx>.

suse-security-announce@xxxxxxxx
- SuSE's announce-only mailing list.
Only SuSE's security annoucements are sent to this list.
To subscribe, send an email to
<suse-security-announce-subscribe@xxxxxxxx>.

For general information or the frequently asked questions (faq)
send mail to:
<suse-security-info@xxxxxxxx> or
<suse-security-faq@xxxxxxxx> respectively.

=====================================================================
SuSE's security contact is <security@xxxxxxxx> or <security@xxxxxxx>.
The <security@xxxxxxx> public key is listed below.
=====================================================================
______________________________________________________________________________

The information in this advisory may be distributed or reproduced,
provided that the advisory is not modified in any way. In particular,
it is desired that the cleartext signature shows proof of the
authenticity of the text.
SuSE GmbH makes no warranties of any kind whatsoever with respect
to the information contained in this security advisory.

Type Bits/KeyID Date User ID
pub 2048R/3D25D3D9 1999-03-06 SuSE Security Team <security@xxxxxxx>
pub 1024D/9C800ACA 2000-10-19 SuSE Package Signing Key <build@xxxxxxx>

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

mQENAzbhLQQAAAEIAKAkXHe0lWRBXLpn38hMHy03F0I4Sszmoc8aaKJrhfhyMlOA
BqvklPLE2f9UrI4Xc860gH79ZREwAgPt0pi6+SleNFLNcNFAuuHMLQOOsaMFatbz
JR9i4m/lf6q929YROu5zB48rBAlcfTm+IBbijaEdnqpwGib45wE/Cfy6FAttBHQh
1Kp+r/jPbf1mYAvljUfHKuvbg8t2EIQz/5yGp+n5trn9pElfQO2cRBq8LFpf1l+U
P7EKjFmlOq+Gs/fF98/dP3DfniSd78LQPq5vp8RL8nr/o2i7jkAQ33m4f1wOBWd+
cZovrKXYlXiR+Bf7m2hpZo+/sAzhd7LmAD0l09kABRG0JVN1U0UgU2VjdXJpdHkg
VGVhbSA8c2VjdXJpdHl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PGP PUBLIC KEY BLOCK-----

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQEVAwUBPELOTney5gA9JdPZAQGJmQf7BQ9oIgRO4jteio9B+ym1xuc+zX20i4I/
OudFcsbx7F+cjNS4mTXAUtH3E+lipL9TAOQRywGejHMOUNrkwiO4SxtEK7X06my9
vVlQL/D+5mGPXxjxM1pNyQPAmt8goZpLbJwhQmZ1Sz96WCsWgrQ3f4IWvdjkxEDE
wXlOGQ5V3iWsNk9+K/9G9SGFOy1Pr4ropj0QlK8pLV3+O4TfXkhU0m+R6aLiqeE5
PLrvmBTk2tEwDR4wUvlMuCw9PxYu+p3gDDertZlN0k/JT4Qjb/kzKD/HIeWYUfnY
2iCC1Wntdd0dd6COPlUUPNT91O9zAa4v7PVTxBniaijUF9TA0UUEIQ==
=tIhZ
-----END PGP SIGNATURE-----

--
~
~ perl self.pl
~ $_='print"\$_=\47$_\47;eval"';eval
~ krahmer@xxxxxxx - SuSE Security Team
~



< Previous Next >
Follow Ups