6.5

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

Modified
AliasesMGASA-2023-0276SUSE-SU-2023:3735-1SUSE-SU-2023:3830-1
Published 30-08-2023Last modified 03-11-2025

Vulnerability summary

CVE-2023-40184 is a medium (CVSS 6.5) vulnerability in neutrinolabs xrdp. EPSS estimates a 0.85% chance of exploitation in the next 30 days, higher than 59.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.85%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 4

Timeline

  1. 30-08-2023
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.85%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 0.85% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Suse6 products
  • xrdp&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4< 0.9.13.1-150200.4.24.1
  • xrdp&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5< 0.9.13.1-150200.4.24.1
  • xrdp&distro=SUSE Linux Enterprise Server 12 SP5< 0.9.10-3.11.1
  • xrdp&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 0.9.10-3.11.1
  • xrdp&distro=SUSE Manager Proxy 4.2< 0.9.13.1-150200.4.24.1
Mageia2 products
  • xrdp< 0.9.23-1.mga8
  • xrdp< 0.9.23-1.mga9
Opensuse2 products
  • xrdp&distro=openSUSE Leap 15.4< 0.9.13.1-150200.4.24.1
  • xrdp&distro=openSUSE Leap 15.5< 0.9.13.1-150200.4.24.1
Alpine1 product
  • xrdp< 0.9.23-r0
Debian1 product
  • xrdp< 0.9.21.1-1+deb12u1 | < 0.9.24-2
Neutrinolabs1 product
Ubuntu1 product
  • xrdp< 0.6.0-1ubuntu0.1+esm3 | < 0.6.1-2ubuntu0.3+esm3 | < 0.9.5-2ubuntu0.1~esm2 | < 0.9.12-1ubuntu0.1+esm1 | < 0.9.17-2ubuntu2+esm1 | < 0.9.24-4ubuntu0.1~esm1

7 vendors · 14 products

References

20 links
Show all 20 references