Code Injection in Spring Framework - CVE-2022-22965

 

Code Injection in Spring Framework - CVE-2022-22965

Published: March 31, 2022 / Updated: January 22, 2023


Vulnerability identifier: #VU61756
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-22965
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. A remote attacker can send a specially crafted HTTP request to the affected application and execute arbitrary code on the target system.

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

Note, the vulnerability is being actively exploited in the wild.

This vulnerability was dubbed "Spring4Shell".


Affected software

Spring Framework
xxl-job
IBM i Modernization Engine for Lifecycle Integration
vRO Plug-in for Dell EMC PowerScale
vRO Plug-in for Dell EMC Unity
vRO Plug-in for Dell EMC PowerStore
vRO Plug-in for Dell EMC PowerMax
vRO Plug-in for Dell EMC XtremIO
Dell Policy Manager for Secure Connect Gateway (SCG)
Oracle Financial Services Analytical Applications Infrastructure
Terracotta
Oracle Data Integrator
Oracle Communications Policy Management
Oracle Retail Xstore Point of Service
IBM Planning Analytics Workspace
Dell Wyse Management Suite
IBM Engineering Requirements Management DOORS Next
Oracle Insurance Policy Administration Operational Data Store for Life and Annuity
IBM Db2 Web Query for i
Oracle Managed File Transfer
Oracle Retail Bulk Data Integration
Oracle Communications Cloud Native Core Security Edge Protection Proxy
Oracle Communications Cloud Native Core Network Slice Selection Function
Oracle Communications Cloud Native Core Console
Oracle Communications Cloud Native Core Network Function Cloud Native Environment
Oracle Communications Cloud Native Core Policy
Oracle Communications Cloud Native Core Unified Data Repository
Oracle Communications Cloud Native Core Automated Test Suite
VMware Tanzu Kubernetes Grid Integrated Edition
Oracle Communications Cloud Native Core Network Repository Function
VMware Tanzu Application Service for VMs
IBM Spectrum Conductor
Red Hat Advanced Cluster Security for Kubernetes
Oracle Product Lifecycle Analytics
IBM Edge Application Manger
IBM Sterling B2B Integrator
FortiSOAR
IBM Tivoli Netcool Impact
IBM Spectrum Symphony
Oracle Communications Unified Inventory Management
IBM Maximo for Civil Infrastructure
IBM SPSS Collaboration and Deployment Services
Oracle Financial Services Behavior Detection Platform
Oracle Financial Services Enterprise Case Management
IBM Common Licensing
Oracle SD-WAN Edge
Rational Test Workbench
Rational Test Virtualization Server
Oracle Communications Cloud Native Core Network Exposure Function
Oracle Communications Cloud Native Core Binding Support Function
Autodesk Infraworks
IBM Process Mining
IBM MaaS360 Mobile Enterprise Gateway
IBM MaaS360 Cloud Extender Agent
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
IBM Sterling Connect:Direct Web Services
IBM Sterling Control Center
IBM Sterling Connect:Direct for UNIX
IBM Tivoli Monitoring
IBM Robotic Process Automation with Automation Anywhere
IBM Cloud Pak for Business Automation
IBM Cloud Pak System
VMware Tanzu Operations Manager
Bosh Release for the UAA
AMQ Broker
Oracle WebLogic Server
Fuse
MySQL Enterprise Monitor
Zimbra Collaboration
IBM Cognos Command Center
IBM Cognos Controller
Oracle Commerce Guided Search
Oracle Commerce Platform
Oracle Retail Financial Integration
Oracle Retail Merchandising System
Oracle Retail Customer Management and Segmentation Foundation
Oracle Retail Integration Bus
Ubuntu
Cloud Foundry UAA
libspring-oxm-java (Ubuntu package)
libspring-web-java (Ubuntu package)
libspring-core-java (Ubuntu package)
libspring-context-support-java (Ubuntu package)
libspring-expression-java (Ubuntu package)
libspring-web-portlet-java (Ubuntu package)
libspring-transaction-java (Ubuntu package)
libspring-context-java (Ubuntu package)
libspring-web-servlet-java (Ubuntu package)
libspring-beans-java (Ubuntu package)
libspring-orm-java (Ubuntu package)
libspring-aop-java (Ubuntu package)
libspring-messaging-java (Ubuntu package)
libspring-jdbc-java (Ubuntu package)
libspring-jms-java (Ubuntu package)
libspring-instrument-java (Ubuntu package)
watsonx.data
Library Support for Spring
IBM MaaS360 VPN Module
Dell EMC AppSync
Red Hat Process Automation Manager (formerly JBoss BPM Suite)
Dell EMC VxRail Appliance
IBM DS8000 Hardware Management Console

