Quantum Secular Labs / Blog / Advisories
CVE-2020-17530: Apache Struts Remote Code Execution Vulnerability
CVE-2020-17530 is rated critical with a CVSS v3.1 base score of 9.8 and affects Apache Struts, along with 7 other products in NVD’s configuration data. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available. CISA added it to its Known Exploited Vulnerabilities catalog on 2021-11-03, which means exploitation in the wild has been observed.
Vulnerability 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.
Severity breakdown
CVSS v3.1 9.8: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Privileges required: None. No account or prior access is needed.
- User interaction: None. No action from any user is needed.
- Scope: Unchanged. Impact stays within the vulnerable component.
- Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
- Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
- Availability impact: High. Total loss of availability; the component can be shut down.
Underlying weakness
CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement
The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.
Affected products
- Apache Struts: from 2.0.0 before 2.5.30
- Oracle Business Intelligence: 12.2.1.3.0; 12.2.1.4.0
- Oracle Communications Diameter Intelligence Hub: 8.0.0; 8.1.0; 8.2.0; 8.2.3
- Oracle Communications Policy Management: 12.5.0
- Oracle Communications Pricing Design Center: 12.0.0.3.0
- Oracle Financial Services Data Integration Hub: 8.0.3; 8.0.6
- Oracle Hospitality Opera 5: 5.6
- Oracle Mysql Enterprise Monitor: 8.0.23
References
- https://security.netapp.com/advisory/ntap-20210115-0005/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.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
- https://cwiki.apache.org/confluence/display/WW/S2-061
- 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://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-17530