VYPR
Moderate severityNVD Advisory· Published Feb 20, 2024· Updated Apr 24, 2025

CVE-2024-25605

CVE-2024-25605

Description

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
com.liferay.portal:release.portal.bomMaven
>= 7.2.0, < 7.4.3.5-ga57.4.3.5-ga5
com.liferay.portal:release.dxp.bomMaven
< 7.2.10.fp177.2.10.fp17

Affected products

2

Patches

2
45ffb97de7ac

LPS-141405 Don't grant VIEW access on information template creation to Guest and Site Member roles.

https://github.com/liferay/liferay-portalLourdes Fernandez BesadaNov 3, 2021via ghsa
1 file changed · +0 3
  • modules/apps/template/template-web/src/main/java/com/liferay/template/web/internal/portlet/action/AddTemplateEntryMVCActionCommand.java+0 3 modified
    @@ -92,9 +92,6 @@ protected void doTransactionalCommand(
     		ServiceContext serviceContext = ServiceContextFactory.getInstance(
     			DDMTemplate.class.getName(), actionRequest);
     
    -		serviceContext.setAddGroupPermissions(true);
    -		serviceContext.setAddGuestPermissions(true);
    -
     		try {
     			DDMTemplate ddmTemplate = _ddmTemplateLocalService.addTemplate(
     				themeDisplay.getUserId(), serviceContext.getScopeGroupId(),
    
5eb426ecc49e

LPS-141405 Don't grant VIEW access on journal DDMTemplate creation to Guest and Site Member roles.

https://github.com/liferay/liferay-portalLourdes Fernandez BesadaNov 3, 2021via ghsa
1 file changed · +0 3
  • modules/apps/journal/journal-web/src/main/java/com/liferay/journal/web/internal/portlet/action/AddDDMTemplateMVCActionCommand.java+0 3 modified
    @@ -98,9 +98,6 @@ else if (Objects.equals(smallImageSource, "file")) {
     		ServiceContext serviceContext = ServiceContextFactory.getInstance(
     			DDMTemplate.class.getName(), uploadPortletRequest);
     
    -		serviceContext.setAddGroupPermissions(true);
    -		serviceContext.setAddGuestPermissions(true);
    -
     		DDMTemplate ddmTemplate = _ddmTemplateService.addTemplate(
     			groupId, _portal.getClassNameId(DDMStructure.class), classPK,
     			_portal.getClassNameId(JournalArticle.class), templateKey, nameMap,
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

5

News mentions

0

No linked articles in our index yet.