CVE-2022-42127 Incorrect Default Permissions in Liferay Portal
Remote attackers can view the history of all friendly URLs assigned to a page due to improper permission checks in the Friendly Url module.
- 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-42127?
CVE-2022-42127 is a medium-severity missing authorization 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
The Friendly Url module in Liferay Portal 7.4.3.5 through 7.4.3.36, and Liferay DXP 7.4 update 1 though 36 does not properly check user permissions, which allows remote attackers to obtain the history of all friendly URLs that was assigned to a page.
Weakness: CWE-276
Which versions are affected by CVE-2022-42127?
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.4.3.5 | 7.4.3.48 |
com.liferay.portal:release.portal.bom Maven | From 7.4.3.5 | 7.4.3.48 |
liferay Bitnami | From 7.4-update1.0 to 7.4-update1.0 | None |
Products include Liferay Digital Experience Platform, Liferay Liferay Portal.
How do I fix CVE-2022-42127?
Upgrade com.liferay.portal:release.portal.bom to 7.4.3.48 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-42127 being exploited?
There is no known exploitation of CVE-2022-42127 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-42127, GHSA-5x9h-p2gx-35mg.