Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2016-4438 EUVD-2022-2421GHSA-4prj-vw9j-v6pr

Arbitrary code execution in Apache Struts 2

Published Jul 4, 2016 · Updated Aug 6, 2024 · Assigned by redhat

Description

The REST plugin in Apache Struts 2 2.3.19 through 2.3.28.1 allows remote attackers to execute arbitrary code via a crafted expression.

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.

GitHub 2 repositories

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.29 2.3.29 GHSA-4prj-vw9j-v6pr
Maven org.apache.struts:struts2-rest-plugin >= 2.3.19, < 2.3.29 2.3.29 GHSA-4prj-vw9j-v6pr

References