Apache Struts - Remote Code Execution (CVE-2021-31805)
- Severity
- CVSSv3 Score
- 9.8
- Vulnerability description
Apache Struts is affected by a Remote Code Execution vulnerability, located in the Apache Struts 2 Framework. This vulnerability exists because of the incomplete fix issued for CVE-2020-17530. The root cause of this vulnerability consists in a forced double Object-Graph Navigation Language (OGNL) evaluation vulnerability on raw user-provided input, in tag attributes.
- Risk description
The risk exists that a remote unauthenticated attacker can fully compromise the server in order to steal confidential information, install ransomware, or pivot to the internal network.
- Exploit capabilities
Sniper can gain unauthenticated Remote Code Execution on the target system and extract multiple artefacts as evidence.
- Recommendation
Upgrade the Apache Struts to 2.5.30 version or greater.
- Codename
- S2-062
- Detectable with
- Network Scanner
- Exploitable with Sniper
- Yes
- Vuln date
- Apr 2022
- Published at
- Updated at
- Software Type
- Web framework
- Vendor
- Apache
- Product
- Struts