CVE-2024-25146
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | com.liferay.portal:release.dxp.bom | Fixed | 7.2.10.fp18 | GHSA-mqf8-4cqm-p83x |
| Maven library | com.liferay.portal:release.portal.bom | Fixed | 7.4.2 | GHSA-mqf8-4cqm-p83x |
What the vendor says
As published in the CVE record by Liferay, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Liferay Portal: affected: 7.2.0 to 7.4.1
- Liferay DXP: affected: 7.3.10 to 7.3.10-dxp-2, 7.2.10 to 7.2.10-dxp-17
Vendor advisories:
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/… (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.