CVE-2020-17530
Confirmed PUBLISHEDForced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts...
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Dec 11, 2020
- Exploitation Reported
- Nov 03, 2021
- CVSS
- 9.8 Critical
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| Apache Software Foundation |
Apache Struts
|
Struts 2.0.0 - Struts 2.5.25 |
Affected |
CVE References
- JVN#43969166 jvn.jp · Third-Party Advisory http://jvn.jp/en/jp/JVN43969166/index.html
- [oss-security] 20220412 CVE-2021-31805: Apache Struts: Forced OGNL evaluation, when evaluated on raw not validated user input in tag attributes, may lead to RCE. openwall.com · Mailing List http://www.openwall.com/lists/oss-security/2022/04/12/6
- cwiki.apache.org/confluence/display/WW/S2-061 cwiki.apache.org · CVE Record https://cwiki.apache.org/confluence/display/WW/S2-061
- oracle.com/security-alerts/cpujan2021.html oracle.com · CVE Record https://www.oracle.com/security-alerts/cpujan2021.html
- packetstormsecurity.com/files/160721/Apache-Struts-2-Forced-Multi-OG... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/160721/Apache-Struts-2-Forced-Mu...
Show 6 more references
- security.netapp.com/advisory/ntap-20210115-0005 security.netapp.com · CVE Record https://security.netapp.com/advisory/ntap-20210115-0005/
- oracle.com/security-alerts/cpuApr2021.html oracle.com · CVE Record https://www.oracle.com/security-alerts/cpuApr2021.html
- oracle.com//security-alerts/cpujul2021.html oracle.com · CVE Record https://www.oracle.com//security-alerts/cpujul2021.html
- oracle.com/security-alerts/cpuoct2021.html oracle.com · CVE Record https://www.oracle.com/security-alerts/cpuoct2021.html
- oracle.com/security-alerts/cpujan2022.html oracle.com · CVE Record https://www.oracle.com/security-alerts/cpujan2022.html
- oracle.com/security-alerts/cpuapr2022.html oracle.com · CVE Record https://www.oracle.com/security-alerts/cpuapr2022.html
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2021-11-03 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-17530.yaml | Apr 25, 2025 |
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/struts2_multi_eval_ognl.rb | Apr 28, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
Exploitation Status
Exploited in the wild
Recorded 2021-11-03 00:00:00 UTC · CISA
Proof of concept available
Recorded 2020-12-08 11:10:46 UTC · GitHub
Weaknesses (CWE)
-
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/struts2_multi_eval_ognl.rb | Apr 28, 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-17530.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2023-08-04 03:00:28 UTC · 0 stars
Vulnerable environment of CVE-2020-17530 (S2-061) for testing
github · Created 2023-04-02 13:20:42 UTC · 0 stars
Struts2 S2-061 远程命令执行漏洞(CVE-2020-17530)
github · Created 2021-01-07 14:24:08 UTC · 5 stars
github · Created 2020-12-30 17:23:20 UTC · 4 stars
github · Created 2020-12-14 06:54:57 UTC · 6 stars
CVE-2020-17530-strust2-061
github · Created 2020-12-10 17:42:37 UTC · 48 stars
S2-061 的payload,以及对应简单的PoC/Exp
github · Created 2020-12-09 09:53:08 UTC · 65 stars
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
15:02 UTC about 1 year ago15:02 UTC · about 1 year ago
Metasploit module available
Exploit module available
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
01:11 UTC over 5 years ago01:11 UTC · over 5 years ago
CVE published
Vulnerability disclosed publicly
-
11:10 UTC over 5 years ago11:10 UTC · over 5 years ago
Public PoC available
Public proof-of-concept code published
-
00:00 UTC almost 6 years ago00:00 UTC · almost 6 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2020-17530
{
"cve_id": "CVE-2020-17530",
"title": "Forced OGNL evaluation, when evaluated on raw user input in tag attributes, m...",
"affected_vendor": "Apache Software Foundation",
"affected_product": "Apache Struts",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 9.8,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}