CVE-2020-12873: GHSL-2020-039: Server-side template injection in Alfresco - CVE-2020-12873

Published Jul 15, 2020
·
Updated

A user with privileges to edit a FreeMarker template (e.g. a webscript) may execute arbitrary Java code or run arbitrary system commands with the same privileges as the account running Alfresco.

Other sources

An issue was discovered in Alfresco Enterprise Content Management (ECM) before 6.2.1. A user with privileges to edit a FreeMarker template (e.g., a webscript) may execute arbitrary Java code or run arbitrary system commands with the same privileges as the account running Alfresco.

MITRE

Affected Software

1 affected component
Atlassian Alfresco Enterprise Content Management<6.2.1

Event History

Jul 15, 2020
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
Description
Feb 19, 2021
CVE Published
via MITRE·10:36 PM
Data Sourced
via MITRE·10:36 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2020-12873?

CVE-2020-12873 is considered a critical vulnerability due to the potential for arbitrary code execution.

2

How do I fix CVE-2020-12873?

To fix CVE-2020-12873, you should upgrade Alfresco Enterprise Content Management to version 6.2.1 or later.

3

Who is affected by CVE-2020-12873?

CVE-2020-12873 affects users with editing privileges on FreeMarker templates in Alfresco Enterprise Content Management versions before 6.2.1.

4

What type of vulnerability is CVE-2020-12873?

CVE-2020-12873 is a remote code execution vulnerability due to improper handling of FreeMarker templates.

5

What are the potential consequences of CVE-2020-12873?

Exploitation of CVE-2020-12873 could lead to unauthorized access to sensitive data and system commands being executed with elevated privileges.

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