Apache HTTP Server ap_pregsub() buffer overflow

apache-http-appregsub-bo (71093) The risk level is classified as HighHigh Risk

Description:

Apache HTTP Server is vulnerable to a heap-based buffer overflow, caused by an integer overflow within the ap_pregsub() function. By placing a specially-crafted .htaccess file on the server, a local attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.

*CVSS:

Base Score: 4.6
  Access Vector: Local
  Access Complexity: Low
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 3.4
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Apply the appropriate updates for your system. See References.

References:

  • Apache HTTP Server Project Web site: Apache HTTPD Project - The Apache HTTPD Server Project.
  • Apple KB HT5501: About the security content of OS X Mountain Lion v10.8.2, OS X Lion v10.7.5 and Security Update 2012-004.
  • Fujitsu Web Site: Interstage HTTP Server/ Interstage HTTP Server 2.2: Security Vulnerabilities(CVE-2011-3607/ CVE-2012-3499/ CVE-2012-2687/ CVE-2013-1862). November 26th, 2013.
  • halfdog Web site: Integer Overflow in Apache ap_pregsub via mod-setenvif.
  • HP Security Bulletin HPSBMU02748 SSRT100772 rev.1: HP OpenView Network Node Manager (OV NNM) Running Apache HTTP Server, Remote Unauthorized Disclosure of Information, Unauthorized Modification, Denial of Service (DoS).
  • HP Security Bulletin HPSBOV02822 SSRT100966: HP Secure Web Server (SWS) for OpenVMS, Remote Denial of Service (DoS), Unauthorized Access, Disclosure of Information.
  • HP Security Bulletin HPSBUX02761 SSRT100823 rev.1: HP-UX Running Apache, Remote Denial of Service (DoS), Local Increase of Privilege.
  • IBM APAR PM47852: mod_proxy_ajp: Respond with HTTP_NOT_IMPLEMENTED when the method is not recognized..
  • IBM APAR PM48384: Potential pattern expansion problem when mod_proxy and mod_rewrite are used together..
  • IBM APAR PM50426: Potential buffer overflow and high memory usage in IBM HTTP Server..
  • IBM Support & Downloads: Fix list for IBM HTTP Server Version 7.0.
  • BID-50494: Apache HTTP Server 'ap_pregsub()' Function Local Privilege Escalation Vulnerability
  • CVE-2011-3607: Integer overflow in the ap_pregsub function in server/util.c in the Apache HTTP Server 2.0.x through 2.0.64 and 2.2.x through 2.2.21, when the mod_setenvif module is enabled, allows local users to gain privileges via a .htaccess file with a crafted SetEnvIf directive, in conjunction with a crafted HTTP request header, leading to a heap-based buffer overflow.
  • DSA-2405: apache2 -- multiple issues
  • OSVDB ID: 76744: Apache HTTP Server server/utils.c ap_pregsub() Function htaccess File Handling Local Overflow
  • OSVDB ID: 77012: Apache HTTP Server server/utils.c ap_pregsub() Function htaccess File Handling Local Memory Consumption DoS
  • RHSA-2012-0128: Moderate: httpd security update
  • RHSA-2012-0323: Moderate: httpd security update
  • RHSA-2012-0542: Moderate: httpd security and bug fix update
  • SA45793: Apache HTTP Server "ap_pregsub()" Privilege Escalation Vulnerability
  • SA47606: IBM HTTP Server Multiple Vulnerabilities
  • SA48551: HP OpenView Network Node Manager Apache HTTP Server Multiple Vulnerabilities
  • SA48851: HP-UX Apache Web Server Multiple Vulnerabilities
  • SA50922: HP Secure Web Server for OpenVMS Multiple Vulnerabilities
  • SA55884: Fujitsu Multiple Products Multiple Vulnerabilities

Platforms Affected:

  • Apache HTTP Server 2.0.64
  • Apache HTTP Server 2.2.21
  • Apple Mac OS X 10.6
  • Apple Mac OS X Server 10.6
  • Fujitsu Interstage Application Server 10.0.0 Enterprise
  • HP HP-UX B.11.11
  • HP HP-UX B.11.23
  • HP HP-UX B.11.31
  • HP OpenView Network Node Manager 7.0.1
  • HP OpenVMS Secure Web Server 2.2
  • IBM HTTP Server 7.0
  • JBoss Enterprise Web Server
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux 6 Workstation
  • RedHat Enterprise Linux 6 Server
  • RedHat Enterprise Linux Desktop 6
  • RedHat Enterprise Linux HPC Node 6

Reported:

Nov 02, 2011

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 (IBM 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.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.