ADVISORIES

GitHub Advisory Database

GHSA-r5fj-j449-vqw2

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

Critical CVE-2022-42120

Details

A SQL injection vulnerability in the Fragment module before 4.0.33 from Liferay Portal (7.3.3 through 7.4.3.16), and Liferay DXP 7.3 before update 4, and 7.4 before update 17 allows attackers to execute arbitrary SQL commands via a PortletPreferences' namespace attribute.

Affected packages

EcosystemPackageAffected versions
Mavencom.liferay:com.liferay.fragment.service
All versions before 4.0.33 (fixed in 4.0.33)
Mavencom.liferay.portal:release.dxp.bom
From 7.3.0 before 7.3.10.u4 (fixed in 7.3.10.u4)
Mavencom.liferay.portal:release.dxp.bom
From 7.4.0 before 7.4.13.u17 (fixed in 7.4.13.u17)

References