CVE-2022-42121

High

Description

A SQL injection vulnerability in the Layout module in 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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductLiferay Portal
PublishedNov 15, 2022
First seenNov 15, 2022
Weakness typeCWE-89SQL injection

How to fix

Update
  • com.liferay:com.liferay.layout.page.template.service4.0.17 or later
  • com.liferay.portal:release.dxp.bom7.1.10.fp27, 7.2.10.fp17 or later

Affected products

ProductAffected versionsFixed in
liferay liferay_portal7.1.3 ≤ v ≤ 7.4.3.4, 7.1.0 ≤ v ≤ 7.4.2—
liferay digital_experience_platform7.1, 7.2—
liferay dxp7.3, 7.4—
com.liferay:com.liferay.layout.page.template.serviceMavenv < 4.0.174.0.17
com.liferay.portal:release.dxp.bomMaven7.1.0 ≤ v < 7.1.10.fp27, 7.2.0 ≤ v < 7.2.10.fp177.1.10.fp27, 7.2.10.fp17

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.