Buffer overflow in xrdp - CVE-2022-23479

 

Buffer overflow in xrdp - CVE-2022-23479

Published: December 12, 2022


Vulnerability identifier: #VU70105
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-23479
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 xrdp_mm_chan_data_in() 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 Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Fedora
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
xrdp (Ubuntu package)
xrdp-debugsource
xrdp-debuginfo
xrdp
libpainter0-debuginfo
libpainter0
librfxencode0
librfxencode0-debuginfo
xrdp-devel
xrdp (Debian package)

How to mitigate CVE-2022-23479

Install updates from vendor's website.

xrdp - update to 0.9.21
xrdp (Ubuntu package) - update to Ubuntu Pro
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
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-devel - 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
xrdp (Debian package) - update to 0.9.21.1-1~deb11u1

External References

Related Security Bulletins