CVE-2024-25146 Liferay Portal allows attackers to discover the existence of sites
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.
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.
| Package | Affected | Fixed in |
|---|---|---|
com.liferay.portal:release.dxp.bom Maven | From 7.2.0 | 7.2.10.fp18 |
com.liferay.portal:release.dxp.bom Maven | From 7.2.0 | 7.2.10.fp18 |
com.liferay.portal:release.dxp.bom Maven | From 7.3.0 | 7.3.10.u4 |
com.liferay.portal:release.dxp.bom Maven | From 7.3.0 | 7.3.10.u4 |
com.liferay.portal:release.portal.bom Maven | From 7.2.0 | 7.4.2 |
com.liferay.portal:release.portal.bom Maven | From 7.2.0 | 7.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.
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 GHSA-mqf8-4cqm-p83x.