Mandrake Linux Security Advisory : apache (MDKSA-2001:077-1)

High Nessus Plugin ID 13892


The remote Mandrake Linux host is missing one or more security updates.


A problem exists with all Apache servers prior to version 1.3.19. The vulnerablity could allow directory indexing and path discovery on the vulnerable servers with a custom crafted request consisting of a long path name created artificially by using numerous slashes. This can cause modules to misbehave and return a listing of the directory contents by avoiding the error page.

Another vulnerability found by Procheckup ( was that all directories, by default, were configured as browseable so an attacker could list all files in the targeted directories. As well, Procheckup found that the perl-proxy/management software on port 8200 would supply dangerous information to attackers due to a perl status script that was enabled. We have disabled directory browsing by default and have disabled the perl status scripts.

Update :

The previous updates for 7.2 had some problems with mod_perl segfaulting and with mod_ssl under 7.1. As well, ApacheJServ was not included for 7.2 and 8.0.

Other security fixes were introduced in Apache 1.3.22. A vulnerability in the split-logfile support program would allow any file with a .log extension on the system to be written to due to a specially crafted Host: header.

This update provides Apache 1.3.22 for all supported platforms, and the packages for 7.1, 7.2, and Corporate Server 1.0.1 now use the same modular design as 8.0 and later versions. You will be unable to safely upgrade these packages and will need to take a few very important manual steps to ensure a proper upgrade (this is only applicable to 7.2 and earlier distributions; this is not required for 8.0 and later) :

1) Stop apache (service httpd stop) 2) Completely backup /etc/httpd/conf/* 3) Backup /var/log/httpd (the uninstall scripts of the previous apache versions may remove the log files) 4) Remove the currently installed apache, mod_perl, mod_ssl, and php packages from the system. You can do this using :

urpme apache; urpme php

or (if you are using 7.2) :

urpme apache-common; urpme php

5) Upgrade mm/mm-devel and (if you are upgrading 7.1 or Corporate Server) the new perl packages 6) Install the download upgrade packages of apache components using 'rpm -ivh *.rpm' 7) Restore your /var/log/httpd backup 8) Merge your configuration backups with the new config files (most notably you will need to edit commonhttpd.conf) 9) Start apache (service httpd start)

This update also introduces PHP 4.0.6 to Linux-Mandrake 7.1, 7.2, and Corporate Server.


Update the affected packages.

See Also

Plugin Details

Severity: High

ID: 13892

File Name: mandrake_MDKSA-2001-077.nasl

Version: $Revision: 1.20 $

Type: local

Published: 2004/07/31

Modified: 2017/07/19

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:ApacheJServ, p-cpe:/a:mandriva:linux:HTML-Embperl, p-cpe:/a:mandriva:linux:apache, p-cpe:/a:mandriva:linux:apache-common, p-cpe:/a:mandriva:linux:apache-conf, p-cpe:/a:mandriva:linux:apache-devel, p-cpe:/a:mandriva:linux:apache-manual, p-cpe:/a:mandriva:linux:apache-mod_perl, p-cpe:/a:mandriva:linux:apache-modules, p-cpe:/a:mandriva:linux:apache-source, p-cpe:/a:mandriva:linux:apache-suexec, p-cpe:/a:mandriva:linux:mm, p-cpe:/a:mandriva:linux:mm-devel, p-cpe:/a:mandriva:linux:mod_auth_external, p-cpe:/a:mandriva:linux:mod_auth_radius, p-cpe:/a:mandriva:linux:mod_frontpage, p-cpe:/a:mandriva:linux:mod_gzip, p-cpe:/a:mandriva:linux:mod_perl-common, p-cpe:/a:mandriva:linux:mod_perl-devel, p-cpe:/a:mandriva:linux:mod_php, p-cpe:/a:mandriva:linux:mod_ssl, p-cpe:/a:mandriva:linux:mod_sxnet, p-cpe:/a:mandriva:linux:perl, p-cpe:/a:mandriva:linux:perl-base, p-cpe:/a:mandriva:linux:perl-devel, p-cpe:/a:mandriva:linux:php, p-cpe:/a:mandriva:linux:php-common, p-cpe:/a:mandriva:linux:php-dba_gdbm_db2, p-cpe:/a:mandriva:linux:php-devel, p-cpe:/a:mandriva:linux:php-gd, p-cpe:/a:mandriva:linux:php-imap, p-cpe:/a:mandriva:linux:php-ldap, p-cpe:/a:mandriva:linux:php-manual_en, p-cpe:/a:mandriva:linux:php-mysql, p-cpe:/a:mandriva:linux:php-pgsql, p-cpe:/a:mandriva:linux:php-readline, cpe:/o:mandrakesoft:mandrake_linux:7.1, cpe:/o:mandrakesoft:mandrake_linux:7.2, cpe:/o:mandrakesoft:mandrake_linux:8.0, cpe:/o:mandrakesoft:mandrake_linux:8.1

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Exploit Available: true

Exploit Ease: No exploit is required

Patch Publication Date: 2001/11/27

Reference Information

CVE: CVE-2001-0730, CVE-2001-0731, CVE-2001-0925, CVE-2001-1449

BID: 2503, 3009

MDKSA: 2001:077-1