High, CVSS 8.8MavenPublished
Liferay Portal and Liferay DXP Vulnerable to SQL Injection via the Layout Module
CVE-2022-42121 · GHSA-gxxj-fhmr-37j9
- Affected
- Maven com.liferay:com.liferay.layout.page.template.service < 4.0.17
- Fixed in
- 4.0.17· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 4.0.17 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.