VDB
Sign up
MEDIUM5.3

GHSA-mqf8-4cqm-p83x

Liferay Portal allows attackers to discover the existence of sites

Quick fix

GHSA-mqf8-4cqm-p83x — com.liferay.portal:release.portal.bom: upgrade to the fixed version with the command below.

# pom.xml: bump <version>7.4.2</version> for com.liferay.portal:release.portal.bom

Details

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.

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.2
Fix# pom.xml: bump <version>7.4.2</version> for com.liferay.portal:release.portal.bom
Maven/com.liferay.portal:release.dxp.bom
Introduced in: 7.3.0Fixed in: 7.3.10.u4
Fix# pom.xml: bump <version>7.3.10.u4</version> for com.liferay.portal:release.dxp.bom
Maven/com.liferay.portal:release.dxp.bom
Introduced in: 7.2.0Fixed in: 7.2.10.fp18
Fix# pom.xml: bump <version>7.2.10.fp18</version> for com.liferay.portal:release.dxp.bom

References

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"]}'