NetSight
high8.8

CVE-2022-42121

Liferay Portal and Liferay DXP Vulnerable to SQL Injection via the Layout Module

Impact

A SQL injection vulnerability in the Layout module before 4.0.17 from Liferay Portal (7.1.3 through 7.4.3.4), and Liferay DXP 7.1 before fix pack 27, 7.2 before fix pack 17, 7.3 before service pack 3, and 7.4 GA allows remote authenticated attackers to execute arbitrary SQL commands via a crafted payload injected into a page template's 'Name' field.

Affected packages

EcosystemPackageAffectedFixed in
mavencom.liferay:com.liferay.layout.page.template.service< 4.0.174.0.17
mavencom.liferay.portal:release.dxp.bom>= 7.1.0, < 7.1.10.fp277.1.10.fp27

Affected products

VendorProductAffected versions
LiferayLiferay Portal
from 7.1.3 through 7.4.3.4
from 7.1.0 through 7.4.2
LiferayDigital Experience Platform
Versions 7.1, 7.2
LiferayDxp
Versions 7.3, 7.4

Weakness classification

References