CVE-2024-25146
Java vulnerability analysis and mitigation

Overview

CVE-2024-25146 is a vulnerability discovered in Liferay Portal and Liferay DXP that was disclosed on February 7, 2024. The vulnerability affects Liferay Portal versions 7.2.0 through 7.4.1 and older unsupported versions, as well as Liferay DXP 7.3 before service pack 3 and 7.2 before fix pack 18. This security issue allows remote attackers to discover the existence of sites by enumerating URLs when specific conditions are met (Liferay Advisory).

Technical details

The vulnerability occurs when the system configuration has locale.prepend.friendly.url.style=2 and a custom 404 page is used. The core issue lies in the different responses returned by the system depending on whether a site does not exist or if the user does not have permission to access the site. This observable response discrepancy (CWE-203, CWE-204) allows attackers to enumerate and discover existing sites. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (NVD).

Impact

The primary impact of this vulnerability is the potential disclosure of information about existing sites within the Liferay installation. Attackers can leverage the different system responses to determine whether specific sites exist, even if they don't have permission to access them. This information disclosure could be used as part of a larger reconnaissance effort (Liferay Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Liferay Portal 7.4.2, Liferay DXP 7.3 service pack 3, and Liferay DXP 7.2 fix pack 18. Organizations using affected versions should upgrade to these patched versions to mitigate the vulnerability (Liferay Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65091CRITICAL10
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2025-70974CRITICAL10
  • JavaJava
  • com.alibaba:fastjson
NoYesJan 09, 2026
CVE-2026-22244HIGH8.5
  • JavaJava
  • org.open-metadata:platform
NoYesJan 08, 2026
CVE-2025-65090MEDIUM5.3
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2026-0707MEDIUM5.3
  • JavaJava
  • org.keycloak:keycloak-parent
NoNoJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management