CVE-2017-9805
100Vexday Risk Score
Patch now. It under exploitation confirmed by CISA and has a working public exploit.
ssvc Actcvss 8.1epss 99%
from disclosure to weapon0 days
Published on NVDSep 15
1st PoCSep 6
metasploitSep 5
CISA KEV+1510d
exploitation probability
99%top 1% of all CVEs
observed exploitation
yesCISA + VulnCheck
43 public exploit(s)
What the vendors declare (VEX)
Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.
Red HatVEX document ↗
Not affected
5 products — because the vulnerable code is not present in the product
Red Hat Enterprise Linux 5 · Red Hat JBoss Data Virtualization 6 · Red Hat JBoss Fuse Service Works 6 · Red Hat JBoss Operations Network 3 · Red Hat Satellite 5
Action required by CISAfederal deadline: 2022-05-03
Apply updates per vendor instructions.
Versions
Affected
maven/org.apache.struts:struts2-rest-plugin >= 2.5.0, < 2.5.13; maven/org.apache.struts:struts2-rest-plugin >= 2.1.1, < 2.3.34
Fixed in
maven/org.apache.struts:struts2-rest-plugin 2.5.13; maven/org.apache.struts:struts2-rest-plugin 2.3.34
Researched and written with AI from the vendor advisory and public analysis, with the sources above. Always confirm the fixed version in the official advisory before acting.
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Apache Software Foundation · Apache Strutspublic PoCs found — 43
exploitdbwww.exploit-db.com/exploits/42627unverifiedgithubgithub.com/mazen160/struts-pwn_CVE-2017-9805★ 247githubgithub.com/luc10/struts-rce-cve-2017-9805★ 60githubgithub.com/chrisjd20/cve-2017-9805.py★ 21githubgithub.com/0x00-0x00/-CVE-2017-9805★ 15githubgithub.com/Lone-Ranger/apache-struts-pwn_CVE-2017-9805★ 5githubgithub.com/Shakun8/CVE-2017-9805★ 3githubgithub.com/hahwul/struts2-rce-cve-2017-9805-ruby★ 3githubgithub.com/0xd3vil/CVE-2017-9805-Exploit★ 1githubgithub.com/UbuntuStrike/struts_rest_rce_fuzz-CVE-2017-9805-★ 1githubgithub.com/jongmartinez/-CVE-2017-9805-★ 1githubgithub.com/BeyondCy/S2-052★ 1githubgithub.com/agent3137/CVE-2017-9805-Exploit★ 1githubgithub.com/Fl5xia/CVE-2017-9805★ 0githubgithub.com/Experience-rookie/struts-s2-052-deserialization-rce-lab★ 0githubgithub.com/UbuntuStrike/CVE-2017-9805-Apache-Struts-Fuzz-N-Sploit★ 0githubgithub.com/AvishkaSenadheera/CVE-2017-9805---Documentation---IT19143378★ 0githubgithub.com/wifido/CVE-2017-9805-Exploit★ 0githubgithub.com/rvermeulen/apache-struts-cve-2017-9805★ 0githubgithub.com/z3bd/CVE-2017-9805★ 0githubgithub.com/NoSpaceAvailable/CVE-2017-9805_example_build★ 0githubgithub.com/7s26simon/CVE-2017-9805-S2-052★ 0vulncheckvulncheck.com/xdb/c9bed43f97a4unverifiedvulncheckvulncheck.com/xdb/4629537f1e9aunverifiedvulncheckvulncheck.com/xdb/d274ccdd5a14unverifiedvulncheckvulncheck.com/xdb/c82af784f562unverifiedvulncheckvulncheck.com/xdb/bd12f850ebbeunverifiedvulncheckvulncheck.com/xdb/6300c647a9baunverifiedvulncheckvulncheck.com/xdb/e922bd12de1dunverifiedvulncheckvulncheck.com/xdb/5d8bf4c938d9unverifiedvulncheckvulncheck.com/xdb/0ea476fd1c98unverifiedvulncheckvulncheck.com/xdb/1fa5f1889be6unverifiedvulncheckvulncheck.com/xdb/018ad44965ddunverifiedvulncheckvulncheck.com/xdb/1924e716f393unverifiedvulncheckvulncheck.com/xdb/89e15b68ef36unverifiedvulncheckvulncheck.com/xdb/dc089c9c541cunverifiedvulncheckvulncheck.com/xdb/78bca3ee80a0unverifiedvulncheckvulncheck.com/xdb/43c0e5c2df29unverifiedvulncheckvulncheck.com/xdb/c7c9392dc94bunverifiedvulncheckvulncheck.com/xdb/67009c2393e1unverifiedvulncheckvulncheck.com/xdb/b904b0434575unverifiedvulncheckvulncheck.com/xdb/92481de257f5unverifiedcve_referencewww.exploit-db.com/exploits/42627/unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifaxhttps://bugzilla.redhat.com/show_bug.cgi?id=1488482https://cwiki.apache.org/confluence/display/WW/S2-052https://lgtm.com/blog/apache_struts_CVE-2017-9805https://security.netapp.com/advisory/ntap-20170907-0001/https://struts.apache.org/docs/s2-052.htmlhttps://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805https://www.exploit-db.com/exploits/42627/https://www.kb.cert.org/vuls/id/112992http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.htmlhttp://www.securityfocus.com/bid/100609