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

BHDB, Javascript Injection, Insecure Programming, Weak Configuration, Browser Hijacking, Phishing

Report generated by XSS.CX at Mon Sep 05 13:10:12 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 emusic.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86, BHDB, Javascript Injection, Insecure Programming, Weak Configuration, Browser Hijacking, Phishing

2. Flash cross-domain policy

3. Password field with autocomplete enabled

4. SSL cookie without secure flag set

4.1. https://www.emusic.com/promo/registration/1.html

4.2. https://www.emusic.com/sessions/rt.html

5. Cookie scoped to parent domain

5.1. https://www.emusic.com/promo/registration/1.html

5.2. https://www.emusic.com/sessions/rt.html

6. Cross-domain script include

7. Cookie without HttpOnly flag set

7.1. https://www.emusic.com/promo/registration/1.html

7.2. https://www.emusic.com/sessions/rt.html

8. Email addresses disclosed

8.1. https://www.emusic.com/promo/registration/1.html

8.2. https://www.emusic.com/scripts/jquery/jqmodal.js

9. Robots.txt file

10. SSL certificate



1. Cross-site scripting (reflected)  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /promo/registration/1.html

Issue detail

The value of the step request parameter is copied into an HTML comment. The payload 1d4fd--><script>alert(1)</script>7ad6396c187 was submitted in the step 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.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

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.

Remediation background

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.

Request

POST /promo/registration/1.html HTTP/1.1
Host: www.emusic.com
Connection: keep-alive
Referer: http://www.emusic.com/listen/
Content-Length: 134
Cache-Control: max-age=0
Origin: http://www.emusic.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
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: EMID=1323af91bb50434ad81e8; JSESSIONID=4E0AD74485BA112E353E80D055247F70.abv-app-02; __utma=183083058.103004662.1315249436.1315249436.1315249436.1; __utmb=183083058.3.10.1315249436; __utmc=183083058; __utmz=183083058.1315249436.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=183083058.201408; oatmeal=em=&rsc=&t=201408&e=MatchType%3DExact%26Campaign%3DUS_Downloads%26Keyword%3Ddownload_music%26Region%3DUS%26Channel%3DSearch%26Group%3DDownload_Music&r=&p=111803&bp=&rv=1&pv=1&gme=false&sn=&us=&pu=&tb=&id=&bo=&ris=; sugar=ftu=true&fd=false&gm=false; EMUSIC_STATION_CACHE=EMUSIC_STATION_CACHE; _chartbeat2=613h2g2tuk2zwlnw

input=start&step=save1d4fd--><script>alert(1)</script>7ad6396c187&albumId=&artistId=&genre=&firstName=&lastName=&email=&password=&passwordConfirm=&address.country=US&nospam=false

Response

HTTP/1.1 500 Internal Server Error
Content-Type: text/html;charset=UTF-8
Content-Length: 13277
Date: Mon, 05 Sep 2011 19:06:32 GMT
Connection: close
Vary: Accept-Encoding
Set-Cookie: sugar=ftu=true&fd=false&gm=false; Domain=.emusic.com; Expires=Wed, 02-Sep-2020 19:06:32 GMT; Path=/
Cache-Control: private
Cache-Control: no-store, no-cache, private, must-revalidate
Expires: Mon, 1 Jan 2001 12:00:00 GMT


<script>
window.focus();
if( self != top ){
top.location = window.location;
}
</script>

<br>
<br>
<br>
<center>
<!--MESSAGING-->
   <table cellspacing="0" cellpadding="0" width="546" border="0">
   <
...[SNIP]...
<!--
java.lang.NoSuchMethodException: emusic.app.registration.actions.Registration1Action.save1d4fd--><script>alert(1)</script>7ad6396c187(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)-emusic.app.registration.actions.Registration
...[SNIP]...

2. Flash cross-domain policy  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /crossdomain.xml

Issue detail

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

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: www.emusic.com

Response

HTTP/1.0 200 OK
Content-Type: text/html;charset=UTF-8
Date: Mon, 05 Sep 2011 19:05:15 GMT
Content-Length: 443
Connection: close
Set-Cookie: sugar=ftu=true&fd=false&gm=false; Domain=.emusic.com; Expires=Wed, 02-Sep-2020 19:05:15 GMT; Path=/
Cache-Control: no-store, no-cache, private, must-revalidate
Expires: Mon, 1 Jan 2001 12:00:00 GMT

