CVE-2021-33320 Liferay Portal and Liferay DXP vulnerable to email spam via lack of flagging rate

Medium 4.3 Published Updated

Authenticated users can spam site administrators with emails by exploiting a lack of rate limiting in the Flags module, causing resource exhaustion.

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-33320?

CVE-2021-33320 is a medium-severity denial of service vulnerability in Liferay Digital Experience Platform, published on 3 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Flags module in Liferay Portal 7.3.1 and earlier, and Liferay DXP 7.0 before fix pack 96, 7.1 before fix pack 20, and 7.2 before fix pack 5, does not limit the rate at which content can be flagged as inappropriate, which allows remote authenticated users to spam the site administrator with emails

Weakness: CWE-770

Which versions are affected by CVE-2021-33320?

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

PackageAffectedFixed in
com.liferay.portal:release.dxp.bom MavenFrom 7.0.07.0.10.fp96
com.liferay.portal:release.dxp.bom MavenFrom 7.0.07.0.10.fp96
com.liferay.portal:release.dxp.bom MavenFrom 7.1.07.1.10.fp20
com.liferay.portal:release.dxp.bom MavenFrom 7.1.07.1.10.fp20
com.liferay.portal:release.dxp.bom MavenFrom 7.2.07.2.10.fp5
com.liferay.portal:release.dxp.bom MavenFrom 7.2.07.2.10.fp5
2 more packages
com.liferay:com.liferay.flags.taglib MavenAll versions5.0.11
com.liferay:com.liferay.flags.taglib MavenAll versions5.0.11

Products include Liferay Digital Experience Platform, Liferay Liferay Portal.

How do I fix CVE-2021-33320?

Upgrade com.liferay.portal:release.dxp.bom to a fixed version for your release line: 7.0.10.fp96, 7.1.10.fp20 or 7.2.10.fp5.

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-2021-33320 being exploited?

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

All Liferay Digital Experience Platform vulnerabilities

Sources

Also known as GHSA-wg4x-hf94-fj5v.

Is CVE-2021-33320 in your software?

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

Check your SBOMs for free