Vulnerability in Neutrinolabs Xrdp
CVE-2023-40184
xrdp is an open source remote desktop protocol (RDP) server. In versions prior to 0.9.23 improper handling of session establishment errors allows bypassing OS-level session restrictions. The `auth_start_session` function can return non-zero (1) value on, e.g., PAM error which may result in in session restrictions such as max concurrent sessions per user by PAM (ex ./etc/security/limits.conf) to be bypassed. Users (administrators) don't use restrictions by PAM are not affected. This issue has been addressed in release version 0.9.23. Users are advised to upgrade. There are no known workarounds for this issue.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.6 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.009, 58.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Neutrinolabs Xrdp — versions < 0.9.23
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (seyrenus/trace-release, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-f489-557v-47jq (Vendor Advisory)
- https://github.com/neutrinolabs/xrdp/commit/a111a0fdfe2421ef600e40708b5f0168594cfb23 (Patch)
- https://github.com/neutrinolabs/xrdp/blame/9bbb2ec68f390504c32f2062847aa3d821a0089a/sesman/sesexec/session.c#L571C5-L571C19 (Product)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.debian.org/debian-lts-announce/2025/05/msg00018.html