CVE-2017-9805

Apache Struts: Deserialization of Untrusted Data

As of , CVE-2017-9805 in Apache Struts is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

Exploited
Yes: CISA listed it on 3 November 2021
US federal deadline
3 May 2022181 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS score
0.99Higher than 99% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
EPSS when listed
Not availableCISA listed it before 4 February 2022, where the EPSS files we read begin.
Public exploit
1 Metasploit module and 1 Exploit-DB entry
Fix
No vendor link in CISA's entry

What CISA says to do

Apply updates per vendor instructions.

CISA's required action

What the flaw is

Apache Struts REST Plugin uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to remote code execution when deserializing XML payloads.

CISA's description

The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to Remote Code Execution when deserializing XML payloads.

The CVE record's description, from apache

CVE published
15 September 2017
Assigned by
apache
CVSS
8.1 High (CVSS 3.1, from CISA-ADP)
CWE-502
Deserialization of Untrusted Data
CISA SSVC, exploitation
active
CISA SSVC, automatable
no
CISA SSVC, technical impact
total

Timeline

  1. Exploit-DB published an exploit (EDB-ID 42627).
  2. The CVE record was published.
  3. CISA added it to its list of exploited vulnerabilities.
  4. The US federal deadline to fix it.

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Struts: other exploited entries

VulnerabilityProductOur groupListedDeadlineEPSS
CVE-2013-2251Improper Input ValidationApache StrutsPatch this weekMetasploit module; EPSS 0.99; verified Exploit-DB entry0.99
CVE-2017-5638Remote Code ExecutionApache StrutsPatch this weekRansomware use; Metasploit module; EPSS 0.99; verified Exploit-DB entry0.99
CVE-2018-11776Remote Code ExecutionApache StrutsPatch this weekMetasploit module; EPSS 0.99; verified Exploit-DB entry0.99
CVE-2020-17530Remote Code ExecutionApache StrutsPatch this weekMetasploit module; EPSS 0.960.96

Read further