Bug 204049 - CVE-2006-3918 Expect header XSS
Summary: CVE-2006-3918 Expect header XSS
Keywords:
Status: CLOSED DUPLICATE of bug 207922
Alias: None
Product: Stronghold for Red Hat Linux
Classification: Retired
Component: stronghold-apache
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Stronghold Engineering List
URL:
Whiteboard: public=20060508,source=asf,impact=mod...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-25 09:18 UTC by Mark J. Cox
Modified: 2007-04-18 17:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-30 15:39:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Mark J. Cox 2006-08-25 09:18:58 UTC
+++ This bug was initially created as a clone of Bug #204048 +++

In May 2006 a reporter found a bug in Apache where an invalid Expect header sent
to the server (Apache 1.3.3 onwards) would be returned to the user in an error
message, unescaped.  This could allow a cross-site scripting attack only if a
victim can tricked into connecting to a site and sending such a carefully
crafted Expect header.  Whist browsers do not provide this functionality, it was
recently discovered that Flash allows you to make a connection with arbitrary
headers.  The attack mechanism is therefore:

1. User is tricked into visiting a malicious web site with a flash-enabled browser
2. Malicious web site uses a flash movie to make a connection to the target site
with custom Expect header
3. This results in cross-site scripting (attacker could steal your cookies from
the third party site, or inject content etc)

On http 2.0 versions the cross-site scripting does not happen immediately, step 
is delayed until the Apache server times out.  On a default installation this
could be 2-5 minutes.  Therefore the attack is less likely to succeed.

Patch:
http://svn.apache.org/viewcvs?rev=394965&view=rev [1.3]
http://svn.apache.org/viewcvs?rev=395172&view=rev [2.0]

Comment 1 Joe Orton 2007-01-30 15:39:52 UTC

*** This bug has been marked as a duplicate of 207922 ***


Note You need to log in before you can comment on or make changes to this bug.