<?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="http://www.emusic.com*.emusic.com" secure="false" />
...[SNIP]...
<allow-access-from domain="*.emusic-press" secure="false" />
...[SNIP]...

3. Password field with autocomplete enabled  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /promo/registration/1.html

Issue detail

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

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).

Request

POST /promo/registration/1.html HTTP/1.1
Host: www.emusic.com
Connection: keep-alive
Referer: http://www.emusic.com/listen/
Content-Length: 134
Cache-Control: max-age=0
Origin: http://www.emusic.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
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: EMID=1323af91bb50434ad81e8; JSESSIONID=4E0AD74485BA112E353E80D055247F70.abv-app-02; __utma=183083058.103004662.1315249436.1315249436.1315249436.1; __utmb=183083058.3.10.1315249436; __utmc=183083058; __utmz=183083058.1315249436.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=183083058.201408; oatmeal=em=&rsc=&t=201408&e=MatchType%3DExact%26Campaign%3DUS_Downloads%26Keyword%3Ddownload_music%26Region%3DUS%26Channel%3DSearch%26Group%3DDownload_Music&r=&p=111803&bp=&rv=1&pv=1&gme=false&sn=&us=&pu=&tb=&id=&bo=&ris=; sugar=ftu=true&fd=false&gm=false; EMUSIC_STATION_CACHE=EMUSIC_STATION_CACHE; _chartbeat2=613h2g2tuk2zwlnw

input=start&step=save&albumId=&artistId=&genre=&firstName=&lastName=&email=&password=&passwordConfirm=&address.country=US&nospam=false

Response

HTTP/1.1 200 OK
Content-Type: text/html;charset=UTF-8
Content-Length: 19661
Date: Mon, 05 Sep 2011 19:05:14 GMT
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: sugar=ftu=true&fd=false&gm=false; Domain=.emusic.com; Expires=Wed, 02-Sep-2020 19:05:14 GMT; Path=/
Cache-Control: private
Cache-Control: no-store, no-cache, private, must-revalidate
Expires: Mon, 1 Jan 2001 12:00:00 GMT


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://
...[SNIP]...
</h1>
   
   
   <form action="https://www.emusic.com/promo/registration/1.html" method="POST" accept-charset="UTF-8" enctype="UTF-8" class="singleSubmit no-ajax" >
       <fieldset>
...[SNIP]...
</label>
<input spellcheck="false" name="password" type="password" id="password" value=""/>


   <div class="error">
...[SNIP]...
</label>
<input spellcheck="false" name="passwordConfirm" type="password" id="passwordConfirm" value=""/>


   <div class="error">
...[SNIP]...

4. 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.


4.1. https://www.emusic.com/promo/registration/1.html  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /promo/registration/1.html

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

POST /promo/registration/1.html HTTP/1.1
Host: www.emusic.com
Connection: keep-alive
Referer: http://www.emusic.com/listen/
Content-Length: 134
Cache-Control: max-age=0
Origin: http://www.emusic.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
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: EMID=1323af91bb50434ad81e8; JSESSIONID=4E0AD74485BA112E353E80D055247F70.abv-app-02; __utma=183083058.103004662.1315249436.1315249436.1315249436.1; __utmb=183083058.3.10.1315249436; __utmc=183083058; __utmz=183083058.1315249436.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=183083058.201408; oatmeal=em=&rsc=&t=201408&e=MatchType%3DExact%26Campaign%3DUS_Downloads%26Keyword%3Ddownload_music%26Region%3DUS%26Channel%3DSearch%26Group%3DDownload_Music&r=&p=111803&bp=&rv=1&pv=1&gme=false&sn=&us=&pu=&tb=&id=&bo=&ris=; sugar=ftu=true&fd=false&gm=false; EMUSIC_STATION_CACHE=EMUSIC_STATION_CACHE; _chartbeat2=613h2g2tuk2zwlnw

input=start&step=save&albumId=&artistId=&genre=&firstName=&lastName=&email=&password=&passwordConfirm=&address.country=US&nospam=false

Response

