Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding.
In short
CVE-2022-22965 (Spring Framework JDK 9+ Remote Code Execution) has a CVSS 3.1 base score of 9.8, rated critical. CISA added it to the Known Exploited Vulnerabilities catalog on 4 Apr 2022. Fixed in Cisco Cx Cloud Agent 2.1.0, Oracle Mysql Enterprise Monitor 8.0.29, Siemens Operation Scheduler 2.0.4 or later.
Description
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
- Cisco Cx Cloud Agent< 2.1.0
- Oracle Commerce Platform11.3.2
- Oracle Communications Cloud Native Core Automated Test Suite1.9.0 · 22.1.0
- Oracle Communications Cloud Native Core Binding Support Function22.1.3
- Oracle Communications Cloud Native Core Console1.9.0 · 22.1.0
- Oracle Communications Cloud Native Core Network Exposure Function22.1.0
- Oracle Communications Cloud Native Core Network Function Cloud Native Environment1.10.0 · 22.1.0
- Oracle Communications Cloud Native Core Network Repository Function1.15.0 · 22.1.0
- Oracle Communications Cloud Native Core Network Slice Selection Function1.15.0 · 1.8.0 · 22.1.0
- Oracle Communications Cloud Native Core Policy1.15.0 · 22.1.0
- Oracle Communications Cloud Native Core Security Edge Protection Proxy1.7.0 · 22.1.0
- Oracle Communications Cloud Native Core Unified Data Repository1.15.0 · 22.1.0
- Oracle Communications Policy Management12.6.0.0.0
- Oracle Communications Unified Inventory Management7.4.1 · 7.4.2 · 7.5.0
- Oracle Financial Services Analytical Applications Infrastructure8.1.1 · 8.1.2.0
- Oracle Financial Services Behavior Detection Platform8.1.1.0 · 8.1.1.1 · 8.1.2.0
- Oracle Financial Services Enterprise Case Management8.1.1.0 · 8.1.1.1 · 8.1.2.0
- Oracle Mysql Enterprise Monitor< 8.0.29
- Oracle Product Lifecycle Analytics3.6.1
- Oracle Retail Bulk Data Integration16.0.3
- Oracle Retail Customer Management And Segmentation Foundation17.0 · 18.0 · 19.0
- Oracle Retail Financial Integration14.1.3.2 · 15.0.3.1 · 16.0.3 · 19.0.1
- Oracle Retail Integration Bus14.1.3.2 · 15.0.3.1 · 16.0.3 · 19.0.1
- Oracle Retail Merchandising System16.0.3 · 19.0.1
Remediation
Fixed in- Cisco Cx Cloud Agent≥ 2.1.0
- Oracle Mysql Enterprise Monitor≥ 8.0.29
- Siemens Operation Scheduler≥ 2.0.4
- Siemens Simatic Speech Assistant For Machines≥ 1.2.1
- Siemens Sinec Network Management System≥ 1.0.3
- VMware Spring Framework≥ 5.3.18
References
- http://packetstormsecurity.com/files/166713/Spring4Shell-Code-Execution.html
- http://packetstormsecurity.com/files/167011/Spring4Shell-Spring-Framework-Class-Property-Remote-Code-Execution.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-254054.pdf
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005
- https://tanzu.vmware.com/security/cve-2022-22965
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-rce-Zx9GUc67
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22965
- https://www.kb.cert.org/vuls/id/970766
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
