CVE-2023-40184: Improper handling of session establishment errors in xrdp
Vulnerability summary
CVE-2023-40184 is a medium (CVSS 6.5) vulnerability in neutrinolabs xrdp. EPSS estimates a 0.85% chance of exploitation in the next 30 days, higher than 59.3% of scored vulnerabilities.
Not severe (CVSS 2.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 30-08-2023PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA2.6LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.85%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.85% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse6 products
- xrdp&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4< 0.9.13.1-150200.4.24.1
- xrdp&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5< 0.9.13.1-150200.4.24.1
- xrdp&distro=SUSE Linux Enterprise Server 12 SP5< 0.9.10-3.11.1
- xrdp&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 0.9.10-3.11.1
- xrdp&distro=SUSE Manager Proxy 4.2< 0.9.13.1-150200.4.24.1
Mageia2 products
- xrdp< 0.9.23-1.mga8
- xrdp< 0.9.23-1.mga9
Opensuse2 products
- xrdp&distro=openSUSE Leap 15.4< 0.9.13.1-150200.4.24.1
- xrdp&distro=openSUSE Leap 15.5< 0.9.13.1-150200.4.24.1
Alpine1 product
- xrdp< 0.9.23-r0
Debian1 product
- xrdp< 0.9.21.1-1+deb12u1 | < 0.9.24-2
Neutrinolabs1 product
- xrdp< 0.9.23
Ubuntu1 product
- xrdp< 0.6.0-1ubuntu0.1+esm3 | < 0.6.1-2ubuntu0.3+esm3 | < 0.9.5-2ubuntu0.1~esm2 | < 0.9.12-1ubuntu0.1+esm1 | < 0.9.17-2ubuntu2+esm1 | < 0.9.24-4ubuntu0.1~esm1
7 vendors · 14 products
References
20 links- github.com/neutrinolabs/xrdp/security/advisories/GHSA-f489-557v-47jqX Refsource CONFIRMREPORTVendor Advisory
- github.com/neutrinolabs/xrdp/commit/a111a0fdfe2421ef600e40708b5f0168594cfb23X Refsource MISCREPORTPatch
- github.com/neutrinolabs/xrdp/blame/9bbb2ec68f390504c32f2062847aa3d821a0089a/sesman/sesexec/session.cX Refsource MISCREPORTProduct
- lists.fedoraproject.org/archives/…Mailing List
- lists.fedoraproject.org/archives/…Mailing List