CVE-2023-47542: FortiManager - Code Injection via Jinja Template

Published Apr 9, 2024
·
Updated

A improper neutralization of special elements used in a template engine [CWE-1336] in FortiManager versions 7.4.1 and below, versions 7.2.4 and below, and 7.0.10 and below allows attacker to execute unauthorized code or commands via specially crafted templates.

Other sources

An improper neutralization of special elements used in a template engine [CWE-1336] vulnerability in FortiManager provisioning templates may allow a local authenticated attacker with at least read-only permissions to execute arbitrary code via specially crafted templates.

FortiGuard

Affected Software

6 affected componentsFixes available
Fortinet FortiManager>=7.0.0<7.0.11
Fortinet FortiManager>=7.2.0<7.2.5
Fortinet FortiManager>=7.4.0<7.4.2
Fortinet FortiManager>=7.4.0<=7.4.1
Fortinet FortiManager>=7.2.0<=7.2.4
Fortinet FortiManager>=7.0.0<=7.0.10

Remediation

Information

Please upgrade to FortiManager version 7.4.2 or above Please upgrade to FortiManager version 7.2.5 or above Please upgrade to FortiManager version 7.0.11 or above

Event History

Apr 9, 2024
Advisory Published
via FortiGuard·12:00 AM
CVE Published
via MITRE·02:24 PM
Data Sourced
via MITRE·02:24 PM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2023-47542?

CVE-2023-47542 has been rated as critical due to its potential for unauthorized code execution.

2

How do I fix CVE-2023-47542?

To fix CVE-2023-47542, upgrade FortiManager to version 7.4.2 or later, 7.2.5 or later, or 7.0.11 or later.

3

Which versions of FortiManager are affected by CVE-2023-47542?

CVE-2023-47542 affects FortiManager versions 7.4.1 and below, 7.2.4 and below, and 7.0.10 and below.

4

What type of vulnerability is CVE-2023-47542?

CVE-2023-47542 is an improper neutralization of special elements used in a template engine, classified under CWE-1336.

5

Can CVE-2023-47542 be exploited remotely?

Yes, CVE-2023-47542 can be exploited remotely, allowing attackers to execute unauthorized code via specially crafted templates.

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