Bug 289511 (CVE-2007-4465) - CVE-2007-4465 mod_autoindex XSS
Summary: CVE-2007-4465 mod_autoindex XSS
Alias: CVE-2007-4465
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 294441 294451 411711 413891 414281 421591 421601 421611 421621 421631 421641 436792 436793 436794 436795 436796 436797 449336 449337 582767
Blocks: 444136
TreeView+ depends on / blocked
Reported: 2007-09-13 17:31 UTC by Josh Bressers
Modified: 2021-11-12 19:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-08-21 22:44:48 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2007:0911 0 normal SHIPPED_LIVE Moderate: httpd security update 2007-10-25 17:35:49 UTC
Red Hat Product Errata RHSA-2008:0004 0 normal SHIPPED_LIVE Moderate: apache security update 2008-01-15 09:09:50 UTC
Red Hat Product Errata RHSA-2008:0005 0 normal SHIPPED_LIVE Moderate: httpd security update 2008-01-15 09:17:20 UTC
Red Hat Product Errata RHSA-2008:0006 0 normal SHIPPED_LIVE Moderate: httpd security update 2008-01-15 09:25:40 UTC
Red Hat Product Errata RHSA-2008:0008 0 normal SHIPPED_LIVE Moderate: httpd security update 2008-01-15 09:38:32 UTC
Red Hat Product Errata RHSA-2010:0602 0 normal SHIPPED_LIVE Moderate: Red Hat Certificate System 7.3 security update 2010-08-05 14:04:51 UTC

Description Josh Bressers 2007-09-13 17:31:15 UTC
mod_autoindex in httpd contains a cross site scripting flaw via the P query option.

More information can be found in the original vulnerability report here:

Comment 1 Josh Bressers 2007-09-13 17:39:27 UTC

Can you comment on this, should this flaw be rated as having low severity?

Comment 2 Josh Bressers 2007-09-13 18:16:51 UTC
Joe says this should be low, so low it is.

Comment 3 Mark J. Cox 2007-09-14 12:42:17 UTC
According to NVD:

Official Statement from Apache (9/14/2007)
The Apache security team believe that this issue is due to web browsers that are
violating RFC2616.

However, Apache 2.2.6 and 2.0.61 add a workaround for such browsers by adding
Type and Charset options to IndexOptions directive. This allows a site
administrator to explicitly set the content-type and charset of the generated
directory index page.

Comment 9 Mark J. Cox 2007-12-12 14:59:10 UTC
A flaw was found in the mod_autoindex module.  On sites where directory
listings are used, and the AddDefaultCharset directive has been removed
from the configuration, a cross-site-scripting attack may be possible
against browsers which do not correctly derive the response character set
following the rules in RFC 2616. (CVE-2007-4465)

Comment 11 errata-xmlrpc 2010-08-04 21:32:38 UTC
This issue has been addressed in following products:

  Red Hat Certificate System 7.3

Via RHSA-2010:0602 https://rhn.redhat.com/errata/RHSA-2010-0602.html

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