HTTP Header Injection, CRLF, 0x20, Response Splitting, travel.travelocity.com

CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting')

Report generated by XSS.CX at Sat Mar 19 09:41:52 CDT 2011.


XSS.CX Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.

Loading

1. HTTP header injection

1.1. https://travel.travelocity.com/mystuff/MemberLogin.do [REST URL parameter 1]

1.2. https://travel.travelocity.com/mystuff/MyStuffControllerInit.do [REST URL parameter 1]

2. Session token in URL

2.1. https://travel.travelocity.com/mystuff/MemberLogin.do

2.2. https://travel.travelocity.com/mystuff/MyStuffControllerInit.do

3. Flash cross-domain policy

4. Cookie without HttpOnly flag set

4.1. https://travel.travelocity.com/favicon.ico

4.2. https://travel.travelocity.com/mystuff/MemberLogin.do

4.3. https://travel.travelocity.com/mystuff/MyStuffControllerInit.do

5. SSL cookie without secure flag set

5.1. https://travel.travelocity.com/mystuff/MemberLogin.do

5.2. https://travel.travelocity.com/mystuff/MyStuffControllerInit.do

6. Cookie scoped to parent domain

6.1. https://travel.travelocity.com/mystuff/MemberLogin.do

6.2. https://travel.travelocity.com/mystuff/MyStuffControllerInit.do

7. TRACE method is enabled

8. Robots.txt file

9. SSL certificate



1. HTTP header injection  next
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. https://travel.travelocity.com/mystuff/MemberLogin.do [REST URL parameter 1]  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://travel.travelocity.com
Path:   /mystuff/MemberLogin.do

Issue detail

The value of REST URL parameter 1 is copied into the Location response header. The payload d9f97%0d%0a90e670e9956 was submitted in the REST URL parameter 1. This caused a response containing an injected HTTP header.

Request

GET /d9f97%0d%0a90e670e9956/MemberLogin.do;jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251?Service=TRAVELOCITY&jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251&target_page=MyTrips HTTP/1.1
Host: travel.travelocity.com
Connection: keep-alive
Referer: http://www.travelocity.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: TVLY_GEO=|||||; tyrg1st=2F4C8E37E2D8273E; SID=T000V00000X604223272260680324008302763; __utmz=54245047.1300543067.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=54245047.401872881.1300543067.1300543067.1300543067.1; __utmc=54245047; __utmb=54245047.1.10.1300543067; mt.v=1.499892995.1300543067628; JSESSIONID=62328EF94022A832C8478B20B73CBCE4.p0251; JSID=62328EF94022A832C8478B20B73CBCE4.p0251; Service=TRAVELOCITY

Response

HTTP/1.1 302 Moved Temporarily
Date: Sat, 19 Mar 2011 14:27:01 GMT
Server: Apache
Set-Cookie: JSESSIONID=B3FDC7591B5C481C87F52E0E075CB3C5.p0251; Path=/; Secure
Set-Cookie: JSID=B3FDC7591B5C481C87F52E0E075CB3C5.p0251; Domain=.travelocity.com; Path=/
Location: http://travel.travelocity.com/d9f97
90e670e9956
/MemberLogin.do;jsessionid=B3FDC7591B5C481C87F52E0E075CB3C5.p0251?Service=TRAVELOCITY&jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251&target_page=MyTrips
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=ISO-8859-1
Content-Length: 0


1.2. https://travel.travelocity.com/mystuff/MyStuffControllerInit.do [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://travel.travelocity.com
Path:   /mystuff/MyStuffControllerInit.do

Issue detail

The value of REST URL parameter 1 is copied into the Location response header. The payload e4c15%0d%0a62957e49f89 was submitted in the REST URL parameter 1. This caused a response containing an injected HTTP header.

Request

