Out-of-bounds read in xrdp - CVE-2022-23493

 

Out-of-bounds read in xrdp - CVE-2022-23493

Published: December 12, 2022


Vulnerability identifier: #VU70101
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-23493
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to a boundary condition in xrdp_mm_trans_process_drdynvc_channel_close() function. A remote attacker can trigger out-of-bounds read error and read contents of memory on the system, or perform a denial of service (DoS) attack.


Affected software

xrdp
Debian Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Fedora
SUSE Enterprise Storage
SUSE Linux Enterprise Server
Ubuntu
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
xrdp (Ubuntu package)
xrdp-debugsource
xrdp-debuginfo
xrdp
libpainter0-debuginfo
xrdp-devel
librfxencode0-debuginfo
librfxencode0
libpainter0
xrdp (Debian package)

How to mitigate CVE-2022-23493

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.10-3.8.1, 0.9.13.1-150200.4.15.1
xrdp-debuginfo - addressed in versions 0.9.10-3.8.1, 0.9.13.1-150200.4.15.1
xrdp - addressed in versions 0.9.10-3.8.1, 0.9.13.1-150200.4.15.1
libpainter0-debuginfo - update to 0.9.13.1-150200.4.15.1
xrdp-devel - update to 0.9.13.1-150200.4.15.1
librfxencode0-debuginfo - update to 0.9.13.1-150200.4.15.1
librfxencode0 - update to 0.9.13.1-150200.4.15.1
libpainter0 - update to 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