MEDIUM5.3
GHSA-mf8h-grfg-j9j3
Liferay Portal and Liferay DXP Allows Templates to be Viewed via the UI or API
Quick fix
GHSA-mf8h-grfg-j9j3 — com.liferay.portal:release.portal.bom: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.4.3.5-ga5</version> for com.liferay.portal:release.portal.bomDetails
The Journal module in Liferay Portal 7.2.0 through 7.4.3.4, and older unsupported versions, and Liferay DXP 7.4.13, 7.3 before service pack 3, 7.2 before fix pack 17, and older unsupported versions grants guest users view permission to web content templates by default, which allows remote attackers to view any template via the UI or API.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/com.liferay.portal:release.portal.bom
Introduced in:
7.2.0Fixed in: 7.4.3.5-ga5Fix
# pom.xml: bump <version>7.4.3.5-ga5</version> for com.liferay.portal:release.portal.bomMaven/com.liferay.portal:release.dxp.bom
Introduced in:
0Fixed in: 7.2.10.fp17Fix
# pom.xml: bump <version>7.2.10.fp17</version> for com.liferay.portal:release.dxp.bomReferences
- https://nvd.nist.gov/vuln/detail/CVE-2024-25605[ADVISORY]
- https://github.com/liferay/liferay-portal/commit/45ffb97de7ac475335215f2b6e86ebe1e7283ab4[WEB]
- https://github.com/liferay/liferay-portal/commit/5eb426ecc49e036ad566e829b8a2132104f7130e[WEB]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25605[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/com.liferay.portal/release.portal.bom"]}'