GET /e4c15%0d%0a62957e49f89/MyStuffControllerInit.do;jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251?Service=TRAVELOCITY&target_page=MyTrips HTTP/1.1
Host: travel.travelocity.com
Connection: keep-alive
Referer: http://www.travelocity.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: TVLY_GEO=|||||; tyrg1st=2F4C8E37E2D8273E; SID=T000V00000X604223272260680324008302763; __utmz=54245047.1300543067.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=54245047.401872881.1300543067.1300543067.1300543067.1; __utmc=54245047; __utmb=54245047.1.10.1300543067; mt.v=1.499892995.1300543067628; JSESSIONID=62328EF94022A832C8478B20B73CBCE4.p0251; JSID=62328EF94022A832C8478B20B73CBCE4.p0251; Service=TRAVELOCITY

Response

HTTP/1.1 302 Moved Temporarily
Date: Sat, 19 Mar 2011 14:27:11 GMT
Server: Apache
Set-Cookie: JSESSIONID=E857FD21EE6D534F920C3BEA00D93AB9.p0251; Path=/; Secure
Set-Cookie: JSID=E857FD21EE6D534F920C3BEA00D93AB9.p0251; Domain=.travelocity.com; Path=/
Location: http://travel.travelocity.com/e4c15
62957e49f89
/MyStuffControllerInit.do;jsessionid=E857FD21EE6D534F920C3BEA00D93AB9.p0251?Service=TRAVELOCITY&target_page=MyTrips
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=ISO-8859-1
Content-Length: 0


2. Session token in URL  previous  next
There are 2 instances of this issue:

Issue background

Sensitive information within URLs may be logged in various locations, including the user's browser, the web server, and any forward or reverse proxy servers between the two endpoints. URLs may also be displayed on-screen, bookmarked or emailed around by users. They may be disclosed to third parties via the Referer header when any off-site links are followed. Placing session tokens into the URL increases the risk that they will be captured by an attacker.

Issue remediation

The application should use an alternative mechanism for transmitting session tokens, such as HTTP cookies or hidden fields in forms that are submitted using the POST method.


2.1. https://travel.travelocity.com/mystuff/MemberLogin.do  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   https://travel.travelocity.com
Path:   /mystuff/MemberLogin.do

Issue detail

The URL in the request appears to contain a session token within the query string:

Request

GET /mystuff/MemberLogin.do;jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251?Service=TRAVELOCITY&jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251&target_page=MyTrips HTTP/1.1
Host: travel.travelocity.com
Connection: keep-alive
Referer: http://www.travelocity.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: TVLY_GEO=|||||; tyrg1st=2F4C8E37E2D8273E; SID=T000V00000X604223272260680324008302763; __utmz=54245047.1300543067.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=54245047.401872881.1300543067.1300543067.1300543067.1; __utmc=54245047; __utmb=54245047.1.10.1300543067; mt.v=1.499892995.1300543067628; JSESSIONID=62328EF94022A832C8478B20B73CBCE4.p0251; JSID=62328EF94022A832C8478B20B73CBCE4.p0251; Service=TRAVELOCITY

Response

HTTP/1.1 302 Moved Temporarily
Date: Sat, 19 Mar 2011 14:25:40 GMT
Server: Apache
Set-Cookie: JSESSIONID=58D9EB8450F6D20D3D585EB8F9FB0632.p0251; Path=/; Secure
Set-Cookie: JSID=58D9EB8450F6D20D3D585EB8F9FB0632.p0251; Domain=.travelocity.com; Path=/
Location: http://travel.travelocity.com/mystuff/BounceLogin.do;jsessionid=58D9EB8450F6D20D3D585EB8F9FB0632.p0251?Service=TRAVELOCITY&jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251&target_page=MyTrips
Vary: Accept-Encoding
Connection: close
Content-Type: text/html;charset=UTF-8
Content-Length: 0


2.2. https://travel.travelocity.com/mystuff/MyStuffControllerInit.do  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   https://travel.travelocity.com
Path:   /mystuff/MyStuffControllerInit.do

Issue detail

The URL in the request appears to contain a session token within the query string:

Request

