Out-of-bounds read in xrdp - CVE-2023-42822

 

Out-of-bounds read in xrdp - CVE-2023-42822

Published: October 2, 2023


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

Vulnerability details

The vulnerability allows a remote user to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in xrdp_painter.c when accessing the font glyphs. A remote user can trigger an out-of-bounds read error and read contents of memory on the system.

Successful exploitation of the vulnerability may lead to system compromise.


Affected software

xrdp
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Fedora
Ubuntu
Basesystem Module
openSUSE Leap
Anolis OS
xrdp (Ubuntu package)
xrdp-debuginfo
xrdp-debugsource
xrdp
librfxencode0
librfxencode0-debuginfo
xrdp-devel
libpainter0
libpainter0-debuginfo
xrdp-doc
xrdp-selinux

How to mitigate CVE-2023-42822

Install updates from vendor's website.

xrdp - update to 0.9.23.1
xrdp (Ubuntu package) - addressed in versions Ubuntu Pro, 0.9.5-2ubuntu0.1~esm3, 0.9.12-1ubuntu0.1+esm2, 0.9.17-2ubuntu3+esm2, 0.9.24-4ubuntu0.1~esm1, 0.10.1-3.1+deb13u1build0.25.10.1
xrdp-debuginfo - addressed in versions 0.9.10-3.16.1, 0.9.13.1-150200.4.27.1
xrdp-debugsource - addressed in versions 0.9.10-3.16.1, 0.9.13.1-150200.4.27.1
xrdp - addressed in versions 0.9.10-3.16.1, 0.9.13.1-150200.4.27.1
librfxencode0 - update to 0.9.13.1-150200.4.27.1
librfxencode0-debuginfo - update to 0.9.13.1-150200.4.27.1
xrdp-devel - update to 0.9.13.1-150200.4.27.1
libpainter0 - update to 0.9.13.1-150200.4.27.1
libpainter0-debuginfo - update to 0.9.13.1-150200.4.27.1
xrdp - update to 0.9.23.1-1
xrdp-doc - update to 0.9.23.1-1
xrdp-selinux - update to 0.9.23.1-1
xrdp-devel - update to 0.9.23.1-1
xrdp - addressed in versions 0.9.23.1-1.el7, 0.9.23.1-1.el8, 0.9.23.1-1.el9, 0.9.23.1-1.fc37, 0.9.23.1-1.fc38, 0.9.23.1-1.fc39

External References

Related Security Bulletins