HTTP/1.1 200 OK
Content-Type: text/html;charset=UTF-8
Content-Length: 19661
Date: Mon, 05 Sep 2011 19:05:14 GMT
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: sugar=ftu=true&fd=false&gm=false; Domain=.emusic.com; Expires=Wed, 02-Sep-2020 19:05:14 GMT; Path=/
Cache-Control: private
Cache-Control: no-store, no-cache, private, must-revalidate
Expires: Mon, 1 Jan 2001 12:00:00 GMT


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://
...[SNIP]...

4.2. https://www.emusic.com/sessions/rt.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /sessions/rt.html

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 /sessions/rt.html HTTP/1.1
Host: www.emusic.com
Connection: keep-alive
Referer: https://www.emusic.com/promo/registration/1.html
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: */*
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: EMID=1323af91bb50434ad81e8; JSESSIONID=4E0AD74485BA112E353E80D055247F70.abv-app-02; __utma=183083058.103004662.1315249436.1315249436.1315249436.1; __utmb=183083058.3.10.1315249436; __utmc=183083058; __utmz=183083058.1315249436.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=183083058.201408; oatmeal=em=&rsc=&t=201408&e=MatchType%3DExact%26Campaign%3DUS_Downloads%26Keyword%3Ddownload_music%26Region%3DUS%26Channel%3DSearch%26Group%3DDownload_Music&r=&p=111803&bp=&rv=1&pv=1&gme=false&sn=&us=&pu=&tb=&id=&bo=&ris=; EMUSIC_STATION_CACHE=EMUSIC_STATION_CACHE; _chartbeat2=613h2g2tuk2zwlnw; sugar=ftu=true&fd=false&gm=false

Response

HTTP/1.1 200 OK
Last-Modified: Mon, 05 Sep 2011 19:05:15 GMT
Content-Type: application/x-javascript;charset=UTF-8
Content-Length: 1
Date: Mon, 05 Sep 2011 19:05:15 GMT
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: sugar=ftu=true&fd=false&gm=false; Domain=.emusic.com; Expires=Wed, 02-Sep-2020 19:05:15 GMT; Path=/
Cache-Control: no-store, no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache



5. 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.


5.1. https://www.emusic.com/promo/registration/1.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /promo/registration/1.html

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

POST /promo/registration/1.html HTTP/1.1
Host: www.emusic.com
Connection: keep-alive
Referer: http://www.emusic.com/listen/
Content-Length: 134
Cache-Control: max-age=0
Origin: http://www.emusic.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
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: EMID=1323af91bb50434ad81e8; JSESSIONID=4E0AD74485BA112E353E80D055247F70.abv-app-02; __utma=183083058.103004662.1315249436.1315249436.1315249436.1; __utmb=183083058.3.10.1315249436; __utmc=183083058; __utmz=183083058.1315249436.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=183083058.201408; oatmeal=em=&rsc=&t=201408&e=MatchType%3DExact%26Campaign%3DUS_Downloads%26Keyword%3Ddownload_music%26Region%3DUS%26Channel%3DSearch%26Group%3DDownload_Music&r=&p=111803&bp=&rv=1&pv=1&gme=false&sn=&us=&pu=&tb=&id=&bo=&ris=; sugar=ftu=true&fd=false&gm=false; EMUSIC_STATION_CACHE=EMUSIC_STATION_CACHE; _chartbeat2=613h2g2tuk2zwlnw

input=start&step=save&albumId=&artistId=&genre=&firstName=&lastName=&email=&password=&passwordConfirm=&address.country=US&nospam=false

Response

HTTP/1.1 200 OK
Content-Type: text/html;charset=UTF-8
Content-Length: 19661
Date: Mon, 05 Sep 2011 19:05:14 GMT
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: sugar=ftu=true&fd=false&gm=false; Domain=.emusic.com; Expires=Wed, 02-Sep-2020 19:05:14 GMT; Path=/
Cache-Control: private
Cache-Control: no-store, no-cache, private, must-revalidate
Expires: Mon, 1 Jan 2001 12:00:00 GMT


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://
...[SNIP]...

5.2. https://www.emusic.com/sessions/rt.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /sessions/rt.html

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 /sessions/rt.html HTTP/1.1
Host: www.emusic.com
Connection: keep-alive
Referer: https://www.emusic.com/promo/registration/1.html
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: */*
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: EMID=1323af91bb50434ad81e8; JSESSIONID=4E0AD74485BA112E353E80D055247F70.abv-app-02; __utma=183083058.103004662.1315249436.1315249436.1315249436.1; __utmb=183083058.3.10.1315249436; __utmc=183083058; __utmz=183083058.1315249436.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=183083058.201408; oatmeal=em=&rsc=&t=201408&e=MatchType%3DExact%26Campaign%3DUS_Downloads%26Keyword%3Ddownload_music%26Region%3DUS%26Channel%3DSearch%26Group%3DDownload_Music&r=&p=111803&bp=&rv=1&pv=1&gme=false&sn=&us=&pu=&tb=&id=&bo=&ris=; EMUSIC_STATION_CACHE=EMUSIC_STATION_CACHE; _chartbeat2=613h2g2tuk2zwlnw; sugar=ftu=true&fd=false&gm=false

Response

HTTP/1.1 200 OK
Last-Modified: Mon, 05 Sep 2011 19:05:15 GMT
Content-Type: application/x-javascript;charset=UTF-8
Content-Length: 1
Date: Mon, 05 Sep 2011 19:05:15 GMT
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: sugar=ftu=true&fd=false&gm=false; Domain=.emusic.com; Expires=Wed, 02-Sep-2020 19:05:15 GMT; Path=/
Cache-Control: no-store, no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache



6. Cross-domain script include  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /scripts/global.js

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 /scripts/global.js?v=20110316-1630 HTTP/1.1
Host: www.emusic.com
Connection: keep-alive
Referer: https://www.emusic.com/info/help/terms-of-use-us/
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: */*
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: EMID=1323af91bb50434ad81e8; JSESSIONID=4E0AD74485BA112E353E80D055247F70.abv-app-02; __utma=183083058.103004662.1315249436.1315249436.1315249436.1; __utmb=183083058.3.10.1315249436; __utmc=183083058; __utmz=183083058.1315249436.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=183083058.201408; oatmeal=em=&rsc=&t=201408&e=MatchType%3DExact%26Campaign%3DUS_Downloads%26Keyword%3Ddownload_music%26Region%3DUS%26Channel%3DSearch%26Group%3DDownload_Music&r=&p=111803&bp=&rv=1&pv=1&gme=false&sn=&us=&pu=&tb=&id=&bo=&ris=; EMUSIC_STATION_CACHE=EMUSIC_STATION_CACHE; _chartbeat2=613h2g2tuk2zwlnw; sugar=ftu=true&fd=false&gm=false

Response

HTTP/1.1 200 OK
Server: Apache
Last-Modified: Wed, 10 Aug 2011 16:20:25 GMT
Accept-Ranges: bytes
Content-Length: 11749
Content-Type: application/javascript
Date: Mon, 05 Sep 2011 19:05:32 GMT
Connection: keep-alive
Vary: Accept-Encoding
Cache-Control: max-age=315360000
Expires: Tue, 10 Aug 2021 17:50:32 GMT

/*globals $, jQuery, window, document, pageTracker */
var DUMAS = (function () {
   "use strict";

var dumas = {},

/**********************************************************************
*
...[SNIP]...
}
if (obj.attr('data-trial')) {
trial = ';' + obj.attr('data-trial');
trial = trial.substring(0, trial.length - 1);
}
script = ['<script src="http://ad.doubleclick.net/adj/ems.' , obj.attr('data-page') , '/;rs=' + obj.attr('data-regionalSite') , tile, ';sz=' , obj.attr('data-size') ,
pos , trial , ';ord=' , obj.attr('data-ord'), '?" type="text/javascript">
</script>
...[SNIP]...

7. Cookie without HttpOnly flag set  previous  next
There are 2 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.



7.1. https://www.emusic.com/promo/registration/1.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /promo/registration/1.html

Issue detail

The following cookie was issued by the application and does not have the HttpOnly 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

POST /promo/registration/1.html HTTP/1.1
Host: www.emusic.com
Connection: keep-alive
Referer: http://www.emusic.com/listen/
Content-Length: 134
Cache-Control: max-age=0
Origin: http://www.emusic.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
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: EMID=1323af91bb50434ad81e8; JSESSIONID=4E0AD74485BA112E353E80D055247F70.abv-app-02; __utma=183083058.103004662.1315249436.1315249436.1315249436.1; __utmb=183083058.3.10.1315249436; __utmc=183083058; __utmz=183083058.1315249436.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=183083058.201408; oatmeal=em=&rsc=&t=201408&e=MatchType%3DExact%26Campaign%3DUS_Downloads%26Keyword%3Ddownload_music%26Region%3DUS%26Channel%3DSearch%26Group%3DDownload_Music&r=&p=111803&bp=&rv=1&pv=1&gme=false&sn=&us=&pu=&tb=&id=&bo=&ris=; sugar=ftu=true&fd=false&gm=false; EMUSIC_STATION_CACHE=EMUSIC_STATION_CACHE; _chartbeat2=613h2g2tuk2zwlnw

input=start&step=save&albumId=&artistId=&genre=&firstName=&lastName=&email=&password=&passwordConfirm=&address.country=US&nospam=false

Response

HTTP/1.1 200 OK
Content-Type: text/html;charset=UTF-8
Content-Length: 19661
Date: Mon, 05 Sep 2011 19:05:14 GMT
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: sugar=ftu=true&fd=false&gm=false; Domain=.emusic.com; Expires=Wed, 02-Sep-2020 19:05:14 GMT; Path=/
Cache-Control: private
Cache-Control: no-store, no-cache, private, must-revalidate
Expires: Mon, 1 Jan 2001 12:00:00 GMT


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://
...[SNIP]...

7.2. https://www.emusic.com/sessions/rt.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /sessions/rt.html

Issue detail

The following cookie was issued by the application and does not have the HttpOnly 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 /sessions/rt.html HTTP/1.1
Host: www.emusic.com
Connection: keep-alive
Referer: https://www.emusic.com/promo/registration/1.html
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: */*
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: EMID=1323af91bb50434ad81e8; JSESSIONID=4E0AD74485BA112E353E80D055247F70.abv-app-02; __utma=183083058.103004662.1315249436.1315249436.1315249436.1; __utmb=183083058.3.10.1315249436; __utmc=183083058; __utmz=183083058.1315249436.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=183083058.201408; oatmeal=em=&rsc=&t=201408&e=MatchType%3DExact%26Campaign%3DUS_Downloads%26Keyword%3Ddownload_music%26Region%3DUS%26Channel%3DSearch%26Group%3DDownload_Music&r=&p=111803&bp=&rv=1&pv=1&gme=false&sn=&us=&pu=&tb=&id=&bo=&ris=; EMUSIC_STATION_CACHE=EMUSIC_STATION_CACHE; _chartbeat2=613h2g2tuk2zwlnw; sugar=ftu=true&fd=false&gm=false

Response

HTTP/1.1 200 OK
Last-Modified: Mon, 05 Sep 2011 19:05:15 GMT
Content-Type: application/x-javascript;charset=UTF-8
Content-Length: 1
Date: Mon, 05 Sep 2011 19:05:15 GMT
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: sugar=ftu=true&fd=false&gm=false; Domain=.emusic.com; Expires=Wed, 02-Sep-2020 19:05:15 GMT; Path=/
Cache-Control: no-store, no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache



8. Email addresses disclosed  previous  next
There are 2 instances of this issue:

Issue background

The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.

However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.

Issue remediation

You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).


8.1. https://www.emusic.com/promo/registration/1.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /promo/registration/1.html

Issue detail

The following email address was disclosed in the response:

Request

POST /promo/registration/1.html HTTP/1.1
Host: www.emusic.com
Connection: keep-alive
Referer: http://www.emusic.com/listen/
Content-Length: 134
Cache-Control: max-age=0
Origin: http://www.emusic.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
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: EMID=1323af91bb50434ad81e8; JSESSIONID=4E0AD74485BA112E353E80D055247F70.abv-app-02; __utma=183083058.103004662.1315249436.1315249436.1315249436.1; __utmb=183083058.3.10.1315249436; __utmc=183083058; __utmz=183083058.1315249436.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=183083058.201408; oatmeal=em=&rsc=&t=201408&e=MatchType%3DExact%26Campaign%3DUS_Downloads%26Keyword%3Ddownload_music%26Region%3DUS%26Channel%3DSearch%26Group%3DDownload_Music&r=&p=111803&bp=&rv=1&pv=1&gme=false&sn=&us=&pu=&tb=&id=&bo=&ris=; sugar=ftu=true&fd=false&gm=false; EMUSIC_STATION_CACHE=EMUSIC_STATION_CACHE; _chartbeat2=613h2g2tuk2zwlnw

input=start&step=save&albumId=&artistId=&genre=&firstName=&lastName=&email=&password=&passwordConfirm=&address.country=US&nospam=false

Response

HTTP/1.1 200 OK
Content-Type: text/html;charset=UTF-8
Content-Length: 19661
Date: Mon, 05 Sep 2011 19:05:14 GMT
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: sugar=ftu=true&fd=false&gm=false; Domain=.emusic.com; Expires=Wed, 02-Sep-2020 19:05:14 GMT; Path=/
Cache-Control: private
Cache-Control: no-store, no-cache, private, must-revalidate
Expires: Mon, 1 Jan 2001 12:00:00 GMT


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://
...[SNIP]...
<a href="mailto:questions@emusic.com">questions@emusic.com</a>
...[SNIP]...

8.2. https://www.emusic.com/scripts/jquery/jqmodal.js  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /scripts/jquery/jqmodal.js

Issue detail

The following email address was disclosed in the response:

Request

GET /scripts/jquery/jqmodal.js?v=5 HTTP/1.1
Host: www.emusic.com
Connection: keep-alive
Referer: https://www.emusic.com/info/help/terms-of-use-us/
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: */*
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: EMID=1323af91bb50434ad81e8; JSESSIONID=4E0AD74485BA112E353E80D055247F70.abv-app-02; __utma=183083058.103004662.1315249436.1315249436.1315249436.1; __utmb=183083058.3.10.1315249436; __utmc=183083058; __utmz=183083058.1315249436.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=183083058.201408; oatmeal=em=&rsc=&t=201408&e=MatchType%3DExact%26Campaign%3DUS_Downloads%26Keyword%3Ddownload_music%26Region%3DUS%26Channel%3DSearch%26Group%3DDownload_Music&r=&p=111803&bp=&rv=1&pv=1&gme=false&sn=&us=&pu=&tb=&id=&bo=&ris=; EMUSIC_STATION_CACHE=EMUSIC_STATION_CACHE; _chartbeat2=613h2g2tuk2zwlnw; sugar=ftu=true&fd=false&gm=false

Response

HTTP/1.1 200 OK
Server: Apache
Last-Modified: Mon, 27 Apr 2009 18:33:55 GMT
Accept-Ranges: bytes
Content-Length: 3353
Content-Type: application/javascript
Date: Mon, 05 Sep 2011 19:05:30 GMT
Connection: keep-alive
Vary: Accept-Encoding
Cache-Control: max-age=315360000
Expires: Tue, 10 Aug 2021 17:50:33 GMT

/*
* jqModal - Minimalist Modaling with jQuery
* (http://dev.iceburg.net/jquery/jqModal/)
*
* Copyright (c) 2007,2008 Brice Burgess <bhb@iceburg.net>
* Dual licensed under the MIT and GPL licen
...[SNIP]...

9. Robots.txt file  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://www.emusic.com
Path:   /promo/registration/1.html

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: www.emusic.com

Response

HTTP/1.0 200 OK
Server: Apache
Last-Modified: Tue, 06 Jul 2010 20:44:41 GMT
Content-Type: text/plain
Date: Mon, 05 Sep 2011 19:05:16 GMT
Content-Length: 2194
Connection: close

#--------------------------------------------------------------------
# Copyright eMusic.COM, Inc. 2004
# All Rights Reserved. Licensed Software.
#
# THIS IS UNPUBLISHED PROPRIETARY SOURCE CO
...[SNIP]...

10. SSL certificate  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   https://www.emusic.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:  www.emusic.com,ST=New York
Issued by:  Akamai Subordinate CA 3
Valid from:  Mon Jun 13 07:48:05 GMT-06:00 2011
Valid to:  Wed Jun 13 07:48:05 GMT-06:00 2012

Certificate chain #1

Issued to:  Akamai Subordinate CA 3
Issued by:  GTE CyberTrust Global Root
Valid from:  Thu May 11 09:32:00 GMT-06:00 2006
Valid to:  Sat May 11 17:59:00 GMT-06:00 2013

Certificate chain #2

Issued to:  GTE CyberTrust Global Root
Issued by:  GTE CyberTrust Global Root
Valid from:  Wed Aug 12 18:29:00 GMT-06:00 1998
Valid to:  Mon Aug 13 17:59:00 GMT-06:00 2018

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:10:12 GMT-06:00 2011.