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

- Severity: Medium 5.3 (CVSS:3.1, scored by Liferay) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-02-08T03:36:07.512Z
- Modified: 2026-06-17T07:15:35.977Z
- Also known as: GHSA-mqf8-4cqm-p83x
- Weaknesses: CWE-203, CWE-204
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Liferay

## 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.

(As written by CVE List.)

## Affected

- Liferay Portal: from 7.2.0 up to 7.4.1
- Liferay DXP: from 7.3.10 up to 7.3.10-dxp-2; from 7.2.10 up to 7.2.10-dxp-17; 7.3
- com.liferay.portal:release.portal.bom (Maven): from 7.2.0 before 7.4.2
- com.liferay.portal:release.dxp.bom (Maven): from 7.3.0 before 7.3.10.u4; from 7.2.0 before 7.2.10.fp18
- liferay digital_experience_platform: 7.2
- liferay liferay_portal: from 7.2.0 up to 7.4.1

## Every score

- Liferay: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25146> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-25146> (advisory)
- <https://github.com/liferay/liferay-portal> (package)

## Sources

- CVE List: [CVE-2024-25146](https://www.cve.org/CVERecord?id=CVE-2024-25146), CVE Terms of Use, modified 2025-05-15
- GitHub Advisory Database: [GHSA-mqf8-4cqm-p83x](https://github.com/advisories/GHSA-mqf8-4cqm-p83x), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2024-25146](https://nvd.nist.gov/vuln/detail/CVE-2024-25146), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-25146 · Whole record: https://cve.day/CVE-2024-25146.json · Rebuilt by cve.day 2026-11-25T22:58:36.663Z
