Improper Authentication in cURL - CVE-2022-22576

 

Improper Authentication in cURL - CVE-2022-22576

Published: April 27, 2022


Vulnerability identifier: #VU62640
CSH Severity: Medium
CVSS v4: 9.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-22576
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an error when re-using OAUTH2 connections for SASL-enabled protocols, such as SMPTP(S), IMAP(S), POP3(S) and LDAP(S) (openldap only). libcurl may reuse OAUTH2-authenticated connections without properly making sure that the connection was authenticated with the same credentials as set for this transfer. As a result, a connection that is successfully created and authenticated with a user name + OAUTH2 bearer can subsequently be erroneously reused even for user + [other OAUTH2 bearer], even though that might not even be a valid bearer.

A remote attacker can exploit this vulnerability against applications intended for use in multi-user environments to bypass authentication and gain unauthorized access to victim's accounts.



Affected software

cURL
Cloud Pak for Security (CP4S)
IBM Qradar SIEM
Amazon Linux AMI
Gentoo Linux
PowerSC
SUSE Manager Proxy
SUSE Manager Server
SUSE Linux Enterprise Micro
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)
Oracle Linux
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server
Slackware Linux
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise High Performance Computing
openSUSE Leap
Ubuntu
openEuler
Fedora
My Cloud OS 5
WD Cloud
My Cloud EX2100
My Cloud DL4100
My Cloud Mirror G2
My Cloud EX2 Ultra
My Cloud EX4100
My Cloud PR4100
My Cloud PR2100
My Cloud DL2100
My Cloud
cflinuxfs3
Telemetry Dashboard
Liquidware
IBM supplied MQ Advanced container images
Citrix Workspace App
Webex App VDI
IBM Cloud Pak for Watson AIOps
Platform Automation Toolkit
DB2 on Cloud Pak for Data
DB2 Warehouse on Cloud Pak for Data
Watson Studio on Cloud Pak for Data
IBM Engineering Requirements Management DOORS Next
Dell Data Protection Central
Secondary Scheduler Operator for Red Hat OpenShift (OSSO)
Data Lakehouse
IBM MQ Operator
IBM Spectrum Copy Data Management
Red Hat Advanced Cluster Management for Kubernetes
Red Hat Advanced Cluster Security for Kubernetes
Dell Secure Connect Gateway
OpenShift Logging
IBM QRadar WinCollect Agent
Netcool Operations Insight
Isolation Segment
VMware Tanzu Application Service for VMs
IBM Cloud Transformation Advisor
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
App Connect Enterprise Certified Container
IBM Spectrum Protect Plus
Red Hat OpenStack
IBM Robotic Process Automation
Migration Toolkit for Containers
VMware Horizon Client
HPE Moonshot 1500 Chassis Manager
Red Hat OpenShift Container Platform
Red Hat Ceph Storage
Splunk Universal Forwarder
Splunk Enterprise
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libcurl3-gnutls (Ubuntu package)
libcurl3-nss (Ubuntu package)
libcurl4 (Ubuntu package)
curl (Ubuntu package)
curl-debuginfo
curl-debugsource
libcurl-devel
curl
libcurl4
libcurl4-debuginfo
libcurl4-32bit
libcurl4-debuginfo-32bit
libcurl
libcurl-minimal
curl (Red Hat package)
libcurl-devel-32bit
libcurl4-32bit-debuginfo
curl-help
curl (Debian package)
net-misc/curl
IBM Security Verify Access
IBM Security Guardium
Cisco Jabber
Cisco Webex Meetings
Red Hat OpenShift Serverless
OpenShift Data Foundation (formerly OpenShift Container Storage)
OpenShift Virtualization
RUGGEDCOM ROX RX1500
RUGGEDCOM ROX RX1511
RUGGEDCOM ROX RX1400
RUGGEDCOM ROX RX1510
RUGGEDCOM ROX MX5000RE
RUGGEDCOM ROX RX1512
RUGGEDCOM ROX RX1524
RUGGEDCOM ROX MX5000
RUGGEDCOM ROX RX1501
RUGGEDCOM ROX RX1536
RUGGEDCOM ROX RX5000
Dell EMC Storage Monitoring and Reporting (SMR)

How to mitigate CVE-2022-22576

Install updates from vendor's website.

