PR11-08 - Liferay Portal multiple unauthenticated & authenticated XSS and username enumeration
ProCheckUp Labs are dedicated to conducting research and raising the awareness of information security issues. The combination of ProCheckNet's response-driven AI technology and our experienced security consultants has led to the discovery of many security vulnerabilities and advisories during penetration testing assignments.
In 2008 ProCheckUp published more vulnerabilities than any other UK penetration testing company.
Over the years, ProCheckUp have been credited with finding vulnerabilities and advisories in products from vendors such as:
Microsoft - Aruba Networks - IBM - Novell - BEA Systems - Whale Communications - Netscape - Hummingbird - Apache- F5 Networks - GoAhead - Sun Microsystems
Advisories (Vulnerabilities) & Papers
- Vulnerability found:
- 05 September 2011
- Vendor informed:
- 12 September 2010
- Severity level:
- Medium (Script injection)
- Richard Brain of ProCheckUp Ltd (www.procheckup.com)
- Multiple Cross-site Scripting vulnerabilities exist within the Liferay Portal software.
ProCheckUp has found by making a malformed requests to the Liferay Portal with and without being authenticated, multiple vanilla cross site scripting (XSS) vulnerabilities exist. In addition Liferay has a vulnerability which allows valid user names to be enumerated, which allows the default admin accounts to be enumerated.
Successfully tested on:-
Versions : 6.0.5, some on version 6.0.6
- Proof of concept:
- 1) Unauthenticated XSS attacks
The following attacks have been tested with IE and Firefox:-
Version 6.0.5 attack variant
Version 6.0.6 attack variant
2) Authenticated XSS attacks
The following attacks work with IE only:-
An attacker may be able to cause execution of malicious scripting code in the browser of a user who clicks on a link or visits a malicious webpage. The malicious code would run in the security context of the vulnerable website.
This type of attack can result in non-persistent defacement of the target site, or the redirection of confidential information (i.e.: passwords or session IDs) to unauthorised third parties.
3) The Liferay forgot password page can also be used for username enumeration, as a different error message is returned when a valid user name though wrong password is entered. Compared to an invalid user name being entered.
This is important as the Liferay, default admin accounts can be enumerated:-
Email address: firstname.lastname@example.org
Email address: email@example.com
- How to fix:
- Update to Liferay Portal version 6.1.1 or a later version.
- Copyright 2011-2013 Procheckup Ltd. All rights reserved.
Permission is granted for copying and circulating this Bulletin to the Internet community for the purpose of alerting them to problems, if and only if, the Bulletin is not edited or changed in any way, is attributed to Procheckup, and provided such reproduction and/or distribution is performed for non-commercial purposes.
Any other use of this information is prohibited. Procheckup is not liable for any misuse of this information by any third party.