SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |    Help    |   

SecurityTracker
Archives


Welcome to SecurityTracker!
 
Click to Sign Up
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com

Sign Up!





Category:  Application (Web Server/CGI)  >  Apache mod_rewrite Vendors:  Apache Software Foundation
(Slackware Issues Fix) Apache mod_rewrite Contains a Buffer Overflow
SecurityTracker Alert ID:  1008097
CVE Reference:  CAN-2003-0542   (Links to External Site)
Date:  Nov 5 2003
Impact:  Denial of service via network, Execution of arbitrary code via network, User access via network
Fix Available:  Yes   Vendor Confirmed:  Yes  
Version(s): 2.0.47 and prior versions
Description:  A vulnerability was reported in the Apache mod_rewrite component. A remote user may be able to trigger a buffer overflow.

It is reported that both mod_alias and mod_rewrite contain a buffer overflow. If the administrator has configured a regular expression with more than 9 captures, the overflow can be triggered.

[Editor's note: The Apache notice did not indicate the impact of the buffer overflow.]

Impact:  [Editor's note: The Apache notice did not indicate the impact of the buffer overflow.]
Solution:  Slackware has released a fix.

Updated packages for Slackware 8.1:
ftp://ftp.slackware.com/pub/slackware/slackware-8.1/patches/packages/apache-1.3.29-i386-1.tgz
ftp:// ftp.slackware.com/pub/slackware/slackware-8.1/patches/packages/mod_ssl-2.8.16_1.3.29-i386-1.tgz
ftp://ftp.slackware.com/pub/slackware/slackware-8.1/patches/packages/php- 4.3.3-i386-1.tgz

Updated packages for Slackware 9.0:
ftp://ftp.slackware.com/pub/slackware/slackware-9.0/patches/packages/apache-1.3.29-i386-1.tgz
ftp://ftp.slackwar e.com/pub/slackware/slackware-9.0/patches/packages/mod_ssl-2.8.16_1.3.29-i386-1.tgz
ftp://ftp.slackware.com/pub/slackware/slackware-9.0/patches/packages/php-4.3.3-i386-1 .tgz

Updated packages for Slackware 9.1:
ftp://ftp.slackware.com/pub/slackware/slackware-9.1/patches/packages/apache-1.3.29-i486-1.tgz
ftp://ftp.slackware.com/pub/sl ackware/slackware-9.1/patches/packages/mod_ssl-2.8.16_1.3.29-i486-1.tgz

Updated packages for Slackware -current:
ftp://ftp.slackware.com/pub/slackware/slackware-curre nt/slackware/n/apache-1.3.29-i486-1.tgz
ftp://ftp.slackware.com/pub/slackware/slackware-current/slackware/n/mod_ssl-2.8.16_1.3.29-i486-1.tgz
ftp://ftp.slackware.com/pub /slackware/slackware-current/slackware/n/php-4.3.3-i486-3.tgz

The MD5 signatures are:

Slackware 8.1 packages:
1a8190a214c052f0707bd5a6b005a7cd apache-1.3.29-i386-1.tgz
eb74afbc99295c01d418b576e92e83bb mod_ssl-2.8.16_1.3.29-i386-1.tgz
b41a44c3ce2a3a09873b5d0930faf4c1 php-4.3.3-i386-1.tgz

Slackware 9.0 packages:
bb34ae622245f57bdca747ac5d8f73cf apache-1.3.29-i386-1.tgz
c84af5778a5667a06a60a274f2fe1edb mod_ssl-2.8.16_1.3.29-i386-1.tgz
7660e36f2cfb30cc339734369cca7719 php-4.3.3-i386-1.tgz

Slackware 9.1 packages:
9b494bb3f03cb4a4cb8c28f4fcc76666 apache-1.3.29-i486-1.tgz
938412e01daf55fee37293a5790d907f mod_ssl-2.8.16_1.3.29-i486-1.tgz

Slackware -current packages:
091c22d398c51fee820dd0d0b7d514e3 apache-1.3.29-i486-1.tgz
cd260439c9f1373329ba2224ace0451d mod_ssl-2.8.16_1.3.29-i486-1.tgz
cc90540cc07e840e5a0513ffbb308102 php-4.3.3-i486-3.tgz

See the Source Message for the vendor's advisory containing directions on how to apply the appropriate fix.

Vendor URL:  httpd.apache.org/ (Links to External Site)
Cause:  Boundary error
Underlying OS:  Linux (Slackware)
Underlying OS Comments:  8.1, 9.0, 9.1, and -current
Reported By:  Slackware Security Team <security@slackware.com>
Message History:   This archive entry is a follow-up to the message listed below.
Oct 29 2003 Apache mod_rewrite Contains a Buffer Overflow



 Source Message Contents

Date:  Tue, 4 Nov 2003 16:48:11 -0800 (PST)
From:  Slackware Security Team <security@slackware.com>
Subject:  [slackware-security] apache security update (SSA:2003-308-01)

 


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[slackware-security]  apache security update (SSA:2003-308-01)

Apache httpd is a hypertext transfer protocol server, and is used
by over two thirds of the Internet's web sites.

Upgraded Apache packages are available for Slackware 8.1, 9.0, 9.1,
and -current.  These fix local vulnerabilities that could allow users
who can create or edit Apache config files to gain additional
privileges.  Sites running Apache should upgrade to the new packages.

In addition, new mod_ssl packages have been prepared for all platforms,
and new PHP packages have been prepared for Slackware 8.1, 9.0, and
- -current (9.1 already uses PHP 4.3.3).  In -current, these packages
also move the Apache module directory from /usr/libexec to
/usr/libexec/apache.  Links for all of these related packages are
provided below.

More details about the Apache issue may be found in the Common
Vulnerabilities and Exposures (CVE) database:

  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0542


Here are the details from the Slackware 9.1 ChangeLog:
+--------------------------+
Mon Nov  3 20:06:29 PST 2003
patches/packages/apache-1.3.29-i486-1.tgz:  Upgraded to apache-1.3.29.
  This fixes the following local security issue:
    o CAN-2003-0542 (cve.mitre.org)
      Fix buffer overflows in mod_alias and mod_rewrite which occurred if
      one configured a regular expression with more than 9 captures.
  This vulnerability requires the attacker to create or modify certain
  Apache configuration files, and is not a remote hole.  However, it could
  possibly be used to gain additional privileges if access to the Apache
  administrator account can be gained through some other means.  All sites
  running Apache should upgrade.
  (* Security fix *)
+--------------------------+


WHERE TO FIND THE NEW PACKAGES:
+-----------------------------+

Updated packages for Slackware 8.1:
ftp://ftp.slackware.com/pub/slackware/slackware-8.1/patches/packages/apache-1.3.29-i386-1.tgz
ftp://ftp.slackware.com/pub/slackware/slackware-8.1/patches/packages/mod_ssl-2.8.16_1.3.29-i386-1.tgz
ftp://ftp.slackware.com/pub/slackware/slackware-8.1/patches/packages/php-4.3.3-i386-1.tgz

Updated packages for Slackware 9.0:
ftp://ftp.slackware.com/pub/slackware/slackware-9.0/patches/packages/apache-1.3.29-i386-1.tgz
ftp://ftp.slackware.com/pub/slackware/slackware-9.0/patches/packages/mod_ssl-2.8.16_1.3.29-i386-1.tgz
ftp://ftp.slackware.com/pub/slackware/slackware-9.0/patches/packages/php-4.3.3-i386-1.tgz

Updated packages for Slackware 9.1:
ftp://ftp.slackware.com/pub/slackware/slackware-9.1/patches/packages/apache-1.3.29-i486-1.tgz
ftp://ftp.slackware.com/pub/slackware/slackware-9.1/patches/packages/mod_ssl-2.8.16_1.3.29-i486-1.tgz

Updated packages for Slackware -current:
ftp://ftp.slackware.com/pub/slackware/slackware-current/slackware/n/apache-1.3.29-i486-1.tgz
ftp://ftp.slackware.com/pub/slackware/slackware-current/slackware/n/mod_ssl-2.8.16_1.3.29-i486-1.tgz
ftp://ftp.slackware.com/pub/slackware/slackware-current/slackware/n/php-4.3.3-i486-3.tgz


MD5 SIGNATURES:
+-------------+

Slackware 8.1 packages:
1a8190a214c052f0707bd5a6b005a7cd  apache-1.3.29-i386-1.tgz
eb74afbc99295c01d418b576e92e83bb  mod_ssl-2.8.16_1.3.29-i386-1.tgz
b41a44c3ce2a3a09873b5d0930faf4c1  php-4.3.3-i386-1.tgz

Slackware 9.0 packages:
bb34ae622245f57bdca747ac5d8f73cf  apache-1.3.29-i386-1.tgz
c84af5778a5667a06a60a274f2fe1edb  mod_ssl-2.8.16_1.3.29-i386-1.tgz
7660e36f2cfb30cc339734369cca7719  php-4.3.3-i386-1.tgz

Slackware 9.1 packages:
9b494bb3f03cb4a4cb8c28f4fcc76666  apache-1.3.29-i486-1.tgz
938412e01daf55fee37293a5790d907f  mod_ssl-2.8.16_1.3.29-i486-1.tgz

Slackware -current packages:
091c22d398c51fee820dd0d0b7d514e3  apache-1.3.29-i486-1.tgz
cd260439c9f1373329ba2224ace0451d  mod_ssl-2.8.16_1.3.29-i486-1.tgz
cc90540cc07e840e5a0513ffbb308102  php-4.3.3-i486-3.tgz


INSTALLATION INSTRUCTIONS:
+------------------------+

First, stop apache:

# apachectl stop

Next, upgrade these packages as root:

# upgradepkg apache-1.3.29-i486-1.tgz
# upgradepkg mod_ssl-2.8.16_1.3.29-i486-1.tgz
# upgradepkg php-4.3.3-i486-3.tgz

Finally, restart apache:

# apachectl start

Or, if you're running a secure server with mod_ssl:

# apachectl startssl


+-----+

Slackware Linux Security Team
http://slackware.com/gpg-key
security@slackware.com

+------------------------------------------------------------------------+
| HOW TO REMOVE YOURSELF FROM THIS MAILING LIST:                         |
+------------------------------------------------------------------------+
| Send an email to majordomo@slackware.com with this text in the body of |
| the email message:                                                     |
|                                                                        |
|   unsubscribe slackware-security                                       |
|                                                                        |
| You will get a confirmation message back.  Follow the instructions to  |
| complete the unsubscription.  Do not reply to this message to          |
| unsubscribe!                                                           |
+------------------------------------------------------------------------+

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/qEKrakRjwEAQIjMRArvcAKCMB2tJJVmHitflS/Rc0yG9kksiPACeP0Dd
7HXUeO3O/cg1yufkh2Zvrqg=
=YQdI
-----END PGP SIGNATURE-----

 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2002, SecurityGlobal.net LLC