Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-25146
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:09 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-25146
Complete source record
{
"id": "34085c7beea8655fc8dc0ae24acbbf8b1030f59fcd6593cda5341a5d2cea5ff7",
"url": "https://osv.dev/vulnerability/CVE-2024-25146",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-25146",
"summary": "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.",
"evidence": "osv:CVE-2024-25146",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-25146",
"aliases": [
"CVE-2024-25146",
"GHSA-mqf8-4cqm-p83x"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/liferay/liferay-portal",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "548f3899675d89749f92b7623d25e27d0c4691c7"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.2.0"
},
{
"last_affected": "7.4.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"7.4.1-ga2",
"7.4.0-ga1",
"7.3.5-ga6",
"7.3.4-ga5",
"test-fix-pack-base-7310",
"7.3.3-ga4",
"7.3.2-ga3",
"7.3.1-ga2",
"7.3.0-ga1",
"7.2.0-b3",
"7.2.0-b2",
"7.2.0-b1",
"7.2.0-a1",
"7.2.0-m2",
"7.1.0-b2",
"7.1.0-b1",
"7.1.0-a2",
"7.1.0-a1",
"7.1.0-m2",
"7.1.0-m1",
"sync-3.1.0-ga1",
"sync-3.0.10-ga2",
"sync-3.0.9-ga1",
"sync-3.0.8-b9",
"7.0.0-m5",
"sync-3.0.7-b8",
"sync-3.0.6-b7",
"sync-3.0.5-b6",
"sync-3.0.4-b5",
"sync-3.0.3-b4",
"sync-3.0.2-b3",
"sync-3.0.1-b2",
"sync-3.0.0-b1",
"7.0.0-m4",
"7.0.0-m3",
"7.0.0-m2",
"7.0.0-m1",
"6.2.0-b2",
"6.2.0-b1",
"6.2.0-m6",
"6.2.0-m5",
"6.2.0-m4",
"6.2.0-m3",
"6.2.0-m2",
"6.1.0-rc1",
"6.1.0-b4",
"6.1.0-b3",
"6.1.0-b2",
"6.1.0-b1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-25146.json"
}
}
],
"modified": "2026-10-24T10:30:36.026614252Z",
"provider": "osv",
"references": [
"https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25146"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:liferay:digital_experience_platform:7.2:-:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_10:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_11:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_12:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_13:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_14:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_15:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_16:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_17:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_1:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_2:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_3:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_4:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_5:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_6:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_7:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_8:*:*:*:*:*:*",
"cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_9:*:*:*:*:*:*"
],
"vendor_product": "liferay:digital_experience_platform",
"extracted_events": [
{
"range": [
{
"introduced": "7.2-NA"
},
{
"last_affected": "7.2-NA"
},
{
"introduced": "7.2-fix_pack_1"
},
{
"last_affected": "7.2-fix_pack_1"
},
{
"introduced": "7.2-fix_pack_10"
},
{
"last_affected": "7.2-fix_pack_10"
},
{
"introduced": "7.2-fix_pack_11"
},
{
"last_affected": "7.2-fix_pack_11"
},
{
"introduced": "7.2-fix_pack_12"
},
{
"last_affected": "7.2-fix_pack_12"
},
{
"introduced": "7.2-fix_pack_13"
},
{
"last_affected": "7.2-fix_pack_13"
},
{
"introduced": "7.2-fix_pack_14"
},
{
"last_affected": "7.2-fix_pack_14"
},
{
"introduced": "7.2-fix_pack_15"
},
{
"last_affected": "7.2-fix_pack_15"
},
{
"introduced": "7.2-fix_pack_16"
},
{
"last_affected": "7.2-fix_pack_16"
},
{
"introduced": "7.2-fix_pack_17"
},
{
"last_affected": "7.2-fix_pack_17"
},
{
"introduced": "7.2-fix_pack_2"
},
{
"last_affected": "7.2-fix_pack_2"
},
{
"introduced": "7.2-fix_pack_3"
},
{
"last_affected": "7.2-fix_pack_3"
},
{
"introduced": "7.2-fix_pack_4"
},
{
"last_affected": "7.2-fix_pack_4"
},
{
"introduced": "7.2-fix_pack_5"
},
{
"last_affected": "7.2-fix_pack_5"
},
{
"introduced": "7.2-fix_pack_6"
},
{
"last_affected": "7.2-fix_pack_6"
},
{
"introduced": "7.2-fix_pack_7"
},
{
"last_affected": "7.2-fix_pack_7"
},
{
"introduced": "7.2-fix_pack_8"
},
{
"last_affected": "7.2-fix_pack_8"
},
{
"introduced": "7.2-fix_pack_9"
},
{
"last_affected": "7.2-fix_pack_9"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:liferay:dxp:7.3:-:*:*:*:*:*:*",
"cpe:2.3:a:liferay:dxp:7.3:sp1:*:*:*:*:*:*",
"cpe:2.3:a:liferay:dxp:7.3:sp2:*:*:*:*:*:*"
],
"vendor_product": "liferay:dxp",
"extracted_events": [
{
"range": [
{
"introduced": "7.3-NA"
},
{
"last_affected": "7.3-NA"
},
{
"introduced": "7.3-sp1"
},
{
"last_affected": "7.3-sp1"
},
{
"introduced": "7.3-sp2"
},
{
"last_affected": "7.3-sp2"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2024-25146",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433879,
"published_at": "2024-02-08T04:15:08.04+00:00"
}