CVE-2024-25146: Liferay Portal allows attackers to discover the existence of sites
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.
Published Feb 8, 2024 · Updated Mar 19, 2026
Affected packages
com.liferay.portal:release.portal.bom
- Ecosystem
- Maven
- Affected
- >= 7.2.0, < 7.4.2
- Fixed in
- 7.4.2
- Check
mvn dependency:tree -Dincludes=com.liferay.portal:release.portal.bom
com.liferay.portal:release.dxp.bom
- Ecosystem
- Maven
- Affected
- >= 7.3.0, < 7.3.10.u4
- Fixed in
- 7.3.10.u4
- Check
mvn dependency:tree -Dincludes=com.liferay.portal:release.dxp.bom
com.liferay.portal:release.dxp.bom
- Ecosystem
- Maven
- Affected
- >= 7.2.0, < 7.2.10.fp18
- Fixed in
- 7.2.10.fp18
- Check
mvn dependency:tree -Dincludes=com.liferay.portal:release.dxp.bom
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2025-62264
Liferay Portal Vulnerable to Reflected XSS via the selectedLanguageId Parameter
medium6.1Oct 31, 2025CVE-2025-62257
Liferay Portal vulnerable to password enumeration
medium6.3Oct 30, 2025CVE-2025-62265
Liferay Portal is vulnerable to XSS in the Blogs widget
medium4.8Oct 30, 2025CVE-2025-62266
Liferay Portal is vulnerable to DNS rebinding attacks
medium5.1Oct 30, 2025CVE-2025-62258
Liferay Portal Vulnerable to CSRF in Headless APIs
high7.0Oct 28, 2025CVE-2025-62259
Liferay Portal Does Not Limit Access to APIs Before Email Verification
medium6.9Oct 28, 2025
