CVE-2023-40184

NameCVE-2023-40184
Descriptionxrdp 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1051061

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
xrdp (PTS)buster0.9.9-1+deb10u1vulnerable
buster (security)0.9.9-1+deb10u3vulnerable
bullseye (security), bullseye0.9.21.1-1~deb11u1vulnerable
bookworm0.9.21.1-1vulnerable
sid, trixie0.9.24-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
xrdpsourceexperimental0.9.24-1
xrdpsource(unstable)0.9.24-21051061

Notes

[bookworm] - xrdp <no-dsa> (Minor issue)
[bullseye] - xrdp <no-dsa> (Minor issue)
[buster] - xrdp <no-dsa> (Minor issue)
https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-f489-557v-47jq
https://github.com/neutrinolabs/xrdp/commit/25a1fab5b6c5ef2a8bb109232b765cb8b332ce5e

Search for package or bug name: Reporting problems