Skip to content
OpenAdvisories
Critical · 9.8 Scanner template Public exploit CVE-2017-12611 EUVD-2018-0550GHSA-8fx9-5hx8-crhm

Apache Struts 2.0.1 uses an unintentional expression in a Freemarker tag instead of string literal

Published Sep 20, 2017 · Updated Sep 17, 2024 · Assigned by apache

Description

In Apache Struts 2.0.0 through 2.3.33 and 2.5 through 2.5.10.1, using an unintentional expression in a Freemarker tag instead of string literals can lead to a RCE attack.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Struts 2.0.0 - 2.3.33, 2.5 - 2.5.10.1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.struts:struts2-core >= 2.0.1, < 2.3.34 2.3.34 GHSA-8fx9-5hx8-crhm
Maven org.apache.struts:struts2-core >= 2.5.0, < 2.5.11 2.5.11 GHSA-8fx9-5hx8-crhm

References