CVE-2024-25146 Liferay Portal allows attackers to discover the existence of sites

Medium 5.3 Published Updated

Remote attackers can enumerate existing sites by analyzing response differences, requiring specific locale and 404 page configurations.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-25146?

CVE-2024-25146 is a medium-severity vulnerability in Liferay Digital Experience Platform, published on 8 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Liferay Portal 7.2.0 through 7.4.1, and older unsupported versions, and Liferay DXP 7.3 before service pack 3, 7.2 before fix pack 18, and older unsupported versions returns with different responses depending on whether a site does not exist or if the user does not have permission to access the site, which allows remote attackers to discover the existence of sites by enumerating URLs. This vulnerability occurs if locale.prepend.friendly.url.style=2 and if a custom 404 page is used.

Weakness: CWE-203, CWE-204

Which versions are affected by CVE-2024-25146?

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

PackageAffectedFixed in
com.liferay.portal:release.dxp.bom MavenFrom 7.2.07.2.10.fp18
com.liferay.portal:release.dxp.bom MavenFrom 7.2.07.2.10.fp18
com.liferay.portal:release.dxp.bom MavenFrom 7.3.07.3.10.u4
com.liferay.portal:release.dxp.bom MavenFrom 7.3.07.3.10.u4
com.liferay.portal:release.portal.bom MavenFrom 7.2.07.4.2
com.liferay.portal:release.portal.bom MavenFrom 7.2.07.4.2

Products include Liferay Digital Experience Platform, Liferay Dxp, Liferay Liferay Portal.

How do I fix CVE-2024-25146?

Upgrade com.liferay.portal:release.dxp.bom to a fixed version for your release line: 7.2.10.fp18 or 7.3.10.u4.

Is CVE-2024-25146 being exploited?

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

All Liferay Digital Experience Platform vulnerabilities

Sources

Also known as GHSA-mqf8-4cqm-p83x.

Is CVE-2024-25146 in your software?

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

Check your SBOMs for free