-----BEGIN PGP SIGNED MESSAGE----- ______________________________________________________________________________ SuSE Security Announcement Package: apache Date: Thursday, September 7th, 2000 20:00 MEST Affected SuSE versions: 6.1, 6.2, 6.3, 6.4, 7.0 Vulnerability Type: remote file viewing Severity (1-10): 2 SuSE default package: yes Other affected systems: none, as of the release date of this advisory Content of this advisory: 1) security vulnerability resolved: apache problem description, discussion, solution and upgrade information 2) credits: @stake 3) standard appendix (further information) ______________________________________________________________________________ 1) problem description, brief discussion, solution, upgrade information The default package selection in SuSE distributions includes apache. The configuration file that comes with the package contains two security relevant errors: a) Starting in SuSE-6.0, a section in apache's configuration file /etc/httpd/httpd.conf reads Alias /cgi-bin-sdb/ /usr/local/httpd/cgi-bin/ This allows remote users to read the cgi script sources of the server, located in /usr/local/httpd/cgi-bin/. b) Starting with SuSE-6.3, the distribution comes with the apache module WebDAV. It is contained in a seperate package, named mod_dav, and it is installed if selected by hand or if a network server configuration has been selected in the installation process. mod_dav is not contained in the default package selection. WebDAV stands for "Web-based Distributed Authoring and Versioning" and allows users to collaboratively edit and manage files on remote web servers (see http://www.webdav.org/ for further details!). If WebDAV is installed, apache will automatically run with the module activated. Opposing the recommendations on the WebDAV homepage under http://www.webdav.org/mod_dav/#security, there is no access control or authentification activated. This should most definitely be considered a security problem. The overall policy wrt activating an installed package will adopt to this conclusion in future releases of the SuSE Linux distribution. Problem a) and b) can be easily solved by changing the relevant parts of apache's configuration file /etc/httpd/httpd.conf: a) Change "Alias /cgi-bin-sdb/ /usr/local/httpd/cgi-bin/" to read: "ScriptAlias /cgi-bin-sdb/ /usr/local/httpd/cgi-bin/" Then, restart apache: `/sbin/init.d/apache restart' b) Change "DAV On" to read: "DAV Off". This removes the problem, regardless of the package being installed or not. Alternatively, you may wish to remove the mod_dav package using the command `rpm -e mod_dav'. Then, restart apache: `/sbin/init.d/apache restart' SuSE strongly recommends to have these changes applied as soon as possible. In addition, SuSE provides an update for the vulnerable misconfigured packages for the case that the admin of a SuSE Linux machine did not change the configuration file yet. Download the update package from locations desribed below and install the package with the command `rpm -Fhv file.rpm'. The md5sum for each file is in the line below. You can verify the integrity of the rpm files using the command `rpm --checksig --nogpg file.rpm', independently from the md5 signatures below. i386 Intel Platform: SuSE-7.0 ftp://ftp.suse.com/pub/suse/i386/update/7.0/n1/apache-1.3.12-107.i386.rpm 65bac933de7676ad3d8f63b32c608dad source rpm: ftp://ftp.suse.com/pub/suse/i386/update/7.0/zq1/apache-1.3.12-107.nosrc.rpm 5b0f9ce9b5e2c3a45356fcd9cdff07ba SuSE-6.4 ftp://ftp.suse.com/pub/suse/i386/update/6.4/n1/apache-1.3.12-107.i386.rpm a4bea77974c9d300ac13698e6f9812eb source rpm: ftp://ftp.suse.com/pub/suse/i386/update/6.4/zq1/apache-1.3.12-107.nosrc.rpm 39cf311c44bc760159c711c7ec97685f SuSE-6.3 ftp://ftp.suse.com/pub/suse/i386/update/6.3/n1/apache-1.3.9-70.i386.rpm 87d7a6426857e6f3afcf991c273fc1a5 source rpm: ftp://ftp.suse.com/pub/suse/i386/update/6.3/zq1/apache-1.3.9-70.nosrc.rpm ab81b76d0c4e6c765b77a69fd4143620 SuSE-6.2 ftp://ftp.suse.com/pub/suse/i386/update/6.2/n1/apache-1.3.6-52.i386.rpm d7c513bb4aad15a9f3dfb11ff1302405 source rpm: ftp://ftp.suse.com/pub/suse/i386/update/6.2/zq1/apache-1.3.6-52.nosrc.rpm bdabbdf7df648c3b4b8c5fd031e65cfc SuSE-6.1 ftp://ftp.suse.com/pub/suse/i386/update/6.1/n1/apache-1.3.6-53.i386.rpm db40e37d1931fb4e5830358b37acee5e source rpm: ftp://ftp.suse.com/pub/suse/i386/update/6.1/zq1/apache-1.3.6-53.nosrc.rpm 8ad785cb5f16456b8540982f1175b0b0 SuSE-6.0 Please use the update packages from the 6.1 directory for SuSE-6.0! Sparc Platform: SuSE-7.0 ftp://ftp.suse.com/pub/suse/sparc/update/7.0/n1/apache-1.3.12-109.sparc.rpm 66f87cb2100960ee72ae1110fa077424 source rpm: ftp://ftp.suse.com/pub/suse/sparc/update/7.0/zq1/apache-1.3.12-109.nosrc.rpm fff4bd1d37a7e9d430e8a60898865567 AXP Alpha Platform: SuSE-6.4 The update packages will be available soon at the usual location ftp://ftp.suse.com/pub/suse/axp/update/6.4/n1/ . Until then, please correct the configuration file by hand as described above. SuSE-6.3 The update packages will be available soon at the usual location ftp://ftp.suse.com/pub/suse/axp/update/6.3/n1/ . Until then, please correct the configuration file by hand as described above. SuSE-6.1 ftp://ftp.suse.com/pub/suse/axp/update/6.1/n1/apache-1.3.6-43.alpha.rpm eaca8f06c54c669d60f6a06fbe7301dc source rpm: ftp://ftp.suse.com/pub/suse/axp/update/6.1/zq1/apache-1.3.6-43.nosrc.rpm 2227de2e6d5faf268413cd474175d126 PPC Power PC Platform: SuSE-6.4 ftp://ftp.suse.com/pub/suse/ppc/update/6.4/n1/apache-1.3.12-108.ppc.rpm 0c830d4d33f2bac33d6a44ab0efc34e7 source rpm: ftp://ftp.suse.com/pub/suse/ppc/update/6.4/zq1/apache-1.3.12-108.nosrc.rpm f5fd7575d67e369f87fb2e5c47b61eaf SuSE-6.3 The update packages will be available soon at the usual location ftp://ftp.suse.com/pub/suse/ppc/update/6.3/n1/ . Until then, please correct the configuration file by hand as described above. ______________________________________________________________________________ 2) Credits: SuSE would like to express its sincere appreciation for the efforts and the working style of the Cerberus Security Team/@Stake Inc., in particular to mnemonix (David Litchfield ) and to weld . Have a look at their website at http://www.atstake.com/ for further information. ______________________________________________________________________________ 3) standard appendix: SuSE runs two security mailing lists to which any interested party may subscribe: suse-security@suse.com - general/linux/SuSE security discussion. All SuSE security announcements are sent to this list. To subscribe, send an email to . suse-security-announce@suse.com - SuSE's announce-only mailing list. Only SuSE's security annoucements are sent to this list. To subscribe, send an email to . For general information or the frequently asked questions (faq) send mail to: or respectively. =============================================== SuSE's security contact is . =============================================== Regards, Roman Drahtmüller. - - -- - - | Roman Drahtmüller // "Caution: Cape does | SuSE GmbH - Security Phone: // not enable user to fly." | Nürnberg, Germany +49-911-740530 // (Batman Costume warning label) | - - ______________________________________________________________________________ The information in this advisory may be distributed or reproduced, provided that the advisory is not modified in any way. 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 2048/3D25D3D9 1999/03/06 SuSE Security Team - -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3i mQENAzbhLQQAAAEIAKAkXHe0lWRBXLpn38hMHy03F0I4Sszmoc8aaKJrhfhyMlOA BqvklPLE2f9UrI4Xc860gH79ZREwAgPt0pi6+SleNFLNcNFAuuHMLQOOsaMFatbz JR9i4m/lf6q929YROu5zB48rBAlcfTm+IBbijaEdnqpwGib45wE/Cfy6FAttBHQh 1Kp+r/jPbf1mYAvljUfHKuvbg8t2EIQz/5yGp+n5trn9pElfQO2cRBq8LFpf1l+U P7EKjFmlOq+Gs/fF98/dP3DfniSd78LQPq5vp8RL8nr/o2i7jkAQ33m4f1wOBWd+ cZovrKXYlXiR+Bf7m2hpZo+/sAzhd7LmAD0l09kABRG0JVN1U0UgU2VjdXJpdHkg VGVhbSA8c2VjdXJpdHlAc3VzZS5kZT6JARUDBRA24S1H5Fiyh7HKPEUBAVcOB/9b yHYji1/+4Xc2GhvXK0FSJN0MGgeXgW47yxDL7gmR4mNgjlIOUHZj0PEpVjWepOJ7 tQS3L9oP6cpj1Fj/XxuLbkp5VCQ61hpt54coQAvYrnT9rtWEGN+xmwejT1WmYmDJ xG+EGBXKr+XP69oIUl1E2JO3rXeklulgjqRKos4cdXKgyjWZ7CP9V9daRXDtje63 Om8gwSdU/nCvhdRIWp/Vwbf7Ia8iZr9OJ5YuQl0DBG4qmGDDrvImgPAFkYFzwlqo choXFQ9y0YVCV41DnR+GYhwl2qBd81T8aXhihEGPIgaw3g8gd8B5o6mPVgl+nJqI BkEYGBusiag2pS6qwznZiQEVAwUQNuEtBHey5gA9JdPZAQFtOAf+KVh939b0J94u v/kpg4xs1LthlhquhbHcKNoVTNspugiC3qMPyvSX4XcBr2PC0cVkS4Z9PY9iCfT+ x9WM96g39dAF+le2CCx7XISk9XXJ4ApEy5g4AuK7NYgAJd39PPbERgWnxjxir9g0 Ix30dS30bW39D+3NPU5Ho9TD/B7UDFvYT5AWHl3MGwo3a1RhTs6sfgL7yQ3U+mvq MkTExZb5mfN1FeaYKMopoI4VpzNVeGxQWIz67VjJHVyUlF20ekOz4kWVgsxkc8G2 saqZd6yv2EwqYTi8BDAduweP33KrQc4KDDommQNDOXxaKOeCoESIdM4p7Esdjq1o L0oixF12Cg== =pIeS - -----END PGP PUBLIC KEY BLOCK----- -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv iQEVAwUBObfXOHey5gA9JdPZAQHhzwf+KIt1AysU1WAwQXlQTssfVFEM0nh6fT2O FRqoAF+2FpC3FaTZBmTqYTuNtegSG0cndg/NzWy2Q2CTFxbEzm7aJqOxtS/R6Am2 GPKV6k51gW0lmL7Pl9j15s9kngW/U9fRnMX/SCw4CiHnuMTD+AuERFYEQOAVFaQy Qvw03BYRJnr36DOl3PUovir5TyIrBQloPr6IxfJPvL/mbHz63h8ISBgLjfITpAY0 7FJtUN4SM86pXcuO7LGyOTQciAzvIChSqelaZnqGEUVhmGBcTzTsaoMrwf43w2NP KQ61Ez34EwNN1AA/jhY9ARdenNUKCTXcWC6hFcXibMKTdqgJJq6waA== =x36R -----END PGP SIGNATURE-----