SUSE Security Announcement
Package: dhcp/dhcp-server
Announcement-ID: SuSE-SA:2004:019
Date: Tuesday, Jun 22st 2004 21:00 MEST
Affected products: 8.0, 8.1, 8.2, 9.0, 9.1
SUSE Linux Database Server,
SUSE eMail Server III, 3.1
SUSE Linux Enterprise Server 7, 8
SUSE Linux Firewall on CD/Admin host
SUSE Linux Connectivity Server
SUSE Linux Office Server
Vulnerability Type: remote system compromise
Severity (1-10): 5
SUSE default package: yes
Cross References: VU#317350
VU#654390
Content of this advisory:
1) security vulnerability resolved: buffer overflow
problem description, discussion, solution and upgrade information
2) pending vulnerabilities, solutions, workarounds:
– icecast
– sitecopy
– cadaver
– OpenOffice_org
– tripwire
– postgresql
– lha
– XDM
– mod_proxy
3) standard appendix (further information)
1) problem description, brief discussion, solution, upgrade information
The Dynamic Host Configuration Protocol (DHCP) server is used to
configure clients that dynamically connect to a network (WLAN
hotspots, customer networks, …).
The CERT informed us about a buffer overflow in the logging code of the
server that can be triggered by a malicious client by supplying multiple
hostnames. The hostname strings are concatenated and copied in a
fixed size buffer without checking the buffer bounds.
Other possible buffer overflow conditions exist in using vsprintf()
instead of vsnprintf(). This behavior can be configured during compile-
time. The dhcp/dhcp-server package coming with SUSE LINUX used the
vulnerable vsprintf() function.
Since SuSE Linux 8.1/SuSE Linux Enterprise Server 8 the DHCP server runs
as non-root user in a chroot jail. This setup limits the impact of a
successful attack.
There is no temporary workaround known.
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.
Our maintenance customers are being notified individually. The packages
are being offered to install from the maintenance web.
x86 Platform:
SUSE Linux 9.1:
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/dhcp-server-3.0.1rc13-28.15.i586.rpm
6de5ea6efc87a3fcd3ed0ad6b9500a72
patch rpm(s):
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/dhcp-server-3.0.1rc13-28.15.i586.patch.rpm
e64d5f02268edf0cd4ecac5e917c2872
source rpm(s):
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/src/dhcp-3.0.1rc13-28.15.src.rpm
6be43d62ac4987c21d37bbfaf474d604
SUSE Linux 9.0:
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/dhcp-server-3.0.1rc12-71.i586.rpm
617270aba8651abb59a492bfe9b60018
patch rpm(s):
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/dhcp-server-3.0.1rc12-71.i586.patch.rpm
4a90fa43709f38a2c6b3dbcf591a0adb
source rpm(s):
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/src/dhcp-3.0.1rc12-71.src.rpm
ac606c8da1f8f4eae538ea110c639432
SUSE Linux 8.2:
ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/dhcp-server-3.0.1rc10-61.i586.rpm
28020cc4c5d8a57cf5da5fbb1fcb682c
patch rpm(s):
ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/dhcp-server-3.0.1rc10-61.i586.patch.rpm
425546108271103762940ee6407ee03c
source rpm(s):
ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/src/dhcp-3.0.1rc10-3.src.rpm
a0a1ef9fbc13ac94bd9371eea33a6113
SUSE Linux 8.1:
ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/dhcp-server-3.0.1rc9-144.i586.rpm
77ecf5ffef83bcf36636c1330bdfc4be
patch rpm(s):
ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/dhcp-server-3.0.1rc9-144.i586.patch.rpm
d505bd9f0787eb1dca75a4b6908d1ce9
source rpm(s):
ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/src/dhcp-3.0.1rc9-5.src.rpm
877b2bc5e21ad6f4e30968df29cb7c7e
SUSE Linux 8.0:
ftp://ftp.suse.com/pub/suse/i386/update/8.0/n2/dhcp-server-3.0.1rc6-22.i386.rpm
efad137cb0835d11f789a0a41de88c85
patch rpm(s):
ftp://ftp.suse.com/pub/suse/i386/update/8.0/n2/dhcp-server-3.0.1rc6-22.i386.patch.rpm
68d11afae967685d18ed9e4864c29972
source rpm(s):
ftp://ftp.suse.com/pub/suse/i386/update/8.0/zq1/dhcp-3.0.1rc6-11.src.rpm
ae3bfa6b54b824a1283b9acd6b354410
x86-64 Platform:
SUSE Linux 9.1:
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/dhcp-server-3.0.1rc13-28.15.x86_64.rpm
e0dce22d7d0a67b22e7ee144761ab56d
patch rpm(s):
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/dhcp-server-3.0.1rc13-28.15.x86_64.patch.rpm
9a14ca99e4284e3d91bd7d5e904c1714
source rpm(s):
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/src/dhcp-3.0.1rc13-28.15.src.rpm
e7e668a18dff093d7d53f3b5c5ce6a03
SUSE Linux 9.0:
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/dhcp-server-3.0.1rc12-71.x86_64.rpm
d054492651ea0fc968d537540e16cb5b
patch rpm(s):
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/dhcp-server-3.0.1rc12-71.x86_64.patch.rpm
d073e74b3fe9150108aaf37ab1e2135f
source rpm(s):
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/src/dhcp-3.0.1rc12-71.src.rpm
b5702a32cb1caad2f8d711a5e88bd97e
______________________________________________________________________________
2) Pending vulnerabilities in SUSE Distributions and Workarounds:
– icecast
The icecast service is vulnerable to a remote denial-of-service
attack. Update packages will be available soon.
– sitecopy
The sitecopy package includes a vulnerable version of the
neon library (CAN-2004-0179, CAN-2004-0398). Update packages will be
available soon.
– cadaver
The cadaver package includes a vulnerable version of the
neon library (CAN-2004-0179, CAN-2004-0398). Update packages will be
available soon.
– OpenOffice_org
The OpenOffice_org package includes a vulnerable version
of the neon library (CAN-2004-0179, CAN-2004-0398). Update packages
will be available soon.
– tripwire
A format string bug in tripwire can be exploited locally
to gain root permissions. Update packages will be available soon.
– postgresql
A buffer overflow in psqlODBC could be exploited to crash the
application using it. E.g. a PHP script that uses ODBC to access a
PostgreSQL database can be utilized to crash the surrounding Apache
web-server. Other parts of PostgreSQL are not affected.
Update packages will be available soon.
– lha
Minor security fix for a buffer overflow while handling command
line options. This buffer overflow could be exploited in conjunction
with other mechanisms to gain higher privileges or access the system
remotely.
Packages are available now.
– XDM/XFree86
This update resolves random listening to ports by XDM
that allows to connect via the XDMCP. SUSE LINUX 9.1
is affected only.
New packages are currently being tested and will be
available soon.
– mod_proxy
A buffer overflow can be triggered by malicious remote
servers that return a negative Content-Length value.
This vulnerability can be used to execute commands remotely
New packages are currently being tested and will be
available soon.
______________________________________________________________________________
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
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 ),
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
to verify the signature of the package, where
filename of the rpm package that you have downloaded. Of course,
package authenticity verification can only target an un-installed 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@suse.de” upon installation or upgrade, provided that
the package gpg is installed. The file containing the public key
is placed at the top-level directory of the first CD (pubring.gpg)
and at ftp://ftp.suse.com/pub/suse/pubring.gpg-build.suse.de .