Buffer overflow in xrdp - CVE-2022-23480

 

Buffer overflow in xrdp - CVE-2022-23480

Published: December 12, 2022


Vulnerability identifier: #VU70106
CSH Severity: High
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-23480
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to a boundary error in devredir_proc_client_devlist_announce_req() function. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.

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


Affected software

xrdp
Debian Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Fedora
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
Ubuntu
xrdp (Ubuntu package)
xrdp (Debian package)
xrdp-debugsource
xrdp-debuginfo
xrdp
libpainter0-debuginfo
xrdp-devel
libpainter0
librfxencode0
librfxencode0-debuginfo

How to mitigate CVE-2022-23480

Install updates from vendor's website.

xrdp - update to 0.9.21
xrdp (Ubuntu package) - addressed in versions 0.9.5-2ubuntu0.1~esm2, 0.9.12-1ubuntu0.1+esm1, 0.9.17-2ubuntu2+esm1
xrdp (Debian package) - update to 0.9.21.1-1~deb11u1
xrdp-debugsource - addressed in versions 0.9.0~git.1456906198.f422461-16.23.2, 0.9.0~git.1456906198.f422461-21.30.2, 0.9.6-150000.4.11.1, 0.9.10-3.8.1, 0.9.13.1-150200.4.15.1
xrdp-debuginfo - addressed in versions 0.9.0~git.1456906198.f422461-16.23.2, 0.9.0~git.1456906198.f422461-21.30.2, 0.9.6-150000.4.11.1, 0.9.10-3.8.1, 0.9.13.1-150200.4.15.1
xrdp - addressed in versions 0.9.0~git.1456906198.f422461-16.23.2, 0.9.0~git.1456906198.f422461-21.30.2, 0.9.6-150000.4.11.1, 0.9.10-3.8.1, 0.9.13.1-150200.4.15.1
libpainter0-debuginfo - addressed in versions 0.9.6-150000.4.11.1, 0.9.13.1-150200.4.15.1
xrdp-devel - addressed in versions 0.9.6-150000.4.11.1, 0.9.13.1-150200.4.15.1
libpainter0 - addressed in versions 0.9.6-150000.4.11.1, 0.9.13.1-150200.4.15.1
librfxencode0 - addressed in versions 0.9.6-150000.4.11.1, 0.9.13.1-150200.4.15.1
librfxencode0-debuginfo - addressed in versions 0.9.6-150000.4.11.1, 0.9.13.1-150200.4.15.1
xrdp - addressed in versions 0.9.21-1.el7, 0.9.21-1.el8, 0.9.21-1.el9, 0.9.21-1.fc35, 0.9.21-1.fc36, 0.9.21-1.fc37

External References

Related Security Bulletins