CVE-2021-29052 Liferay Portal and Liferay DXP Fails to Check Permissions

Medium 4.3 Published Updated

Authenticated users can bypass permission checks to view unauthorized DDMStructures via the Data Engine module API.

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-2021-29052?

CVE-2021-29052 is a medium-severity missing authorization vulnerability in Liferay Liferay Portal, published on 17 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Data Engine module in Liferay Portal 7.3.0 through 7.3.5, and Liferay DXP 7.3 before fix pack 1 does not check permissions in DataDefinitionResourceImpl.getSiteDataDefinitionByContentTypeByDataDefinitionKey, which allows remote authenticated users to view DDMStructures via GET API calls.

Weakness: CWE-276

Which versions are affected by CVE-2021-29052?

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

PackageAffectedFixed in
com.liferay.portal:release.dxp.bom MavenAll versions7.3.10.fp1
com.liferay.portal:release.dxp.bom MavenAll versions7.3.10.fp1
com.liferay.portal:release.portal.bom MavenFrom 7.3.0 to 7.3.5None
com.liferay.portal:release.portal.bom MavenFrom 7.3.0 to 7.3.5None

Products include Liferay Dxp, Liferay Liferay Portal.

How do I fix CVE-2021-29052?

Upgrade com.liferay.portal:release.dxp.bom to 7.3.10.fp1 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-29052 being exploited?

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

All Liferay Liferay Portal vulnerabilities

Sources

Also known as GHSA-pr7v-qv65-rp9m.

Is CVE-2021-29052 in your software?

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

Check your SBOMs for free