Stackurity Start free trial

CVEs / CVE-2017-9805

CVE-2017-9805: Apache Struts Deserialization of Untrusted Data Vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2017-9805

Summary

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, Known Exploited Vulnerabilities catalog

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, via NVD · published 15 Sep 2017 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Apache Software Foundation Apache StrutsApache Struts before 2.3.34 and 2.5.x before 2.5.13—
As stated by OSV
ProductAffectedFixed in
org.apache.struts:struts2-rest-plugin (Maven)from 2.1.1, before 2.3.342.3.34
org.apache.struts:struts2-rest-plugin (Maven)from 2.5.0, before 2.5.132.5.13

Package versions from GHSA-gg9m-fj3v-r58c.

Exploitation

In CISA KEV since3 Nov 2021
Due date for US federal agencies3 May 2022
Used in ransomware campaignsUnknown
Required actionApply updates per vendor instructions.

Severity

CVSS 3.18.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-502

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.