SuSE: buffer overflow in httpd
Summary
______________________________________________________________________________
SuSE Security Announcement
Package: apache
Announcement-ID: SuSE-SA:2002:022
Date: Tue Jun 18 2002
Affected products: 6.4, 7.0, 7.1, 7.2, 7.3, 8.0
SuSE Linux Database Server,
SuSE eMail Server III,
SuSE Linux Enterprise Server
Vulnerability Type: buffer overflow
Severity (1-10): 6
SuSE default package: 6.4 and 7.0: Yes; otherwise: No.
Content of this advisory:
1) security vulnerability resolved: buffer overflow in httpd
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
There is a bug in the way the Apache web server handles HTTP requests
that use "chunked mode". Chunked mode is a HTTP 1.1 feature that
allows a client to send data as a sequence of chunks rather than en
bloc. This is useful if it doesn't know the overall length of the
content at the time it starts transmitting.
Previous versions of apache did not properly detect incorrectly
encoded chunks, which caused a buffer overflow on the stack.
On 32bit architectures, this overflow cannot be exploited to inject
code into the httpd process and gain access to the machine, because
the overflow will always result in a segmentation fault, and the
process will terminate.
On 64bit architectures, it may be possible for an attacker to a
exploit the buffer overflow to execute arbitary code with
the privileges of the httpd process (user wwwrun on SuSE Linux).
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 following command to apply
the update:
rpm --nodeps -Fvh apache*.rpm mod_ssl*.rpm
If you have modified the configuration file /etc/httpd/httpd.conf,
upgrading will backup this file to /etc/httpd/httpd.conf.rpmsave.
If this is the case, make sure to restore this backup file.
Finally, restart the web server using /usr/sbin/rcapache restart.
Our maintenance customers are being notified individually. The packages
are being offered to install from the maintenance web.
The SuSE security team wishes to thank Mark Cox for advance notification
on this issue.
For additional information, please refer to
apache
Due to heat problems, we were not able to build the update
packages on all architectures. As soon as possible, we will
make update packages for the remaining platforms available
on our FTP site.
i386 Intel Platform:
SuSE-8.0
58752b3a35523263428c325b340c9ae8
b52837fe3f8512155ae93f7462526841
f55f34491ea29aa6d534ffe9b0210ede
62bffd68432349aef7e025cfc6b24daa
5b3af92583dcd86144a045b6bf84c47e
d95ff5cc4c7810da14bcb8f1cb3e57e8
47aa0feb28b75f31acec281ee39252be
e6da73d9cd8d7bd270714ff9b39d6b53
source rpm:
e1282aa0b6e691f7f30e87578699677c
SuSE-7.3
99162fb48a80c55639d027d5474c11cc
10e46a9803cd4e75cbba3633a585e1bb
557dfb6d2f3630d97df0edf22d9fdd17
b75dd8a50cd80fd8da3eff201b3ee457
source rpm:
660d7a2bc270b7dd85f56c20b4690115
SuSE-7.2
f0970f90132c41cc4af0ae1c315d1e29
92dc6842465be42dd0a957becd0f1100
224735b838274f7bef5ed01b9f829561
b48cb9c0809e05b1e1333a55b108632f
source rpm:
481c7ff778550f9dc5228be61f91931c
SuSE-7.1
b1fd3fa8c69b1349d99904aa6b99e9a8
81d80d00691f65f377ca84651e88cd95
source rpm:
37c0af5349df6a3d3cb88a5e192275ec
SuSE-7.0
68e855110449a083ede78566cb6a5b88
7eb43089d2d98e8c3349ce4aed592eb2
source rpm:
c30cc941ac035733395e9d481f3b4e57
SuSE-6.4
1b11876c0ee94ff754a23d514484881f
1d4201fc49562e9fadb9d7305c2e6a1f
source rpm:
3475601e8a2965c3881fc4a1f7f7c059
PPC Platform:
SuSE-7.3
2a0b2f39c6125ea3746463a22cba969a
d0c224aa4bed25323c7411c93a6a7dc9
ff36210534c8dc01f446d98b9d64db7d
d69d377d5d3d1e8dcbabe639e28dc891
source rpm:
311821ffad1c8a00299e019e23c8d869
SuSE-7.1
ecbee32eecfe72c072af6c18c37427f4
4172e8b5ca7282382c7737354189f4e8
source rpm:
d133f180b66d191d6167f55e0d010c54
SuSE-7.0
ea9d2b6134bd916b6aab2c02fedb5037
3b05ef7a9b2cd4e32e29c1b2f3f472e4
source rpm:
db5283dbf5b943724630b4d50441f17c
SuSE-6.4
ab9e840afdc3ef4c8a74583ffe2d99b4
2ae0751a1b8fad7f3cba97a4ed4d568e
source rpm:
cbe2e9b6b4e10411cc71ee5817cc2ef5
______________________________________________________________________________
2) Pending vulnerabilities in SuSE Distributions and Workarounds:
- mozilla
Cross-dependencies between mozilla and other packages in SuSE Linux
products keep us from providing version upgrades for the mozilla
packages. Fixing security bugs in our packages is usually done by
adding the necessary patches to the existing version to ensure the
compatibility and consistency that is expected from our products.
In some cases (as with the mozilla package) the complexity of the
issue does not allow to add patches any more. By consequence,
security related issues in mozilla cannot be addressed.
As a service to our user community, we provide packages of newer
mozilla versions at .
These packages have been verified to run fine; they are not located
in the update directory of the distribution in question because
we cannot make any claims about the compatibility with the other
packages in the product. Security-aware users are encouraged to
install the packages from the projects/ directory.
- ghostscript
Red Hat released a security announcement concerning a problem in
ghostscript, which could be exploited to gain privilege of the print
server user. We are investigating whether SuSE Linux is affected.
- kernel netfilter update
we are in the process of preparing a kernel update that will include
a security fix for a minor netfilter bug.
- fetchmail
we are in the process of releasing a security update for fetchmail
that corrects a vulnerability that could be exploited by hostile
mail servers.
______________________________________________________________________________
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
References