Out-of-bounds write in xrdp - CVE-2022-23478

 

Out-of-bounds write in xrdp - CVE-2022-23478

Published: December 12, 2022


Vulnerability identifier: #VU70099
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-23478
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input in xrdp_mm_trans_process_drdynvc_channel_open() function. A remote attacker can trigger out-of-bounds write and execute arbitrary code on the target system.


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-23478

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