HIGH8.8
GHSA-v377-8f8f-532h
Liferay Portal and Liferay DXP Vulnerable to Arbitrary Code Execution
Quick fix
GHSA-v377-8f8f-532h — com.liferay.portal:release.portal.bom: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.3.2</version> for com.liferay.portal:release.portal.bomDetails
In Liferay Portal before 7.3.2 and Liferay DXP 7.0 before fix pack 92, 7.1 before fix pack 18, and 7.2 before fix pack 6, the template API does not restrict user access to sensitive objects, which allows remote authenticated users to execute arbitrary code via crafted FreeMarker and Velocity templates.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/com.liferay.portal:release.portal.bom
Introduced in:
0Fixed in: 7.3.2Fix
# pom.xml: bump <version>7.3.2</version> for com.liferay.portal:release.portal.bomMaven/com.liferay.portal:release.dxp.bom
Introduced in:
7.0.0Fixed in: 7.0.10.fp92Fix
# pom.xml: bump <version>7.0.10.fp92</version> for com.liferay.portal:release.dxp.bomMaven/com.liferay.portal:release.dxp.bom
Introduced in:
7.1.0Fixed in: 7.1.10.fp18Fix
# pom.xml: bump <version>7.1.10.fp18</version> for com.liferay.portal:release.dxp.bomMaven/com.liferay.portal:release.dxp.bom
Introduced in:
7.2.0Fixed in: 7.2.10.fp6Fix
# pom.xml: bump <version>7.2.10.fp6</version> for com.liferay.portal:release.dxp.bomReferences
- https://nvd.nist.gov/vuln/detail/CVE-2020-13445[ADVISORY]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://issues.liferay.com/browse/LPE-17023[WEB]
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/119317411[WEB]
- https://securitylab.github.com/advisories/GHSL-2020-043-liferay_ce[ADVISORY]
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"]}'