Liferay is a well-known Java-based CMS that we encounter sometimes during assessment. A remote code execution (RCE) vulnerability via JSON web services exists in Liferay Portal 7.2.0 and earlier (JSONWS) is because of the deserialization of Untrustworthy Data in Liferay Portal before version 7.2.1 CE GA2 Consequently, Via JSON web services, remote attackers can run arbitrary code.
To remove this vulnerability, update your Liferay Portal application to the most recent version.