CVE Vulnerabilities

CVE-2020-13445

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: Jun 10, 2020 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

NameVendorStart VersionEnd Version
Liferay_portalLiferay7.1-ga1 (including)7.1-ga1 (including)
Liferay_portalLiferay7.1-ga2 (including)7.1-ga2 (including)
Liferay_portalLiferay7.1-ga3 (including)7.1-ga3 (including)
Liferay_portalLiferay7.1.1-ga2 (including)7.1.1-ga2 (including)
Liferay_portalLiferay7.2-ga1 (including)7.2-ga1 (including)
Liferay_portalLiferay7.3-ga1 (including)7.3-ga1 (including)
Liferay_portalLiferay7.3-ga2 (including)7.3-ga2 (including)

Potential Mitigations

References