Synopsis
The remote Debian host is missing one or more security-related updates.
Description
The remote Debian 11 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-4166 advisory.
- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4166-1 [email protected] https://www.debian.org/lts/security/ Abhijith PA May 16, 2025 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------
Package : xrdp Version : 0.9.21.1-1~deb11u2 CVE ID : CVE-2023-40184 CVE-2023-42822 CVE-2024-39917
Several vulnerabilities were discovered in xrdp, a Remote Desktop Protocol (RDP) server
CVE-2023-40184
improper handling of session establishment errors allows bypassing OS-level session restrictions. The `auth_start_session` function can return non-zero on PAM error which may result in in session restrictions such as max concurrent sessions per user by PAM.
CVE-2023-42822
Access to the font glyphs in xrdp_painter.c is not bounds-checked . Since some of this data is controllable by the user, this can result in an out-of-bounds read within the xrdp executable. The vulnerability allows an out-of-bounds read within a potentially privileged process.
CVE-2024-39917
a vulnerability that allows attackers to make an infinite number of login attempts. The number of max login attempts is supposed to be limited by a configuration parameter `MaxLoginRetry` in `/etc/xrdp/sesman.ini`. However, this mechanism was not effectively working. As a result, xrdp allows an infinite number of login attempts.
For Debian 11 bullseye, these problems have been fixed in version 0.9.21.1-1~deb11u2.
We recommend that you upgrade your xrdp packages.
For the detailed security status of xrdp please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/xrdp
Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS
Tenable has extracted the preceding description block directly from the Debian security advisory.
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.
Solution
Upgrade the xrdp packages.
Plugin Details
File Name: debian_DLA-4166.nasl
Agent: unix
Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus
Risk Information
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C
Vulnerability Information
CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:xrdp
Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l
Exploit Ease: No known exploits are available
Patch Publication Date: 5/16/2025
Vulnerability Publication Date: 8/30/2023