CVE-2023-40184
Dashboard / Vulnerabilities / CVE-2023-40184
CVE-2023-40184
Summary: Improper handling of session establishment errors in xrdp
Details: 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.
References: https://github.com/neutrinolabs/xrdp/blame/9bbb2ec68f390504c32f2062847aa3d821a0089a/sesman/sesexec/session.c#L571C5-L571C19, https://lists.debian.org/debian-lts-announce/2025/05/msg00018.html, https://lists.fedoraproject.org/archives/list/[email protected]/message/SOT237TIHTHPX5YNIWLVNINOEYC7WMG2/, https://lists.fedoraproject.org/archives/list/[email protected]/message/U5IXMQODV3OIJ7DRQBUQV7PUKNT7SH36/, https://lists.fedoraproject.org/archives/list/[email protected]/message/URO3FKTFBPNKFARAQBEJLI4MH6YS35P5/, https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40184.json, https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-f489-557v-47jq, https://nvd.nist.gov/vuln/detail/CVE-2023-40184, https://github.com/neutrinolabs/xrdp/commit/a111a0fdfe2421ef600e40708b5f0168594cfb23
Affected packages
Package
Name:
Purl:
