Code Injection in Apache Struts - CVE-2020-17530

 

Code Injection in Apache Struts - CVE-2020-17530

Published: December 8, 2020 / Updated: April 3, 2023


Vulnerability identifier: #VU48815
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-17530
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation when processing certain tag's attributes. The application performs double evaluation of the code if a developer applied forced OGNL evaluation by using the %{...} syntax. A remote attacker can send a specially crafted request to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Apache Struts
Oracle Hospitality OPERA 5
MySQL Enterprise Monitor
Oracle Communications Diameter Intelligence Hub
Netcool Operations Insight
BIG-IP AAM
Oracle Communications Pricing Design Center
Oracle Business Intelligence Enterprise Edition
eDiscovery Manager
Call Center for Commerce
IBM Sterling Order Management
Avamar Virtual Edition

How to mitigate CVE-2020-17530

Install updates from vendor's website.

Apache Struts - update to 2.5.26
Netcool Operations Insight - update to 1.6.6
eDiscovery Manager - update to 2.2.2.3.8
Call Center for Commerce - update to 10.0.12
IBM Sterling Order Management - update to 10.0.2403.1
Avamar Virtual Edition - update to 19.7

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins