Mandrake Linux Security Advisory : apache2 (MDKSA-2003:096-1)
High Nessus Plugin ID 14078
SynopsisThe remote Mandrake Linux host is missing one or more security updates.
DescriptionA problem was discovered in Apache2 where CGI scripts that output more than 4k of output to STDERR will hang the script's execution which can cause a Denial of Service on the httpd process because it is waiting for more input from the CGI that is not forthcoming due to the locked write() call in mod_cgi.
On systems that use scripts that output more than 4k to STDERR, this could cause httpd processes to hang and once the maximum connection limit is reached, Apache will no longer respond to requests.
The updated packages provided use the latest mod_cgi.c from the Apache 2.1 CVS version.
Users may have to restart apache by hand after the upgrade by issuing a 'service httpd restart'.
The previous update introduced an experimental mod_cgi.c that while fixing the deadlock did not do so in a correct manner and it likewise introduced new problems with other scripts.
These packages roll back to the original mod_cgi.c until such a time as the apache team have a proper fix in place. Both Mandrake Linux 9.1 and 9.2 are affected with this problem.
Likewise, a problem was discovered in the default mod_proxy configuration which created an open proxy. Users who have installed mod_perl also have mod_proxy installed due to dependencies and may unknowingly have allowed spammers to use their MTA via the wide-open mod_proxy settings.
MandrakeSoft encourages all users to upgrade to these new packages immediately.
SolutionUpdate the affected packages.