GET /mystuff/MyStuffControllerInit.do;jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251?Service=TRAVELOCITY&target_page=MyTrips HTTP/1.1
Host: travel.travelocity.com
Connection: keep-alive
Referer: http://www.travelocity.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: TVLY_GEO=|||||; tyrg1st=2F4C8E37E2D8273E; SID=T000V00000X604223272260680324008302763; __utmz=54245047.1300543067.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=54245047.401872881.1300543067.1300543067.1300543067.1; __utmc=54245047; __utmb=54245047.1.10.1300543067; mt.v=1.499892995.1300543067628; JSESSIONID=62328EF94022A832C8478B20B73CBCE4.p0251; JSID=62328EF94022A832C8478B20B73CBCE4.p0251; Service=TRAVELOCITY

Response

HTTP/1.1 302 Moved Temporarily
Date: Sat, 19 Mar 2011 14:25:36 GMT
Server: Apache
Set-Cookie: JSESSIONID=F48C8160E2D6159E863CDBA8968CDC42.p0251; Path=/; Secure
Set-Cookie: JSID=F48C8160E2D6159E863CDBA8968CDC42.p0251; Domain=.travelocity.com; Path=/
Set-Cookie: Service=TRAVELOCITY; Domain=.travelocity.com; Path=/
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Location: http://travel.travelocity.com/mystuff/MemberLogin.do;jsessionid=F48C8160E2D6159E863CDBA8968CDC42.p0251?Service=TRAVELOCITY&jsessionid=F48C8160E2D6159E863CDBA8968CDC42.p0251&target_page=MyTrips
Vary: Accept-Encoding
Connection: close
Content-Type: text/html;charset=UTF-8
Content-Length: 0


3. Flash cross-domain policy  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://travel.travelocity.com
Path:   /crossdomain.xml

Issue detail

The application publishes a Flash cross-domain policy which uses a wildcard to specify allowed domains, allows access from specific other domains, and allows access from specific subdomains.

Using a wildcard to specify allowed domains means that any domain matching the wildcard expression can perform two-way interaction with this application. You should only use this policy if you fully trust every possible web site that may reside on a domain which matches the wildcard expression.

Allowing access from specific domains means that web sites on those domains can perform two-way interaction with this application. You should only use this policy if you fully trust the specific domains allowed by the policy.

Issue background

The Flash cross-domain policy controls whether Flash client components running on other domains can perform two-way interaction with the domain which publishes the policy. If another domain is allowed by the policy, then that domain can potentially attack users of the application. If a user is logged in to the application, and visits a domain allowed by the policy, then any malicious content running on that domain can potentially gain full access to the application within the security context of the logged in user.

Even if an allowed domain is not overtly malicious in itself, security vulnerabilities within that domain could potentially be leveraged by a third-party attacker to exploit the trust relationship and attack the application which allows access.

Issue remediation

You should review the domains which are allowed by the Flash cross-domain policy and determine whether it is appropriate for the application to fully trust both the intentions and security posture of those domains.

Request

GET /crossdomain.xml HTTP/1.0
Host: travel.travelocity.com

Response

HTTP/1.1 200 OK
Date: Sat, 19 Mar 2011 14:25:37 GMT
Server: Apache
Last-Modified: Wed, 09 Feb 2011 23:06:43 GMT
ETag: "1832d-69a-84b146c0"
Accept-Ranges: bytes
Content-Length: 1690
Vary: Accept-Encoding
Connection: close
Content-Type: application/xml

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy
    SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
   <allow-access-from domain="*.travelocity.com" secure="false" />