How to mitigate CVE-2022-22965

Install update from vendor's website.

Spring Framework - addressed in versions 5.2.20, 5.3.18
IBM i Modernization Engine for Lifecycle Integration - update to 1.0.1
vRO Plug-in for Dell EMC PowerScale - addressed in versions 1.0.5, 1.1.3
vRO Plug-in for Dell EMC Unity - update to 1.0.9
vRO Plug-in for Dell EMC PowerStore - update to 1.1.6
vRO Plug-in for Dell EMC PowerMax - update to 1.2.6
xxl-job - update to 2.3.1
IBM Cloud Pak System - update to 2.3.3.4
VMware Tanzu Application Service for VMs - addressed in versions 2.10.29, 2.11.17, 2.12.10, 2.13.1
VMware Tanzu Operations Manager - addressed in versions 2.8.20, 2.9.35, 2.10.35
Red Hat Advanced Cluster Security for Kubernetes - update to 3.70
vRO Plug-in for Dell EMC XtremIO - update to 4.1.4
Dell Policy Manager for Secure Connect Gateway (SCG) - update to 5.12.00.00
FortiSOAR - update to 7.2.0
IBM Tivoli Netcool Impact - update to 7.1.0.26
IBM Maximo for Civil Infrastructure - update to 7.6.3.2
AMQ Broker - addressed in versions 7.8.6, 7.9.4
Zimbra Collaboration - addressed in versions 8.8.15 Patch 31, 9.0.0 Patch 24
IBM Cognos Command Center - update to 10.2.4 Fix Pack 1 IF15
Terracotta - update to 11.1.0
Cloud Foundry UAA - update to 75.18.0
Bosh Release for the UAA - update to 75.18.0
Autodesk Infraworks - addressed in versions 2021.2 Hotfix 9, 2023.1 Hotfix 1
libspring-oxm-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-web-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-core-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-context-support-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-expression-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-web-portlet-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-transaction-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-context-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-web-servlet-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-beans-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-orm-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-aop-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-messaging-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-jdbc-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-jms-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
libspring-instrument-java (Ubuntu package) - addressed in versions Ubuntu Pro, 4.3.30-2ubuntu0.24.10.1
IBM Process Mining - update to 1.12.0.5
watsonx.data - update to 2.0.2
IBM Planning Analytics Workspace - update to 2.0.76
Library Support for Spring - update to 2.7.29
IBM MaaS360 Mobile Enterprise Gateway - update to 2.106.500
IBM MaaS360 VPN Module - update to 2.106.500
IBM MaaS360 Cloud Extender Agent - update to 2.106.500.011
Dell Wyse Management Suite - update to 3.6.1
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.0.7
Dell EMC AppSync - update to 4.4.0.0
Dell EMC VxRail Appliance - update to 4.5.480
IBM Sterling Connect:Direct Web Services - addressed in versions 6.0.0.8, 6.1.0.12, 6.2.0.6
IBM Sterling Control Center - addressed in versions 6.2.0.0.17, 6.2.1.0.7
IBM Sterling Connect:Direct for UNIX - update to 6.2.0.3.13
IBM Tivoli Monitoring - update to 6.3.0.7 Service Pack 12
Fuse - update to 7.10.2
Red Hat Process Automation Manager (formerly JBoss BPM Suite) - update to 7.12.1
IBM Engineering Requirements Management DOORS Next - update to 9.7.2.7
IBM Cognos Controller - addressed in versions 10.4.1.0.15, 10.4.2.0.2
IBM Robotic Process Automation with Automation Anywhere - update to 19.0.0.10
IBM Cloud Pak for Business Automation - addressed in versions 21.0.3.12, 22.0.1.2
IBM DS8000 Hardware Management Console - update to 89.30.68.0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins