CVE-2023-40184
CVE-2023-40184 — Improper handling of session establishment errors in xrdp
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 Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
2.6
LOW
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 2.6 | CVSS 3.1 | LOW | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-755
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /etc/security/limits.conf).
References
7 on the record
- github.com/neutrinolabs/xrdp/security/advisories/GHSA-f489-557v-47jq
x_refsource_CONFIRM
- github.com/neutrinolabs/xrdp/commit/a111a0fdfe2421ef600e40708b5f0168594cfb23
x_refsource_MISC
- github.com/neutrinolabs/xrdp/blame/9bbb2ec68f390504c32f2062847aa3d821a0089a/sesman/sesexec/session.c#L571C5-L571C19
x_refsource_MISC
- lists.fedoraproject.org/archives/list/[email protected]/message/U5IXMQODV3OIJ7DRQBUQV7PUKNT7SH36/
reference
- lists.fedoraproject.org/archives/list/[email protected]/message/SOT237TIHTHPX5YNIWLVNINOEYC7WMG2/
reference
- lists.fedoraproject.org/archives/list/[email protected]/message/URO3FKTFBPNKFARAQBEJLI4MH6YS35P5/
reference
- lists.debian.org/debian-lts-announce/2025/05/msg00018.html
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-109618 RCE via OOM corruptionCVSS 9.8 · CISA KEV
- CVE-2020-7247 OpenSMTPD Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2017-5638 Apache Struts Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-38003 Google Chromium V8 Memory Corruption VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2018-0155 Cisco Catalyst Bidirectional Forwarding Detection Denial-of-Service VulnerabilityCVSS 8.6 · CISA KEV
- CVE-2026-109619 RCE via stale global stateCVSS 8.1 · CISA KEV
Elsewhere on this site
- Neutrinolabsevery CVE for this vendor
- CWE-755other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.