Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2016-3087 EUVD-2022-4592GHSA-mmj6-cjj4-hpr5

Apache Struts vulnerable to arbitrary remote code execution due to improper input validation

Published Jun 7, 2016 · Updated Aug 5, 2024 · Assigned by redhat

Description

Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when Dynamic Method Invocation is enabled, allow remote attackers to execute arbitrary code via vectors related to an ! (exclamation mark) operator to the REST Plugin.

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.

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

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.struts:struts2-core >= 2.3.19, < 2.3.20.3 2.3.20.3 GHSA-mmj6-cjj4-hpr5
Maven org.apache.struts:struts2-core >= 2.3.21, < 2.3.24.3 2.3.24.3 GHSA-mmj6-cjj4-hpr5
Maven org.apache.struts:struts2-core >= 2.3.25, < 2.3.28.1 2.3.28.1 GHSA-mmj6-cjj4-hpr5

References