...[SNIP]...
<allow-access-from domain="www.travelocity.com"    secure="false" />
...[SNIP]...
<allow-access-from domain="i.travelocity.com" secure="false" />
...[SNIP]...
<allow-access-from domain="*.travelpn.com" secure="false" />
...[SNIP]...
<allow-access-from domain="i.travelpn.com.edgesuite.net" secure="false" />
...[SNIP]...
<allow-access-from domain="i.travelocity.com.edgesuite.net" secure="false" />
...[SNIP]...
<allow-access-from domain="travelocityf.download.akamai.com.edgesuite.net" secure="false" />
...[SNIP]...
<allow-access-from domain="ag.travelocity.com.edgesuite.net" secure="false" />
...[SNIP]...
<allow-access-from domain="hg.travelocity.com.edgesuite.net" secure="false" />
...[SNIP]...
<allow-access-from domain="design.int.travelocity.com" secure="false" />
...[SNIP]...
<allow-access-from domain="*.2mdn.net" secure="false" />
...[SNIP]...
<allow-access-from domain="*.doubleclick.net" secure="false" />
...[SNIP]...
<allow-access-from domain="ad.*.doubleclick.net" secure="false" />
...[SNIP]...
<allow-access-from domain="*.aolcdn.com" secure="false" />
...[SNIP]...
<allow-access-from domain="*.dotomi.com" secure="false" />
...[SNIP]...
<allow-access-from domain="*.sabre.com" secure="false" />
...[SNIP]...
<allow-access-from domain="ach.travel.yahoo.net" secure="false" />
...[SNIP]...
<allow-access-from domain="travelrewardspn.capitalone.com" secure="true" />
...[SNIP]...
<allow-access-from domain="*.travelocity.com" secure="true" />
...[SNIP]...
<allow-access-from domain="a248.e.akamai.net" secure="true" />
...[SNIP]...
<allow-access-from domain="fr.travelocity.ca" secure="false" />
...[SNIP]...

4. Cookie without HttpOnly flag set  previous  next
There are 3 instances of this issue:

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.



4.1. https://travel.travelocity.com/favicon.ico  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   https://travel.travelocity.com
Path:   /favicon.ico

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /favicon.ico HTTP/1.1
Host: travel.travelocity.com
Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
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: TVLY_GEO=|||||; tyrg1st=2F4C8E37E2D8273E; SID=T000V00000X604223272260680324008302763; __utmz=54245047.1300543067.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=54245047.401872881.1300543067.1300543067.1300543067.1; __utmc=54245047; __utmb=54245047.1.10.1300543067; mt.v=1.499892995.1300543067628; JSESSIONID=62328EF94022A832C8478B20B73CBCE4.p0251; JSID=62328EF94022A832C8478B20B73CBCE4.p0251; Service=TRAVELOCITY

Response

HTTP/1.1 200 OK
Date: Sat, 19 Mar 2011 14:25:47 GMT
Server: Apache
Set-Cookie: JSESSIONID=2101DD08B61B638EDB345BFF5F78D1B9.p0251; Path=/; Secure
ETag: W/"1406-1300168582000"
Last-Modified: Tue, 15 Mar 2011 05:56:22 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: image/x-icon
Content-Length: 1406

