CVE-2022-42126 Missing permissions check in Liferay Portal

Medium 4.3 Published Updated

Authenticated users can view unauthorized asset libraries due to missing permission checks in Liferay Portal.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-42126?

CVE-2022-42126 is a medium-severity missing authorization vulnerability in Liferay Digital Experience Platform, published on 15 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Asset Libraries module in Liferay Portal 7.3.5 through 7.4.3.28, and Liferay DXP 7.3 before update 8, and DXP 7.4 before update 29 does not properly check permissions of asset libraries, which allows remote authenticated users to view asset libraries via the UI.

Weakness: CWE-284

Which versions are affected by CVE-2022-42126?

3 open source packages ship an affected version, including com.liferay.portal:release.portal.bom and liferay. It affects 2 products.

PackageAffectedFixed in
com.liferay.portal:release.portal.bom MavenFrom 7.3.57.4.3.48
com.liferay.portal:release.portal.bom MavenFrom 7.3.57.4.3.48
liferay BitnamiFrom 7.3.0 to 7.3.0None

Products include Liferay Digital Experience Platform, Liferay Liferay Portal.

How do I fix CVE-2022-42126?

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-42126 being exploited?

There is no known exploitation of CVE-2022-42126 in the wild and no public exploit code.

All Liferay Digital Experience Platform vulnerabilities

Sources

Also known as BIT-liferay-2022-42126, GHSA-642h-mx8q-47p2.

Is CVE-2022-42126 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free