cve.bz

CVE-2020-17530 Apache Struts Remote Code Execution Vulnerability

9.8 criticalKEVExploitEPSS 96%Fix available

Critical (9.8) in Apache Struts. In CISA KEV since 2021-11-03. EPSS 96% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.struts:struts2-core 2.5.26.

On this page
Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
96% (unchanged from 96% a week ago; 96% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2021-11-03, due 2022-05-03
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2025-02-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement (Expression Language Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-17530 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-17530?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-17530?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-17530 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:strutsfrom 2.0.0 before 2.5.30
oracle:business_intelligence12.2.1.3.0
oracle:business_intelligence12.2.1.4.0
oracle:communications_diameter_intelligence_hub8.0.0
oracle:communications_diameter_intelligence_hub8.1.0
oracle:communications_diameter_intelligence_hub8.2.0
oracle:communications_diameter_intelligence_hub8.2.3
oracle:communications_policy_management12.5.0
oracle:communications_pricing_design_center12.0.0.3.0
oracle:financial_services_data_integration_hub8.0.3
oracle:financial_services_data_integration_hub8.0.6
oracle:hospitality_opera_55.6
oracle:mysql_enterprise_monitor8.0.23

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jc35-q369-45pvMavenorg.apache.struts:struts2-core>=2.0.0 <2.5.262.5.26

Red Hat

Red Hat rates this Important.

Red Hat's statement

Apache Struts2 is not compiled, shipped, used, or enabled in Red Hat products. As such, any CVE against Apache Struts2 does not impact currently supported Red Hat products.

This statement was last revised on 1 Sept 2020.

Previous statement example: https://bugzilla.redhat.com/show_bug.cgi?id=1469265

ProductPackageStateAdvisory
Red Hat JBoss Enterprise Application Platform 6strutsNot affected
Red Hat JBoss Fuse 6struts-coreNot affected
Red Hat JBoss Fuse Service Works 6strutsNot affected
Red Hat JBoss Operations Network 3strutsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-17530.

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Nuclei template Apache Struts 2.0.0-2.5.25 - Remote Code Execution
  • Emerging Threats Open ET EXPLOIT Apache Struts RCE Attempt (CVE-2020-17530) sid 2035009
  • Emerging Threats Open ET WEB_SPECIFIC_APPS Possible Apache Struts OGNL Remote Code Execution Inbound (CVE-2020-17530) sid 2033408

References

Check your stackJSON