cURL - update to 7.83.0
cflinuxfs3 - update to 0.291.0
Secondary Scheduler Operator for Red Hat OpenShift (OSSO) - update to 1.0.1
Data Lakehouse - update to 1.1.0.0
Telemetry Dashboard - update to 1.1.0.6 on Thin OS 2405
IBM MQ Operator - addressed in versions 1.3.6, 2.0.1
Migration Toolkit for Containers - update to 1.7.3
Cloud Pak for Security (CP4S) - update to 1.10.7.0
IBM Spectrum Copy Data Management - update to 2.2.17
Red Hat Advanced Cluster Management for Kubernetes - update to 2.5.1
Red Hat Advanced Cluster Security for Kubernetes - update to 3.71
Dell Secure Connect Gateway - update to 5.12.00.10
OpenShift Logging - addressed in versions 5.2.13, 5.3.10, 5.4.3
Liquidware - update to 6.7.0.2.2 on Thin OS 2405
Splunk Universal Forwarder - addressed in versions 8.1.14, 8.2.11, 9.0.5
Splunk Enterprise - addressed in versions 8.2.12, 9.0.6, 9.1.1
IBM supplied MQ Advanced container images - addressed in versions 9.2.0.6-r1, 9.3.0.0-r2
IBM QRadar WinCollect Agent - update to 10.0.2
IBM Security Verify Access - update to 10.0.5.0
Cisco Jabber - update to 14.3.0.308378.11 on Thin OS 2405
Citrix Workspace App - update to 24.2.0.65.17 on Thin OS 2405
Webex App VDI - update to 44.2.0.28744.1 on Thin OS 2405
Cisco Webex Meetings - update to 44.2.0.76.2 on Thin OS 2405
VMware Horizon Client - update to 2312.1.8.12.1.5 on Thin OS 2405
Netcool Operations Insight - update to 1.6.7
Red Hat OpenShift Serverless - update to 1.24.0
Isolation Segment - addressed in versions 2.7.45, 2.10.25, 2.11.14, 2.12.8
VMware Tanzu Application Service for VMs - addressed in versions 2.7.50, 2.10.32, 2.11.20, 2.12.13, 2.13.5
RUGGEDCOM ROX RX1500 - update to 2.16.0
RUGGEDCOM ROX RX1511 - update to 2.16.0
RUGGEDCOM ROX RX1400 - update to 2.16.0
RUGGEDCOM ROX RX1510 - update to 2.16.0
RUGGEDCOM ROX MX5000RE - update to 2.16.0
RUGGEDCOM ROX RX1512 - update to 2.16.0
RUGGEDCOM ROX RX1524 - update to 2.16.0
RUGGEDCOM ROX MX5000 - update to 2.16.0
RUGGEDCOM ROX RX1501 - update to 2.16.0
RUGGEDCOM ROX RX1536 - update to 2.16.0
RUGGEDCOM ROX RX5000 - update to 2.16.0
IBM Cloud Transformation Advisor - update to 3.10.0
HPE Moonshot 1500 Chassis Manager - update to 4.0-b43
IBM Cloud Pak for Watson AIOps - update to 4.1.1
Platform Automation Toolkit - addressed in versions 4.4.29, 5.0.22
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.6.0
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.8.0.0
DB2 on Cloud Pak for Data - update to 4.8.2
DB2 Warehouse on Cloud Pak for Data - update to 4.8.2
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.11.0
Red Hat OpenShift Container Platform - update to 4.11.0
OpenShift Virtualization - update to 4.11.0
App Connect Enterprise Certified Container - update to 5.0.1
Watson Studio on Cloud Pak for Data - update to 5.0.3
My Cloud OS 5 - update to 5.25.124
IBM Qradar SIEM - addressed in versions 7.4.3 Fix Pack 8, 7.5.0 Update Pack 4
libcurl3-gnutls (Ubuntu package) - addressed in versions 7.58.0-2ubuntu3.17, 7.68.0-1ubuntu2.10, 7.74.0-1.3ubuntu2.1, 7.81.0-1ubuntu1.1
libcurl3-nss (Ubuntu package) - addressed in versions 7.58.0-2ubuntu3.17, 7.68.0-1ubuntu2.10, 7.74.0-1.3ubuntu2.1, 7.81.0-1ubuntu1.1
libcurl4 (Ubuntu package) - addressed in versions 7.58.0-2ubuntu3.17, 7.68.0-1ubuntu2.10, 7.74.0-1.3ubuntu2.1, 7.81.0-1ubuntu1.1
curl (Ubuntu package) - addressed in versions 7.58.0-2ubuntu3.17, 7.68.0-1ubuntu2.10, 7.74.0-1.3ubuntu2.1, 7.81.0-1ubuntu1.1
curl-debuginfo - addressed in versions 7.60.0-11.37.1, 7.66.0-150200.4.30.1
curl-debugsource - addressed in versions 7.60.0-11.37.1, 7.66.0-150200.4.30.1
libcurl-devel - addressed in versions 7.60.0-11.37.1, 7.66.0-150200.4.30.1
curl - addressed in versions 7.60.0-11.37.1, 7.66.0-150200.4.30.1
libcurl4 - addressed in versions 7.60.0-11.37.1, 7.66.0-150200.4.30.1
libcurl4-debuginfo - addressed in versions 7.60.0-11.37.1, 7.66.0-150200.4.30.1
libcurl4-32bit - addressed in versions 7.60.0-11.37.1, 7.66.0-150200.4.30.1
libcurl4-debuginfo-32bit - update to 7.60.0-11.37.1
curl - addressed in versions 7.61.1-12.101, 7.87.0-2
curl - update to 7.61.1-22
libcurl - update to 7.61.1-22
libcurl-devel - update to 7.61.1-22
libcurl-minimal - update to 7.61.1-22
curl (Red Hat package) - update to 7.61.1-22.el8_6.3
libcurl-devel-32bit - update to 7.66.0-150200.4.30.1
libcurl4-32bit-debuginfo - update to 7.66.0-150200.4.30.1
curl-help - update to 7.71.1-13
libcurl-devel - update to 7.71.1-13
libcurl - update to 7.71.1-13
curl-debugsource - update to 7.71.1-13
curl-debuginfo - update to 7.71.1-13
curl - update to 7.71.1-13
curl (Debian package) - update to 7.74.0-1.3+deb11u2
curl - addressed in versions 7.76.1-15.fc34, 7.76.1-16.fc34, 7.79.1-3.fc35, 7.79.1-4.fc35, 7.82.0-4.fc36
net-misc/curl - update to 7.86.0
IBM Engineering Requirements Management DOORS Next - update to 9.7.2.7
IBM Spectrum Protect Plus - update to 10.1.12
Red Hat OpenStack - update to 16.2.z
Dell Data Protection Central - update to 19.9
IBM Robotic Process Automation - update to 21.0.3

External References

Related Security Bulletins