Vulnerability · Published Aug 30, 2023 · Assigned by GitHub_M

CVE-2023-40184Improper handling of session establishment errors in xrdp

Low 2.6

In plain English

A low-severity security flaw in xrdp from neutrinolabs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)2.6Low
Exploit odds (30 days)0.9%top 41.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20xrdp0.9.23-r0ALPINE-CVE-2023-40184
Alpine:v3.21xrdp0.9.23-r0ALPINE-CVE-2023-40184
Alpine:v3.22xrdp0.9.23-r0ALPINE-CVE-2023-40184
Alpine:v3.23xrdp0.9.23-r0ALPINE-CVE-2023-40184
Alpine:v3.24xrdp0.9.23-r0ALPINE-CVE-2023-40184
Debian:12xrdp0.9.21.1-1+deb12u1DEBIAN-CVE-2023-40184
Debian:13xrdp0.9.24-2DEBIAN-CVE-2023-40184
Debian:14xrdp0.9.24-2DEBIAN-CVE-2023-40184
Ubuntu:25.10xrdp0.10.1-3.1+deb13u1build0.25.10.1USN-8476-1

Affected products (as reported)

VendorProductVersions
neutrinolabs xrdp < 0.9.23

Weakness: CWE-755 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L

References