Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 108639

Summary: CAN-2003-0542 Local buffer overflow in mod_alias, mod_rewrite
Product: [Retired] Red Hat Linux Reporter: Simon Brady <simon.brady>
Component: apacheAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: jan.iven, mal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://www.apacheweek.com/features/security-13
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-18 09:24:29 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:
Attachments:
Description Flags
Proposed patch against 1.3.27-3, backported from 1.3.29 none

Description Simon Brady 2003-10-30 20:47:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
There are locally exploitabe buffer overflows in mod_alias and mod_rewrite
(CAN-2003-0542) in apache < 1.3.29. These are a serious issue for providers
whose users can upload .htaccess files. Please upgrade (preferred) or backport
the fixes.

Version-Release number of selected component (if applicable):
apache-1.3.27-3

How reproducible:
Always

Steps to Reproduce:
1.Install apache-1.3.27
2.
3.
    

Actual Results:  My system is vulnerable to local attack

Expected Results:  It shouldn't be

Additional info:

This bug supercedes #102433.

Comment 1 Jan Iven 2003-11-27 16:53:24 UTC
Created attachment 96228 [details]
Proposed patch against 1.3.27-3, backported from 1.3.29

Backported patch, with revision number changed to indicate the hole has been
fixed (_please_ keep something like this, otherwise we'll never know on site
whetehr all machine have been fixed..). Compiles, but not tested yet.

Comment 2 Joe Orton 2003-12-09 16:50:35 UTC
*** Bug 102443 has been marked as a duplicate of this bug. ***

Comment 3 Jan Iven 2003-12-09 17:38:19 UTC
Btw, we have tested and deployed the patched version in production and
so far seem to run fine.

Comment 4 Mark J. Cox 2003-12-18 09:24:29 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-2003-405.html