CVE-2023-40184
Reported by GitHub_M · Published August 30, 2023
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| neutrinolabs | xrdp | < 0.9.23 |
| alpine | xrdp | 0, 0, 0 |
| neutrinolabs | xrdp | < 0.9.23 |
Timeline
- Aug 30, 2023 CVE Published
- Aug 31, 2023 EPSS Score
- Oct 3, 2023 EPSS Score
- Nov 5, 2023 EPSS Score
- Jan 10, 2024 EPSS Score
- Feb 11, 2024 EPSS Score
- Mar 15, 2024 EPSS Score
- Apr 17, 2024 EPSS Score
- May 20, 2024 EPSS Score
- Jun 22, 2024 EPSS Score
- Aug 27, 2024 EPSS Score
- Sep 29, 2024 EPSS Score
References
- https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-f489-557v-47jq x_refsource_CONFIRM
- https://github.com/neutrinolabs/xrdp/commit/a111a0fdfe2421ef600e40708b5f0168594cfb23 x_refsource_MISC
- https://github.com/neutrinolabs/xrdp/blame/9bbb2ec68f390504c32f2062847aa3d821a0089a/sesman/sesexec/session.c#L571C5-L571C19 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/05/msg00018.html url