CVE-2020-13445 Liferay Portal and Liferay DXP Vulnerable to Arbitrary Code Execution
Authenticated attackers can execute arbitrary code by injecting malicious FreeMarker or Velocity templates into the Liferay Portal template API.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-13445?
CVE-2020-13445 is a high-severity code injection vulnerability in Liferay Liferay Portal, published on 10 Jun 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2020-13445?
8 open source packages ship an affected version, including com.liferay.portal:release.dxp.bom and com.liferay.portal:release.portal.bom. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.liferay.portal:release.dxp.bom Maven | From 7.0.0 | 7.0.10.fp92 |
com.liferay.portal:release.dxp.bom Maven | From 7.0.0 | 7.0.10.fp92 |
com.liferay.portal:release.dxp.bom Maven | From 7.1.0 | 7.1.10.fp18 |
com.liferay.portal:release.dxp.bom Maven | From 7.1.0 | 7.1.10.fp18 |
com.liferay.portal:release.dxp.bom Maven | From 7.2.0 | 7.2.10.fp6 |
com.liferay.portal:release.dxp.bom Maven | From 7.2.0 | 7.2.10.fp6 |
2 more packages
com.liferay.portal:release.portal.bom Maven | All versions | 7.3.2 |
com.liferay.portal:release.portal.bom Maven | All versions | 7.3.2 |
Products include Liferay Liferay Portal.
How do I fix CVE-2020-13445?
Upgrade com.liferay.portal:release.dxp.bom to a fixed version for your release line: 7.0.10.fp92, 7.1.10.fp18 or 7.2.10.fp6.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2020-13445 being exploited?
There is no known exploitation of CVE-2020-13445 in the wild and no public exploit code.
Other vulnerabilities in Liferay Liferay Portal
Sources
Also known as GHSA-v377-8f8f-532h.