..............h.......(....... .....................................9......X...[....|...S...........Z.....C...Y....V..Y.....6..U......../...7...*..d*.....Z.....N..h....S.......C.......)..n..f.....t.I.
...[SNIP]...

4.2. https://travel.travelocity.com/mystuff/MemberLogin.do  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   https://travel.travelocity.com
Path:   /mystuff/MemberLogin.do

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The highlighted cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /mystuff/MemberLogin.do;jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251?Service=TRAVELOCITY&jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251&target_page=MyTrips HTTP/1.1
Host: travel.travelocity.com
Connection: keep-alive
Referer: http://www.travelocity.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: TVLY_GEO=|||||; tyrg1st=2F4C8E37E2D8273E; SID=T000V00000X604223272260680324008302763; __utmz=54245047.1300543067.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=54245047.401872881.1300543067.1300543067.1300543067.1; __utmc=54245047; __utmb=54245047.1.10.1300543067; mt.v=1.499892995.1300543067628; JSESSIONID=62328EF94022A832C8478B20B73CBCE4.p0251; JSID=62328EF94022A832C8478B20B73CBCE4.p0251; Service=TRAVELOCITY

Response

HTTP/1.1 302 Moved Temporarily
Date: Sat, 19 Mar 2011 14:25:40 GMT
Server: Apache
Set-Cookie: JSESSIONID=58D9EB8450F6D20D3D585EB8F9FB0632.p0251; Path=/; Secure
Set-Cookie: JSID=58D9EB8450F6D20D3D585EB8F9FB0632.p0251; Domain=.travelocity.com; Path=/
Location: http://travel.travelocity.com/mystuff/BounceLogin.do;jsessionid=58D9EB8450F6D20D3D585EB8F9FB0632.p0251?Service=TRAVELOCITY&jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251&target_page=MyTrips
Vary: Accept-Encoding
Connection: close
Content-Type: text/html;charset=UTF-8
Content-Length: 0


4.3. https://travel.travelocity.com/mystuff/MyStuffControllerInit.do  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   https://travel.travelocity.com
Path:   /mystuff/MyStuffControllerInit.do

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The highlighted cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /mystuff/MyStuffControllerInit.do;jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251?Service=TRAVELOCITY&target_page=MyTrips HTTP/1.1
Host: travel.travelocity.com
Connection: keep-alive
Referer: http://www.travelocity.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: TVLY_GEO=|||||; tyrg1st=2F4C8E37E2D8273E; SID=T000V00000X604223272260680324008302763; __utmz=54245047.1300543067.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=54245047.401872881.1300543067.1300543067.1300543067.1; __utmc=54245047; __utmb=54245047.1.10.1300543067; mt.v=1.499892995.1300543067628; JSESSIONID=62328EF94022A832C8478B20B73CBCE4.p0251; JSID=62328EF94022A832C8478B20B73CBCE4.p0251; Service=TRAVELOCITY

Response

HTTP/1.1 302 Moved Temporarily
Date: Sat, 19 Mar 2011 14:25:36 GMT
Server: Apache
Set-Cookie: JSESSIONID=F48C8160E2D6159E863CDBA8968CDC42.p0251; Path=/; Secure
Set-Cookie: JSID=F48C8160E2D6159E863CDBA8968CDC42.p0251; Domain=.travelocity.com; Path=/
Set-Cookie: Service=TRAVELOCITY; Domain=.travelocity.com; Path=/
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Location: http://travel.travelocity.com/mystuff/MemberLogin.do;jsessionid=F48C8160E2D6159E863CDBA8968CDC42.p0251?Service=TRAVELOCITY&jsessionid=F48C8160E2D6159E863CDBA8968CDC42.p0251&target_page=MyTrips
Vary: Accept-Encoding
Connection: close
Content-Type: text/html;charset=UTF-8
Content-Length: 0


5. SSL cookie without secure flag set  previous  next
There are 2 instances of this issue:

Issue background

If the secure flag is set on a cookie, then browsers will not submit the cookie in any requests that use an unencrypted HTTP connection, thereby preventing the cookie from being trivially intercepted by an attacker monitoring network traffic. If the secure flag is not set, then the cookie will be transmitted in clear-text if the user visits any HTTP URLs within the cookie's scope. An attacker may be able to induce this event by feeding a user suitable links, either directly or via another web site. Even if the domain which issued the cookie does not host any content that is accessed over HTTP, an attacker may be able to use links of the form http://example.com:443/ to perform the same attack.

Issue remediation

The secure flag should be set on all cookies that are used for transmitting sensitive data when accessing content over HTTPS. If cookies are used to transmit session tokens, then areas of the application that are accessed over HTTPS should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications.


5.1. https://travel.travelocity.com/mystuff/MemberLogin.do  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://travel.travelocity.com
Path:   /mystuff/MemberLogin.do

Issue detail

The following cookie was issued by the application and does not have the secure flag set:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /mystuff/MemberLogin.do;jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251?Service=TRAVELOCITY&jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251&target_page=MyTrips HTTP/1.1
Host: travel.travelocity.com
Connection: keep-alive
Referer: http://www.travelocity.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: TVLY_GEO=|||||; tyrg1st=2F4C8E37E2D8273E; SID=T000V00000X604223272260680324008302763; __utmz=54245047.1300543067.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=54245047.401872881.1300543067.1300543067.1300543067.1; __utmc=54245047; __utmb=54245047.1.10.1300543067; mt.v=1.499892995.1300543067628; JSESSIONID=62328EF94022A832C8478B20B73CBCE4.p0251; JSID=62328EF94022A832C8478B20B73CBCE4.p0251; Service=TRAVELOCITY

Response

HTTP/1.1 302 Moved Temporarily
Date: Sat, 19 Mar 2011 14:25:40 GMT
Server: Apache
Set-Cookie: JSESSIONID=58D9EB8450F6D20D3D585EB8F9FB0632.p0251; Path=/; Secure
Set-Cookie: JSID=58D9EB8450F6D20D3D585EB8F9FB0632.p0251; Domain=.travelocity.com; Path=/
Location: http://travel.travelocity.com/mystuff/BounceLogin.do;jsessionid=58D9EB8450F6D20D3D585EB8F9FB0632.p0251?Service=TRAVELOCITY&jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251&target_page=MyTrips
Vary: Accept-Encoding
Connection: close
Content-Type: text/html;charset=UTF-8
Content-Length: 0


5.2. https://travel.travelocity.com/mystuff/MyStuffControllerInit.do  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://travel.travelocity.com
Path:   /mystuff/MyStuffControllerInit.do

Issue detail

The following cookies were issued by the application and do not have the secure flag set:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /mystuff/MyStuffControllerInit.do;jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251?Service=TRAVELOCITY&target_page=MyTrips HTTP/1.1
Host: travel.travelocity.com
Connection: keep-alive
Referer: http://www.travelocity.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: TVLY_GEO=|||||; tyrg1st=2F4C8E37E2D8273E; SID=T000V00000X604223272260680324008302763; __utmz=54245047.1300543067.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=54245047.401872881.1300543067.1300543067.1300543067.1; __utmc=54245047; __utmb=54245047.1.10.1300543067; mt.v=1.499892995.1300543067628; JSESSIONID=62328EF94022A832C8478B20B73CBCE4.p0251; JSID=62328EF94022A832C8478B20B73CBCE4.p0251; Service=TRAVELOCITY

Response

HTTP/1.1 302 Moved Temporarily
Date: Sat, 19 Mar 2011 14:25:36 GMT
Server: Apache
Set-Cookie: JSESSIONID=F48C8160E2D6159E863CDBA8968CDC42.p0251; Path=/; Secure
Set-Cookie: JSID=F48C8160E2D6159E863CDBA8968CDC42.p0251; Domain=.travelocity.com; Path=/
Set-Cookie: Service=TRAVELOCITY; Domain=.travelocity.com; Path=/
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Location: http://travel.travelocity.com/mystuff/MemberLogin.do;jsessionid=F48C8160E2D6159E863CDBA8968CDC42.p0251?Service=TRAVELOCITY&jsessionid=F48C8160E2D6159E863CDBA8968CDC42.p0251&target_page=MyTrips
Vary: Accept-Encoding
Connection: close
Content-Type: text/html;charset=UTF-8
Content-Length: 0


6. Cookie scoped to parent domain  previous  next
There are 2 instances of this issue:

Issue background

A cookie's domain attribute determines which domains can access the cookie. Browsers will automatically submit the cookie in requests to in-scope domains, and those domains will also be able to access the cookie via JavaScript. If a cookie is scoped to a parent domain, then that cookie will be accessible by the parent domain and also by any other subdomains of the parent domain. If the cookie contains sensitive data (such as a session token) then this data may be accessible by less trusted or less secure applications residing at those domains, leading to a security compromise.

Issue remediation

By default, cookies are scoped to the issuing domain and all subdomains. If you remove the explicit domain attribute from your Set-cookie directive, then the cookie will have this default scope, which is safe and appropriate in most situations. If you particularly need a cookie to be accessible by a parent domain, then you should thoroughly review the security of the applications residing on that domain and its subdomains, and confirm that you are willing to trust the people and systems which support those applications.


6.1. https://travel.travelocity.com/mystuff/MemberLogin.do  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://travel.travelocity.com
Path:   /mystuff/MemberLogin.do

Issue detail

The following cookie was issued by the application and is scoped to a parent of the issuing domain:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /mystuff/MemberLogin.do;jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251?Service=TRAVELOCITY&jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251&target_page=MyTrips HTTP/1.1
Host: travel.travelocity.com
Connection: keep-alive
Referer: http://www.travelocity.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: TVLY_GEO=|||||; tyrg1st=2F4C8E37E2D8273E; SID=T000V00000X604223272260680324008302763; __utmz=54245047.1300543067.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=54245047.401872881.1300543067.1300543067.1300543067.1; __utmc=54245047; __utmb=54245047.1.10.1300543067; mt.v=1.499892995.1300543067628; JSESSIONID=62328EF94022A832C8478B20B73CBCE4.p0251; JSID=62328EF94022A832C8478B20B73CBCE4.p0251; Service=TRAVELOCITY

Response

HTTP/1.1 302 Moved Temporarily
Date: Sat, 19 Mar 2011 14:25:40 GMT
Server: Apache
Set-Cookie: JSESSIONID=58D9EB8450F6D20D3D585EB8F9FB0632.p0251; Path=/; Secure
Set-Cookie: JSID=58D9EB8450F6D20D3D585EB8F9FB0632.p0251; Domain=.travelocity.com; Path=/
Location: http://travel.travelocity.com/mystuff/BounceLogin.do;jsessionid=58D9EB8450F6D20D3D585EB8F9FB0632.p0251?Service=TRAVELOCITY&jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251&target_page=MyTrips
Vary: Accept-Encoding
Connection: close
Content-Type: text/html;charset=UTF-8
Content-Length: 0


6.2. https://travel.travelocity.com/mystuff/MyStuffControllerInit.do  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   https://travel.travelocity.com
Path:   /mystuff/MyStuffControllerInit.do

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /mystuff/MyStuffControllerInit.do;jsessionid=62328EF94022A832C8478B20B73CBCE4.p0251?Service=TRAVELOCITY&target_page=MyTrips HTTP/1.1
Host: travel.travelocity.com
Connection: keep-alive
Referer: http://www.travelocity.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: TVLY_GEO=|||||; tyrg1st=2F4C8E37E2D8273E; SID=T000V00000X604223272260680324008302763; __utmz=54245047.1300543067.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=54245047.401872881.1300543067.1300543067.1300543067.1; __utmc=54245047; __utmb=54245047.1.10.1300543067; mt.v=1.499892995.1300543067628; JSESSIONID=62328EF94022A832C8478B20B73CBCE4.p0251; JSID=62328EF94022A832C8478B20B73CBCE4.p0251; Service=TRAVELOCITY

Response

HTTP/1.1 302 Moved Temporarily
Date: Sat, 19 Mar 2011 14:25:36 GMT
Server: Apache
Set-Cookie: JSESSIONID=F48C8160E2D6159E863CDBA8968CDC42.p0251; Path=/; Secure
Set-Cookie: JSID=F48C8160E2D6159E863CDBA8968CDC42.p0251; Domain=.travelocity.com; Path=/
Set-Cookie: Service=TRAVELOCITY; Domain=.travelocity.com; Path=/
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Location: http://travel.travelocity.com/mystuff/MemberLogin.do;jsessionid=F48C8160E2D6159E863CDBA8968CDC42.p0251?Service=TRAVELOCITY&jsessionid=F48C8160E2D6159E863CDBA8968CDC42.p0251&target_page=MyTrips
Vary: Accept-Encoding
Connection: close
Content-Type: text/html;charset=UTF-8
Content-Length: 0


7. TRACE method is enabled  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://travel.travelocity.com
Path:   /

Issue description

The TRACE method is designed for diagnostic purposes. If enabled, the web server will respond to requests which use the TRACE method by echoing in its response the exact request which was received.

Although this behaviour is apparently harmless in itself, it can sometimes be leveraged to support attacks against other application users. If an attacker can find a way of causing a user to make a TRACE request, and can retrieve the response to that request, then the attacker will be able to capture any sensitive data which is included in the request by the user's browser, for example session cookies or credentials for platform-level authentication. This may exacerbate the impact of other vulnerabilities, such as cross-site scripting.

Issue remediation

The TRACE method should be disabled on the web server.

Request

TRACE / HTTP/1.0
Host: travel.travelocity.com
Cookie: 3be65309b65a449a

Response

HTTP/1.1 200 OK
Date: Sat, 19 Mar 2011 14:25:37 GMT
Server: Apache
Connection: close
Content-Type: message/http

TRACE / HTTP/1.0
Host: travel.travelocity.com
Cookie: 3be65309b65a449a
X-Forwarded-For: 173.193.214.243


8. Robots.txt file  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://travel.travelocity.com
Path:   /mystuff/MyStuffControllerInit.do

Issue detail

The web server contains a robots.txt file.

Issue background

The file robots.txt is used to give instructions to web robots, such as search engine crawlers, about locations within the web site which robots are allowed, or not allowed, to crawl and index.

The presence of the robots.txt does not in itself present any kind of security vulnerability. However, it is often used to identify restricted or private areas of a site's contents. The information in the file may therefore help an attacker to map out the site's contents, especially if some of the locations identified are not linked from elsewhere in the site. If the application relies on robots.txt to protect access to these areas, and does not enforce proper access control over them, then this presents a serious vulnerability.

Issue remediation

The robots.txt file is not itself a security threat, and its correct use can represent good practice for non-security reasons. You should not assume that all web robots will honour the file's instructions. Rather, assume that attackers will pay close attention to any locations identified in the file. Do not rely on robots.txt to provide any kind of protection over unauthorised access.

Request

GET /robots.txt HTTP/1.0
Host: travel.travelocity.com

Response

HTTP/1.1 200 OK
Date: Sat, 19 Mar 2011 14:25:38 GMT
Server: Apache
Last-Modified: Fri, 30 Oct 2009 13:04:04 GMT
ETag: "4c37ee-cb-a98e9900"
Accept-Ranges: bytes
Content-Length: 203
Vary: Accept-Encoding
Connection: close
Content-Type: text/plain; charset=ISO-8859-1

User-agent: *
Disallow:
Sitemap: http://travel.travelocity.com/cruise_sitemap.xml
Sitemap: http://hotels.travelocity.com/sitemap.xml
Sitemap: http://hotels.travelocity.com/sitemapindexhoteldetails.xml
...[SNIP]...

9. SSL certificate  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   https://travel.travelocity.com
Path:   /

Issue detail

The server presented a valid, trusted SSL certificate. This issue is purely informational.

The server presented the following certificates:

Server certificate

Issued to:  travel.travelocity.com
Issued by:  VeriSign Class 3 Extended Validation SSL SGC CA
Valid from:  Thu Jan 28 18:00:00 CST 2010
Valid to:  Sun Jan 29 17:59:59 CST 2012

Certificate chain #1

Issued to:  VeriSign Class 3 Extended Validation SSL SGC CA
Issued by:  VeriSign Class 3 Public Primary Certification Authority - G5
Valid from:  Tue Nov 07 18:00:00 CST 2006
Valid to:  Mon Nov 07 17:59:59 CST 2016

Certificate chain #2

Issued to:  VeriSign Class 3 Public Primary Certification Authority - G5
Issued by:  Class 3 Public Primary Certification Authority
Valid from:  Tue Nov 07 18:00:00 CST 2006
Valid to:  Sun Nov 07 17:59:59 CST 2021

Certificate chain #3

Issued to:  Class 3 Public Primary Certification Authority
Issued by:  Class 3 Public Primary Certification Authority
Valid from:  Sun Jan 28 18:00:00 CST 1996
Valid to:  Wed Aug 02 18:59:59 CDT 2028

Issue background

SSL helps to protect the confidentiality and integrity of information in transit between the browser and server, and to provide authentication of the server's identity. To serve this purpose, the server must present an SSL certificate which is valid for the server's hostname, is issued by a trusted authority and is valid for the current date. If any one of these requirements is not met, SSL connections to the server will not provide the full protection for which SSL is designed.

It should be noted that various attacks exist against SSL in general, and in the context of HTTPS web connections. It may be possible for a determined and suitably-positioned attacker to compromise SSL connections without user detection even when a valid SSL certificate is used.

Report generated by XSS.CX at Sat Mar 19 09:41:52 CDT 2011.