Remote code execution in Calendar portlet

Description

An attacker with access to JSON services can cause Java code written in the the title or the description of a calendar to execute. If the attacker also has permission to create events in the Calendar portlet, the attacker will be able to execute any Java code on the server.

Workaround

Disable JSON service's access to CalEventServiceUtil by adding "com.liferay.portlet.calendar.service.CalEventServiceUtil" to the "json.service.invalid.class.names" property in portal-ext.properties. For example:

Activity

Show:

Samuel KongJuly 3, 2012 at 4:38 AM

The code for this ticket was committed under .

Fixed

Details

Assignee

Reporter

Components

Priority

Zendesk Support

Created July 3, 2012 at 4:06 AM
Updated June 24, 2023 at 3:52 PM
Resolved July 3, 2012 at 4:07 AM
Loading...