Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 2.1 product line. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 125704

Summary: CAN-2004-0492 mod_proxy buffer overflow
Product: Red Hat Enterprise Linux 2.1 Reporter: Mark J. Cox <mjc>
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: bressers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-14 15:46:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 430527    

Description Mark J. Cox 2004-06-10 13:26:32 UTC
A security issue has been reported in mod_proxy.  See

http://www.guninski.com/modproxy1.html

We have assigned CAN-2004-0492 to this issue.

The flaw affects Apache httpd 1.3.25 to 1.3.31 inclusive that have
mod_proxy enabled and configured.  Apache httpd 2.0 is unaffected.

The security issue is a buffer overflow which can be triggered by
getting mod_proxy to connect to a remote server which returns an
invalid (negative)  Content-Length.  This results in a memcpy to the
heap with a large length value, which will in most cases cause the
Apache child to crash.  This does not represent a significant Denial
of Service attack as requests will continue to be handled by other
Apache child processes.

In order to exploit this issue an attacker would need to get an
Apache installation that was configured as a proxy to connect to a
malicious site.

For Red Hat Enterprise Linux we do not believe that this issue can
lead to arbitrary code execution. 

A patch to correct this issue is available.  See:
http://marc.theaimsgroup.com/?l=apache-httpd-dev&m=108687304202140

Public Jun10

Comment 1 Mark J. Cox 2004-06-11 07:41:18 UTC
Even though this is mitigated to being a minor issue we will produce
an update for Red Hat Enterprise Linux 2.1, including a fix for bug
#122637 and CAN-2004-0488.

RHSA-2004:245 in QA

Comment 2 Mark J. Cox 2004-06-14 15:46:11 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2004-245.html