SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#768702

Multiple devices process HTTP requests inconsistently

Overview

Multiple interconnected devices process valid HTTP request headers inconsistently and in this may manner may allow a remote attacker to poison a cache, conduct cross-site scripting attacks, and hijack user sessions. Attackers may use these flaws to launch a class of attacks referred to as HTTP response splitting.

I. Description

HTTP request headers contain parameters to describe an HTTP request, such as a request's size, type, source, and destination. Entities that handle HTTP data, such as web servers, web caches, and proxy servers, may not process HTTP requests in a consistent manner. A remote attacker may be able to leverage this inconsistency to force incorrect and possibly malicious data to be returned in response to a valid request.

By including multiple Content-length headers along with crafted, embedded carriage return-line feed (CRLF) pairs within the request data, the attacker may be able to send multiple requests through the web cache or browser cache in between the user and web server. The attacker is then able to control the content of the second response from the target in question, and can now perform the following attacks:

    Cross-Site Scripting (XSS): The XSS attack can now be attempted even without complete control of the Location header.
    Web Cache Poisoning: A web cache may be poisoned into accepting data supplied by the attacker and indexing it as the true data for a given page.
    Cross User Attacks: Multiple successive users may be served data supplied by the attacker, allowing the attacker to set or read session state and perform other tasks.
    Page Hijacking: Some leakage of confidential user information may occur.
    Browser Cache Poisoning: Similar to the web cache poisoning scenario, a user's web browser may cache attacker-controlled data.

In some cases, this may also lead to a reversal of the attack scenario if the user downloads content which, when loaded or executed, carries out the attack in a manner that delivers protected or otherwise inaccessible content to the attacker.

HTTP Response Splitting is outlined in depth in the Watchfire HTTP Response Splitting whitepaper.

II. Impact

A remote unauthenticated attacker may be able to inject malicious content into a web or browser cache, to perform cross-site scripting attacks, to hijack user and session data, or to bypass content protection mechanisms. These flaws are platform independent.

III. Solution

Apply an update

Contact your vendor for patches, updates, fixes, and workarounds.
Do not follow unsolicited links

Do not click on unsolicited links received in email, instant messages, web forums, or internet relay chat (IRC) channels. Type URLs directly into the browser to avoid these misleading links. While these are generally good security practices, following these behaviors will not prevent exploitation of this vulnerability in all cases, particularly if a trusted site has been compromised or allows cross-site scripting.

Check Certificates


US-CERT recommends that prior to providing any sensitive information over a secure (HTTPS) connection, you check the name recorded in the certificate to be sure that it matches the name of the site to which you think you are connecting.

Systems Affected

VendorStatusDate NotifiedDate Updated
IBM CorporationVulnerable25-Jul-2005
SquidVulnerable25-Jul-2005

References


https://www.watchfire.com/securearea/whitepapers.aspx?id=8
http://www.securityfocus.com/bid/12433

Credit

Thanks to Watchfire for reporting this vulnerability.

This document was written by Ken MacInnis.

Other Information

Date Public:2005-01-25
Date First Published:2005-02-04
Date Last Updated:2007-03-05
CERT Advisory: 
CVE-ID(s):CVE-2005-0175
NVD-ID(s):CVE-2005-0175
US-CERT Technical Alerts: 
Metric:10.08
Document Revision:29

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2005 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader