SQL Injection, SQLi, scores.heraldinteractive.com, CWE-89, CAPEC-66

SQL Injection in scores.heraldinteractive.com | Vulnerability Crawler Report

Report generated by CloudScan Vulnerability Crawler at Sat Jan 29 08:34:41 CST 2011.



DORK CWE-79 XSS Report

Loading

1. SQL injection

1.1. http://scores.heraldinteractive.com/aspdata/clients/herald/game.aspx [team parameter]

1.2. http://scores.heraldinteractive.com/aspdata/clients/herald/nbagame.aspx [team parameter]

1.3. http://scores.heraldinteractive.com/aspdata/clients/herald/nflgame.aspx [team parameter]

1.4. http://scores.heraldinteractive.com/aspdata/clients/herald/nhlgame.aspx [team parameter]

2. Cross-domain Referer leakage

3. Cross-domain script include

4. Content type incorrectly stated

4.1. http://scores.heraldinteractive.com/aspdata/clients/herald/game.aspx

4.2. http://scores.heraldinteractive.com/aspdata/clients/herald/nbagame.aspx

4.3. http://scores.heraldinteractive.com/aspdata/clients/herald/nflgame.aspx

4.4. http://scores.heraldinteractive.com/aspdata/clients/herald/nhlgame.aspx



1. SQL injection  next
There are 4 instances of this issue:

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.

Remediation background

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:



1.1. http://scores.heraldinteractive.com/aspdata/clients/herald/game.aspx [team parameter]  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://scores.heraldinteractive.com
Path:   /aspdata/clients/herald/game.aspx

Issue detail

The team parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the team parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request

GET /aspdata/clients/herald/game.aspx?team=028' HTTP/1.1
Host: scores.heraldinteractive.com
Proxy-Connection: keep-alive
Referer: http://www.bostonherald.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 500 Internal Server Error
Server: Microsoft-IIS/5.0
Date: Sat, 29 Jan 2011 01:55:09 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 8703

<html>
<head>
<title>Unclosed quotation mark before the character string '028''.<br>Line 1: Incorrect syntax near '028''.</title>
<style>
body {font-family:"Verdana";f
...[SNIP]...

1.2. http://scores.heraldinteractive.com/aspdata/clients/herald/nbagame.aspx [team parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://scores.heraldinteractive.com
Path:   /aspdata/clients/herald/nbagame.aspx

Issue detail

The team parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the team parameter, and a database error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request 1

GET /aspdata/clients/herald/nbagame.aspx?team=092' HTTP/1.1
Host: scores.heraldinteractive.com
Proxy-Connection: keep-alive
Referer: http://www.bostonherald.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response 1

HTTP/1.1 500 Internal Server Error
Server: Microsoft-IIS/5.0
Date: Sat, 29 Jan 2011 01:55:02 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 8732

<html>
<head>
<title>Unclosed quotation mark before the character string '092',1'.<br>Line 1: Incorrect syntax near '092',1'.</title>
<style>
body {font-family:"Verdan
...[SNIP]...

Request 2

GET /aspdata/clients/herald/nbagame.aspx?team=092'' HTTP/1.1
Host: scores.heraldinteractive.com
Proxy-Connection: keep-alive
Referer: http://www.bostonherald.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response 2

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Sat, 29 Jan 2011 01:55:04 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 1245

document.write('<TABLE BORDER="0" CELLPADDING="1" CELLSPACING="2" width="100%"><TR><TH width="40%" class="TSN6" align="left">1/28 10:30 PM ET</th><TH width="10%" class="TSN2" align="center">1</th><TH
...[SNIP]...

1.3. http://scores.heraldinteractive.com/aspdata/clients/herald/nflgame.aspx [team parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://scores.heraldinteractive.com
Path:   /aspdata/clients/herald/nflgame.aspx

Issue detail

The team parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the team parameter, and a database error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request 1

GET /aspdata/clients/herald/nflgame.aspx?team=077' HTTP/1.1
Host: scores.heraldinteractive.com
Proxy-Connection: keep-alive
Referer: http://www.bostonherald.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response 1

HTTP/1.1 500 Internal Server Error
Server: Microsoft-IIS/5.0
Date: Sat, 29 Jan 2011 01:55:08 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 8709

<html>
<head>
<title>Unclosed quotation mark before the character string '077''.<br>Line 1: Incorrect syntax near '077''.</title>
<style>
body {font-family:"Verdana";f
...[SNIP]...

Request 2

GET /aspdata/clients/herald/nflgame.aspx?team=077'' HTTP/1.1
Host: scores.heraldinteractive.com
Proxy-Connection: keep-alive
Referer: http://www.bostonherald.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response 2

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Sat, 29 Jan 2011 01:55:09 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 1814

document.write('<TABLE BORDER="0" CELLPADDING="1" CELLSPACING="2" width="100%"><tr><TH width="40%" class="TSN6" align="left">Final </th><TH width="10%" align="center" Class="TSN2">1</th><TH width="10%
...[SNIP]...

1.4. http://scores.heraldinteractive.com/aspdata/clients/herald/nhlgame.aspx [team parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://scores.heraldinteractive.com
Path:   /aspdata/clients/herald/nhlgame.aspx

Issue detail

The team parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the team parameter, and a database error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request 1

GET /aspdata/clients/herald/nhlgame.aspx?team=121' HTTP/1.1
Host: scores.heraldinteractive.com
Proxy-Connection: keep-alive
Referer: http://www.bostonherald.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response 1

HTTP/1.1 500 Internal Server Error
Server: Microsoft-IIS/5.0
Date: Sat, 29 Jan 2011 01:55:17 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 8732

<html>
<head>
<title>Unclosed quotation mark before the character string '121',1'.<br>Line 1: Incorrect syntax near '121',1'.</title>
<style>
body {font-family:"Verdan
...[SNIP]...

Request 2

GET /aspdata/clients/herald/nhlgame.aspx?team=121'' HTTP/1.1
Host: scores.heraldinteractive.com
Proxy-Connection: keep-alive
Referer: http://www.bostonherald.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response 2

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Sat, 29 Jan 2011 01:55:19 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 1659

document.write('<TABLE BORDER="0" CELLPADDING="1" CELLSPACING="2" width="100%"><tr><TH width="40%" class="TSN6" align="left">Final </th><TH width="10%" align="center" Class="TSN2">1</th><TH width="10%
...[SNIP]...

2. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://scores.heraldinteractive.com
Path:   /merge/tsnform.aspx

Issue detail

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

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.

Request

GET /merge/tsnform.aspx?c=bostonherald&page=mlb/teams/028/schedule.aspx?team=028,season= HTTP/1.1
Host: scores.heraldinteractive.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Sat, 29 Jan 2011 05:21:36 GMT
X-Powered-By: ASP.NET
Connection: close
X-AspNet-Version: 2.0.50727
Set-Cookie: ASP.NET_SessionId=q0fm5255ct1r00ncq153f045; path=/; HttpOnly
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 56954

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title>Sports - BostonHerald.c
...[SNIP]...
</style>


<link rel="alternate" title="Sports - BostonHerald.com" href="http://feeds.feedburner.com/bostonherald/sports/" type="application/rss+xml">
<script type="text/javascript" language="JavaScript">
...[SNIP]...
<div id="headerLogo">
<a href="http://www.bostonherald.com/"><img src="http://cache.heraldinteractive.com/images/siteImages/edge/edgeBlank.gif" width="242" height="90">
...[SNIP]...
<div id="home" class="tab" onmouseover="this.className = this.className + 'Hover'; return false;" onmouseout="this.className = this.className.replace('Hover', ''); return false;" onclick=""><a href="http://www.bostonherald.com/sports/"><a href="http://www.bostonherald.com/homepage.bg">Home</a>
...[SNIP]...
<div id="news" class="tab" onmouseover="this.className = this.className + 'Hover'; return false;" onmouseout="this.className = this.className.replace('Hover', ''); return false;" onclick=""><a href="http://www.bostonherald.com/news/">News &amp; Opinion</a>
...[SNIP]...
<div id="sports" class="tabSelected"><a href="http://www.bostonherald.com/sports/">Sports</a>
...[SNIP]...
<div id="entertainment" class="tab" onmouseover="this.className = this.className + 'Hover'; return false;" onmouseout="this.className = this.className.replace('Hover', ''); return false;" onclick=""><a href="http://www.bostonherald.com/entertainment/">Entertainment</a>
...[SNIP]...
<div id="business" class="tab" onmouseover="this.className = this.className + 'Hover'; return false;" onmouseout="this.className = this.className.replace('Hover', ''); return false;" onclick=""><a href="http://www.bostonherald.com/business/">Business</a>
...[SNIP]...
<div id="inside" class="tab" onmouseover="this.className = this.className + 'Hover'; return false;" onmouseout="this.className = this.className.replace('Hover', ''); return false;" onclick=""><a href="http://www.bostonherald.com/track/">Inside Track</a>
...[SNIP]...
<div id="blogs" class="tab" onmouseover="this.className = this.className + 'Hover'; return false;" onmouseout="this.className = this.className.replace('Hover', ''); return false;" onclick=""><a href="http://www.bostonherald.com/blogs/">Blogs</a>
...[SNIP]...
<div id="media" class="tab" onmouseover="this.className = this.className + 'Hover'; return false;" onmouseout="this.className = this.className.replace('Hover', ''); return false;" onclick=""><a href="http://www.bostonherald.com/mediacenter">Photos &amp; Media</a>
...[SNIP]...
div id="carfind" class="tabAlternate" onmouseover="this.className = this.className + 'Hover'; return false;" onmouseout="this.className = this.className.replace('Hover', ''); return false;" onclick=""><a href="http://www.carfind.com/"><img src="http://cache.heraldinteractive.com/images/siteImages/header/headerNavBarBullet.gif" alt="Carfind">
...[SNIP]...
iv id="homefind" class="tabAlternate" onmouseover="this.className = this.className + 'Hover'; return false;" onmouseout="this.className = this.className.replace('Hover', ''); return false;" onclick=""><a href="http://www.homefind.com/"><img src="http://cache.heraldinteractive.com/images/siteImages/header/headerNavBarBullet.gif" alt="Homefind">
...[SNIP]...
div id="jobfind" class="tabAlternate" onmouseover="this.className = this.className + 'Hover'; return false;" onmouseout="this.className = this.className.replace('Hover', ''); return false;" onclick=""><a href="http://www.bostonherald.com/jobfind/"><img src="http://cache.heraldinteractive.com/images/siteImages/header/headerNavBarBullet.gif" alt="Jobfind">
...[SNIP]...
<li class="SubNavMain"><a href="http://www.bostonherald.com/sports/baseball/">Red Sox &amp; MLB</a>
...[SNIP]...
<li class="SubNavMain"><a href="http://www.bostonherald.com/sports/football/">Patriots &amp; NFL</a>
...[SNIP]...
<li class="SubNavMain"><a href="http://www.bostonherald.com/sports/basketball/">Celtics &amp; NBA</a>
...[SNIP]...
<li class="SubNavMain"><a href="http://www.bostonherald.com/sports/hockey/">Bruins &amp; NHL</a>
...[SNIP]...
<li class="SubNavMain"><a href="http://www.bostonherald.com/sports/college/">College</a>
...[SNIP]...
<li class="SubNavMain"><a href="http://www.bostonherald.com/sports/columnists/">Columnists</a>
...[SNIP]...
<li class="SubNavMain"><a href="http://www.bostonherald.com/sports/soccer/">Revolution &amp; Soccer</a>
...[SNIP]...
<li class="SubNavMain"><a href="http://www.bostonherald.com/sports/golf/">Golf</a>

</li>
<li class="SubNavMain"><a href="http://www.bostonherald.com/sports/high_school/">High School</a>
...[SNIP]...
<li class="SubNavMain"><a href="http://www.bostonherald.com/sports/other_sports/">Other</a>
...[SNIP]...
<p class="tsnid">Powered by <a href="http://www.sportsnetwork.com" target="_blank">The Sports Network</A>
...[SNIP]...
<h1><a href="http://www.bostonherald.com/blogs/">Blogs</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/blogs/sports/">Sports Blogs</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/blogs/news/">News &amp; Business Blogs</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/blogs/entertainment/">Entertainment Blogs</a>
...[SNIP]...
<h1><a href="http://www.bostonherald.com/news/">News &amp; Opinion</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/news/regional/">Local Coverage</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/news/politics/">Local Politics</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/news/columnists/">Columnists</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/news/opinion/">Opinion</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/news/national/">National</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/news/us_politics/">U.S. Politics</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/news/international/">International</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/news/offbeat/">Offbeat News</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/news/obituaries/">Obituaries&nbsp;</a>
...[SNIP]...
<h1><a href="http://www.bostonherald.com/sports/">Sports</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/sports/baseball/">Red Sox &amp; MLB</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/sports/football/">Patriots &amp; NFL</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/sports/basketball/">Celtics &amp; NBA</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/sports/hockey/">Bruins &amp; NHL</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/sports/college/">College</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/sports/soccer/">Revolution &amp; Soccer</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/sports/golf/">Golf</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/sports/columnists/">Columnists</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/sports/high_school/">High School</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/sports/other_sports/">Other</a>
...[SNIP]...
<h1><a href="http://www.bostonherald.com/entertainment/">Entertainment</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/entertainment/arts_culture/">Arts &amp; Culture</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/entertainment/movies/">Movies</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/entertainment/music/">Music</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/entertainment/food_dining/">Food &amp; Dining</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/entertainment/health/">Health &amp; Fitness</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/entertainment/travel/">Travel</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/entertainment/lifestyle/">Lifestyle</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/entertainment/fashion/">Style &amp; Fashion</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/entertainment/television/">Television</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/entertainment/books/">Books</a>
...[SNIP]...
<h1><a href="http://www.bostonherald.com/track/">Inside Track</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/track/inside_track/">The Inside Track</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/track/star_tracks/">Star Tracks</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/track/celebrity/">Celebrity News</a>
...[SNIP]...
<h1><a href="http://www.bostonherald.com/business/">Business</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/business/general/">Business &amp; Markets</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/business/real_estate/">Real Estate</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/business/media/">Media &amp; Marketing</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/business/technology/">Technology</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/business/healthcare/">Healthcare</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/business/automotive/">Automotive</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/business/womens/">Women&acute;s Business</a>
...[SNIP]...
<h2><a href="http://www.carfind.com/">Carfind</a>
...[SNIP]...
<h2><a href="http://www.homefind.com/">Homefind</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/jobfind/">Jobfind</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/jobfind/">Personals</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/crossword/">Crossword</a>
...[SNIP]...
<h2><a href="http://www.collegeanduniversity.net/herald/">Education Channel</a>
...[SNIP]...
<h2><a href="http://www.bostonherald.com/lottery">Lottery Results</a>
...[SNIP]...
<h2><a href="http://www.uclick.com/client/boh/sudoc/" target=_new">Play Sudoku!</a>
...[SNIP]...
</div>

<a class="orange" href="http://www.bostonherald.com/about/contact/">Contact us</a>&nbsp;&nbsp;|&nbsp;&nbsp;
<a class="orange" href="http://www.bostonherald.com/mediakit/print/">Print advertising</a>&nbsp;&nbsp;|&nbsp;&nbsp;
<a class="orange" href="http://www.bostonherald.com/mediakit/online/">Online advertising</a>&nbsp;&nbsp;|&nbsp;&nbsp;

<a class="orange" href="http://www.bostonherald.com/mediacenter/history/">Herald history</a>&nbsp;&nbsp;|&nbsp;&nbsp;
<a class="orange" href="http://www.bostonherald.com/about/contact/news_tip.bg">Send a news tip</a>&nbsp;&nbsp;|&nbsp;&nbsp;
<a class="orange" href="http://bostonherald.newspaperdirect.com" target="_new">Electronic edition</a>&nbsp;&nbsp;|&nbsp;&nbsp;
<a class="orange" href="http://www.bostonherald.com/mediacenter/browser/">Browser upgrade</a>&nbsp;&nbsp;|&nbsp;&nbsp;
<a class="orange" href="http://www.bostonherald.com/about/home_delivery/">Home delivery</a>&nbsp;&nbsp;|&nbsp;&nbsp;

<a class="orange" href="http://www.bostonherald.com/wireless">Mobile Edition</a>
...[SNIP]...
<br/>
No portion of BostonHerald.com or its content may be reproduced without the owner's written permission. <a href="http://www.heraldmedia.com/privacy.html">Privacy Commitment</a>
...[SNIP]...
</div>

<script language="JavaScript1.1" src="http://oascentral.bostonherald.com/RealMedia/ads/adstream_jx.ads/bh.heraldinteractive.com/sports/home@x01!x01"></script>
...[SNIP]...
</script>

<script type="text/javascript"
src="http://edge.quantserve.com/quant.js">
</script>
<noscript>
<a href="http://www.quantcast.com/p-352ZWwG8I7OVQ" target="_blank"><img
src="http://pixel.quantserve.com/pixel/p-352ZWwG8I7OVQ.gif" style="display:
none;" border="0" height="1" width="1" alt="Quantcast"/>
</a>
...[SNIP]...

3. Cross-domain script include  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://scores.heraldinteractive.com
Path:   /merge/tsnform.aspx

Issue detail

The response dynamically includes the following scripts from other domains:

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.

Request

GET /merge/tsnform.aspx?c=bostonherald&page=mlb/teams/028/schedule.aspx?team=028,season= HTTP/1.1
Host: scores.heraldinteractive.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Sat, 29 Jan 2011 05:21:36 GMT
X-Powered-By: ASP.NET
Connection: close
X-AspNet-Version: 2.0.50727
Set-Cookie: ASP.NET_SessionId=q0fm5255ct1r00ncq153f045; path=/; HttpOnly
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 56954

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title>Sports - BostonHerald.c
...[SNIP]...
</div>

<script language="JavaScript1.1" src="http://oascentral.bostonherald.com/RealMedia/ads/adstream_jx.ads/bh.heraldinteractive.com/sports/home@x01!x01"></script>
...[SNIP]...
</script>

<script type="text/javascript"
src="http://edge.quantserve.com/quant.js">
</script>
...[SNIP]...

4. Content type incorrectly stated  previous
There are 4 instances of this issue:

Issue background

If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.

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

Issue remediation

For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.


4.1. http://scores.heraldinteractive.com/aspdata/clients/herald/game.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://scores.heraldinteractive.com
Path:   /aspdata/clients/herald/game.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain script.

Request

GET /aspdata/clients/herald/game.aspx?team=028 HTTP/1.1
Host: scores.heraldinteractive.com
Proxy-Connection: keep-alive
Referer: http://www.bostonherald.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 28 Jan 2011 22:00:02 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: public, max-age=58
Expires: Fri, 28 Jan 2011 22:01:00 GMT
Last-Modified: Fri, 28 Jan 2011 22:00:00 GMT
Vary: *
Content-Type: text/html; charset=utf-8
Content-Length: 3133

document.write('<TABLE border="0" cellspacing="1" cellpadding="2" width="100%"><TR><TH Class="TSN6" width="40%" align="left">Final</TH><TH Class="TSN2" align="center" width="5%">1</TH><TH Class="TSN2"
...[SNIP]...

4.2. http://scores.heraldinteractive.com/aspdata/clients/herald/nbagame.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://scores.heraldinteractive.com
Path:   /aspdata/clients/herald/nbagame.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain script.

Request

GET /aspdata/clients/herald/nbagame.aspx?team=092 HTTP/1.1
Host: scores.heraldinteractive.com
Proxy-Connection: keep-alive
Referer: http://www.bostonherald.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 28 Jan 2011 22:00:02 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 1245

document.write('<TABLE BORDER="0" CELLPADDING="1" CELLSPACING="2" width="100%"><TR><TH width="40%" class="TSN6" align="left">1/28 10:30 PM ET</th><TH width="10%" class="TSN2" align="center">1</th><TH
...[SNIP]...

4.3. http://scores.heraldinteractive.com/aspdata/clients/herald/nflgame.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://scores.heraldinteractive.com
Path:   /aspdata/clients/herald/nflgame.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain script.

Request

GET /aspdata/clients/herald/nflgame.aspx?team=077 HTTP/1.1
Host: scores.heraldinteractive.com
Proxy-Connection: keep-alive
Referer: http://www.bostonherald.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 28 Jan 2011 22:00:01 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 1814

document.write('<TABLE BORDER="0" CELLPADDING="1" CELLSPACING="2" width="100%"><tr><TH width="40%" class="TSN6" align="left">Final </th><TH width="10%" align="center" Class="TSN2">1</th><TH width="10%
...[SNIP]...

4.4. http://scores.heraldinteractive.com/aspdata/clients/herald/nhlgame.aspx  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://scores.heraldinteractive.com
Path:   /aspdata/clients/herald/nhlgame.aspx

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain script.

Request

GET /aspdata/clients/herald/nhlgame.aspx?team=121 HTTP/1.1
Host: scores.heraldinteractive.com
Proxy-Connection: keep-alive
Referer: http://www.bostonherald.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 28 Jan 2011 22:00:01 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 1659

document.write('<TABLE BORDER="0" CELLPADDING="1" CELLSPACING="2" width="100%"><tr><TH width="40%" class="TSN6" align="left">Final </th><TH width="10%" align="center" Class="TSN2">1</th><TH width="10%
...[SNIP]...

Report generated by CloudScan Vulnerability Crawler at Sat Jan 29 08:34:41 CST 2011.