CVE-2020-13445: GHSL-2020-043: Server-side template injection in Liferay - CVE-2020-13445

Published Jun 10, 2020
·
Updated

A user with privileges to edit FreeMarker or Velocity templates may execute arbitrary Java code or run arbitrary system commands with the same privileges as the account running Liferay.

Other sources

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.

MITRE

Affected Software

11 affected componentsFixes available
Liferay Liferay Portal=7.1-ga1
Liferay Liferay Portal=7.1-ga2
Liferay Liferay Portal=7.1-ga3
Liferay Liferay Portal=7.1.1-ga2
Liferay Liferay Portal=7.2-ga1
Liferay Liferay Portal=7.3-ga1
Liferay Liferay Portal=7.3-ga2
maven/com.liferay.portal:release.dxp.bom>=7.2.0<7.2.10.fp6
7.2.10.fp6
maven/com.liferay.portal:release.dxp.bom>=7.1.0<7.1.10.fp18
7.1.10.fp18
maven/com.liferay.portal:release.dxp.bom>=7.0.0<7.0.10.fp92
7.0.10.fp92
maven/com.liferay.portal:release.portal.bom<7.3.2
7.3.2

Event History

Jun 10, 2020
CVE Published
via MITRE·06:09 PM
Data Sourced
via MITRE·06:09 PM
Description
Jul 15, 2020
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
Description
May 24, 2022
Advisory Published
via GitHub·05:20 PM

Frequently Asked Questions

1

What is the severity of CVE-2020-13445?

CVE-2020-13445 is rated as high severity due to its ability to allow unauthorized access and remote code execution.

2

How do I fix CVE-2020-13445?

To fix CVE-2020-13445, upgrade to Liferay Portal version 7.3.2 or Liferay DXP 7.0 fix pack 92 or later.

3

Who is affected by CVE-2020-13445?

CVE-2020-13445 affects users of Liferay Portal versions prior to 7.3.2 and various earlier fix packs for versions 7.0, 7.1, and 7.2.

4

What types of attacks can exploit CVE-2020-13445?

CVE-2020-13445 can be exploited by authenticated remote users to execute arbitrary code using specially crafted FreeMarker and Velocity templates.

5

Is there a workaround for CVE-2020-13445?

There are no official workarounds for CVE-2020-13445, and upgrading to the fixed versions is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203