PT-2023-6794

CVE-2023-40184

·

Published

2023-08-19

·

Updated

2026-10-31

Description by

CVSS 2.0
6.8
Medium
MetricsAV:N/AC:L/Au:S/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions xrdp versions prior to 0.9.23
Description The issue is related to the improper handling of session establishment errors in xrdp, allowing bypassing of OS-level session restrictions. The auth start session function can return a non-zero value on errors, such as PAM errors, which may result in session restrictions being bypassed. This affects users who use restrictions by PAM, while administrators who do not use these restrictions are not affected.
Recommendations To resolve the issue, upgrade to release version 0.9.23 or later. As a temporary workaround, consider restricting access to the auth start session function until a patch is available. Additionally, review and adjust PAM settings, such as those in ./etc/security/limits.conf, to minimize the risk of exploitation. There are no known workarounds for this issue other than upgrading to the fixed version.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-F489-557V-47JQ
ALT-PU-2023-5794
ALT-PU-2023-5795
ALT-PU-2023-5796
ALT-PU-2023-5797
ALT-PU-2023-5872
CLEANSTART-2023-EK13137
DLA-4166-1
MGASA-2023-0276
OPENSUSE-SU-2023_3830-1
OPENSUSE-SU-2024:13399-1
ROSA-SA-2024-2445
ROSA-SA-2024-2523
SUSE-SU-2023:3735-1
SUSE-SU-2023_3735-1
SUSE-SU-2023:3830-1
SUSE-SU-2023_3830-1
SUSE-SU-2023:4873-1
SUSE-SU-2023_4873-1
USN-6474-1
USN-8476-1
Found an issue in the description? Have something to add? Feel free to write us 👾