SB2021051306 - Multiple vulnerabilities in Liferay Enterprise Portal



SB2021051306 - Multiple vulnerabilities in Liferay Enterprise Portal

Published: May 13, 2021

Security Bulletin ID SB2021051306
Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 50% Low 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 secuirty vulnerabilities.


1) SQL injection (CVE-ID: CVE-2021-29053)

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data in the "classPKField" parameter in "CommerceChannelRelFinder.countByC_C" and "CommerceChannelRelFinder.findByC_C". A remote authenticated attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


2) Stored cross-site scripting (CVE-ID: CVE-2021-29044)

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data in the "_com_liferay_site_my_sites_web_portlet_MySitesPortlet_comments" parameter. A remote attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Remediation

Install update from vendor's website.