CVE-2020-17530
struts2: using forced OGNL evaluation on untrusted user input can lead to a RCE and security degradation
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.struts:struts2-core | 2.5.26 |
References
- http://jvn.jp/en/jp/JVN43969166/index.html
- http://packetstormsecurity.com/files/160721/Apache-Struts-2-Forced-Multi-OGNL-Evaluation.html
- http://www.openwall.com/lists/oss-security/2022/04/12/6
- https://access.redhat.com/security/cve/CVE-2020-17530
- https://cwiki.apache.org/confluence/display/WW/S2-061
- https://github.com/apache/struts
- https://nvd.nist.gov/vuln/detail/CVE-2020-17530
- https://security.netapp.com/advisory/ntap-20210115-0005
All 18 references
- https://security.netapp.com/advisory/ntap-20210115-0005/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-17530
- https://www.cve.org/CVERecord?id=CVE-2020-17530
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html