Yellow Dog Linux Security Announcement -------------------------------------- Package: apache Issue Date: December 27, 2002 Priority: medium Advisory ID: YDU-20021227-8 1. Topic: Updated apache packages are available. 2. Problem: "The Apache HTTP Web Server is a secure, efficient, and extensible web server that provides HTTP services. Buffer overflows in the ApacheBench support program (ab.c) in Apache versions prior to 1.3.27, and Apache versions 2.x prior to 2.0.43, allow a malicious Web server to cause a denial of service (DoS) and possibly execute arbitrary code via a long response. The Common Vulnerabilities and Exposures project has assigned the name CAN-2002-0843 to this issue. Two cross-site scripting (XSS) vulnerabilities are present in the error pages for the default "404 Not Found" error and for the error response when a plain HTTP request is received on an SSL port. Both of these issues are only exploitable if the "UseCanonicalName" setting has been changed to "Off", and wildcard DNS is in use. These issues could allow remote attackers to execute scripts as other webpage visitors, for instance, to steal cookies. These issues affect versions of Apache 1.3 before 1.3.26, versions of Apache 2.0 before 2.0.43, and versions of mod_ssl before 2.8.12. (CAN-2002-0840, CAN-2002-1157) The shared memory scoreboard in the HTTP daemon for Apache 1.3, prior to version 1.3.27, allows a user running as the "apache" UID to send a SIGUSR1 signal to any process as root, resulting in a denial of service (process kill) or other such behavior that would not normally be allowed. (CAN-2002-0839)." (from Red Hat advisory) 3. Solution: a) Updating via apt... We suggest that you use the apt-get program to keep your system up-to-date. The following command(s) will retrieve and install the fixed version of this update onto your system: apt-get update apt-get install apache b) Updating manually... Download the updates below and then run the following rpm command. (Please use a mirror site) rpm -Fvh [filenames] ftp://ftp.yellowdoglinux.com/pub/yellowdog/updates/yellowdog-2.3/ ppc/apache-1.3.27-2a.ppc.rpm ppc/apache-devel-1.3.27-2a.ppc.rpm ppc/apache-manual-1.3.27-2a.ppc.rpm ppc/mod_ssl-2.8.12-2.ppc.rpm Apache must be restarted for the upgrade to be completed. Restart Apache as root by running the following command: /sbin/service httpd restart 4. Verification MD5 checksum Package -------------------------------- ---------------------------- 9bfb16ec5471e1c1c135c3c9c65e0e15 ppc/apache-1.3.27-2a.ppc.rpm 6eebd05354ade80aa89e18f91049fd6f ppc/apache-devel-1.3.27-2a.ppc.rpm 7a1db0751ba7882978f7f8b0566cdae3 ppc/apache-manual-1.3.27-2a.ppc.rpm 273210e631b41598114ae550b71439be ppc/mod_ssl-2.8.12-2.ppc.rpm c3a2956809455aa766590d3200514629 SRPMS/apache-1.3.27-2a.src.rpm 9c891a4efa6e93a56a5dbf5445488550 SRPMS/mod_ssl-2.8.12-2.src.rpm I wish to verify that each package has not been corrupted or tampered with, examine the md5sum with the following command: rpm --checksig --nogpg filename 5. Misc. Terra Soft has setup a moderated mailing list where these security, bugfix, and package enhancement announcements will be posted. See http://lists.terrasoftsolutions.com/ for more information. For information regarding the usage of apt-get, see: http://www.yellowdoglinux.com/support/solutions/ydl_general/apt-get.shtml