CVE-2022-42124 Inefficient Regular Expression Complexity in Liferay Portal
Remote attackers can cause denial of service by sending crafted payloads to the layout prototype name field, consuming excessive server resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-42124?
CVE-2022-42124 is a high-severity denial of service vulnerability in Liferay Digital Experience Platform, published on 15 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
ReDoS vulnerability in LayoutPageTemplateEntryUpgradeProcess in Liferay Portal 7.3.2 through 7.4.3.4 and Liferay DXP 7.2 fix pack 9 through fix pack 18, 7.3 before update 4, and DXP 7.4 GA allows remote attackers to consume an excessive amount of server resources via a crafted payload injected into the 'name' field of a layout prototype.
Weakness: CWE-1333
Which versions are affected by CVE-2022-42124?
3 open source packages ship an affected version, including com.liferay.portal:release.portal.bom and liferay. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
com.liferay.portal:release.portal.bom Maven | From 7.3.2 | 7.4.3.5 |
com.liferay.portal:release.portal.bom Maven | From 7.3.2 | 7.4.3.5 |
liferay Bitnami | From 7.3.0 to 7.3.0 | None |
Products include Liferay Digital Experience Platform, Liferay Liferay Portal.
How do I fix CVE-2022-42124?
Upgrade com.liferay.portal:release.portal.bom to 7.4.3.5 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-42124 being exploited?
There is no known exploitation of CVE-2022-42124 in the wild and no public exploit code.
Other vulnerabilities in Liferay Digital Experience Platform
- CVE-2024-8980 Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console
- CVE-2023-42496 Liferay Portal and Liferay DXP vulnerable to reflected Cross-site Scripting
- CVE-2023-42498 Liferay Portal Language Override edit screen and Liferay DXP vulnerable to reflected Cross-site Scripting
- CVE-2024-25147 Liferay Portal and Liferay DXP vulnerable to Cross-site Scripting
- CVE-2024-26269 Liferay Portal Frontend JS module's portlet.js and Liferay DXP vulnerable to Cross-site Scripting
Sources
Also known as BIT-liferay-2022-42124, GHSA-vjj4-qwcm-552h.