Apache mod_rewrite off-by-one buffer overflow

apache-modrewrite-offbyone-bo (28063) The risk level is classified as HighHigh Risk

Description:

The Rewrite module (mod_rewrite) for Apache HTTP Server could allow a remote attacker to execute arbitrary code on the system, caused by an off-by-one buffer overflow in the escape_absolute_uri() LDAP scheme handling function. If RewriteRule is enabled and does not contain a Forbidden(F), Gone(G), or NoEscape(NE) flag, a remote attacker could exploit this vulnerability to execute arbitrary code on the system or cause the server to crash.

Platforms Affected:

  • Apache, HTTP Server 1.3.28 - 1.3.36
  • Apache, HTTP Server 2.0.46 - 2.0.58
  • Apache, HTTP Server 2.2.0 - 2.2.2
  • Apple, Mac OS X 10.4.11
  • Apple, Mac OS X Server 10.4.11
  • Apple, Mac OS X Server 10.5.2
  • Canonical, Ubuntu 5.04
  • Canonical, Ubuntu 5.10
  • Canonical, Ubuntu 6.06 LTS
  • Debian, Debian Linux 3.1
  • Gentoo, Linux
  • HP, OpenView Network Node Manager 6.41
  • HP, OpenView Network Node Manager 7.01
  • HP, OpenView Network Node Manager 7.51
  • HP, System Management Homepage prior to 2.1.7
  • IBM, HTTP Server 6.x on Windows
  • IBM, WebSphere Application Server 6.1.0
  • Mandriva, Corporate Server 3.0
  • Mandriva, Corporate Server 3.0 X86_64
  • Mandriva, Linux 2006 X86_64
  • Mandriva, Linux 2006
  • Mandriva, Multi Network Firewall 2.0
  • OpenPKG, OpenPKG 2-STABLE
  • OpenPKG, OpenPKG 2.5
  • OpenPKG, OpenPKG CURRENT
  • Sun, Solaris 10 x86
  • Sun, Solaris 10 SPARC
  • SuSE, SLE SDK 10
  • SuSE, SuSE Linux 10.0
  • SuSE, SuSE Linux 10.1
  • SuSE, SuSE Linux 9.2
  • SuSE, SuSE Linux 9.3
  • SuSE, SuSE SLES 10
  • SuSE, SuSE SLES 9

Remedy:

For Apache 2.2.x:
Upgrade to the latest version of Apache (2.2.3 or later), available from the Apache Web site. See References.

For Apache 1.x:
Upgrade to the latest version of Apache (1.3.37 or later), available from the Apache Web site. See References.

For Apache 2.0.x:
Upgrade to the latest version of Apache (2.2.0.59 or later), available from the Apache Web site. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2006-08-01 for patch, upgrade, or suggested workaround information. See References.

For Debian GNU/Linux:
Refer to DSA-1132-1 or DSA-1131-1 for patch, upgrade, or suggested workaround information. See References.

For OpenPKG:
Refer to OpenPKG Security Advisory OpenPKG-SA-2006.014 for patch, upgrade, or suggested workaround information. See References.

For Sun Solaris:
Refer to Sun Alert ID: 102662 for patch, upgrade, or suggested workaround information. See References.

For WebSphere Application Server:
Refer to IBM Support & downloads for patch, upgrade, or suggested workaround information. See References.

For SUSE Linux:
Refer to SUSE-SA:2006:043 for patch, upgrade, or suggested workaround information. See References.

For HP System Management Homepage:
Refer to HPSBMA02250 SSRT061275 rev.1 for patch, upgrade, or suggested workaround information. See References.

For Mac OS X:
Apply the Security Update 2008-002, available from the Apple Web site. See References.

For HP OpenView Network Node Manager:
Refer to HPSBMA02328 SSRT071293 rev.1 for patch information. See References.

For other distributions:
Apply the appropriate update for your system. See References.

Consequences:

Gain Access

References:

Reported:

Jul 28, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page