MEDIUM5.3
GHSA-vrwx-q9pj-x488
Liferay Portal and Liferay DXP Bypass via Double Encoded URL
Quick fix
GHSA-vrwx-q9pj-x488 — com.liferay.portal:com.liferay.portal.impl: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.4.0</version> for com.liferay.portal:com.liferay.portal.implDetails
In Liferay Portal before 7.3.1, com.liferay.portal:com.liferay.portal.impl before 7.1.3 and 7.4.0, Liferay Portal 6.2 EE, and Liferay DXP 7.2, DXP 7.1 and DXP 7.0, the property 'portlet.resource.id.banned.paths.regexp' can be bypassed with doubled encoded URLs.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/com.liferay.portal:com.liferay.portal.impl
Introduced in:
7.2.0Fixed in: 7.4.0Fix
# pom.xml: bump <version>7.4.0</version> for com.liferay.portal:com.liferay.portal.implMaven/com.liferay.portal:release.dxp.bom
Introduced in:
0Fixed in: 7.0.10.fp93Fix
# pom.xml: bump <version>7.0.10.fp93</version> for com.liferay.portal:release.dxp.bomMaven/com.liferay.portal:release.dxp.bom
Introduced in:
7.1.0Fixed in: 7.1.10.fp19Fix
# pom.xml: bump <version>7.1.10.fp19</version> for com.liferay.portal:release.dxp.bomMaven/com.liferay.portal:release.dxp.bom
Introduced in:
7.2.0Fixed in: 7.2.10.fp7Fix
# pom.xml: bump <version>7.2.10.fp7</version> for com.liferay.portal:release.dxp.bomMaven/com.liferay.portal:release.portal.bom
Introduced in:
0Fixed in: 7.3.1Fix
# pom.xml: bump <version>7.3.1</version> for com.liferay.portal:release.portal.bomMaven/com.liferay.portal:com.liferay.portal.impl
Introduced in:
0Fixed in: 7.1.3Fix
# pom.xml: bump <version>7.1.3</version> for com.liferay.portal:com.liferay.portal.implReferences
- https://nvd.nist.gov/vuln/detail/CVE-2020-15840[ADVISORY]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://issues.liferay.com/browse/LPE-17046[WEB]
- https://portal.liferay.dev/learn/security/known-vulnerabilities[WEB]
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/119772204[WEB]
- https://security.snyk.io/vuln/SNYK-JAVA-COMLIFERAYPORTAL-1296538[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/com.liferay.portal.impl"]}'