CVE-2022-23613: Privilege escalation on xrdp

Published Feb 7, 2022
·
Updated

xrdp is an open source remote desktop protocol (RDP) server. In affected versions an integer underflow leading to a heap overflow in the sesman server allows any unauthenticated attacker which is able to locally access a sesman server to execute code as root. This vulnerability has been patched in version 0.9.18.1 and above. Users are advised to upgrade. There are no known workarounds.

Affected Software

25 affected componentsFixes available
Neutrinolabs Xrdp=0.9.17
Neutrinolabs Xrdp=0.9.18
Fedoraproject Fedora=34
Fedoraproject Fedora=35
debian/xrdp
0.9.21.1-1+deb12u20.9.21.1-1+deb12u30.10.1-3.1+deb13u20.10.6.1-3
alpine/xrdp<0.9.18.1-r0
0.9.18.1-r0
alpine/xrdp<0.9.18.1-r0
0.9.18.1-r0
alpine/xrdp<0.9.18.1-r0
0.9.18.1-r0
alpine/xrdp<0.9.18.1-r0
0.9.18.1-r0
alpine/xrdp<0.9.18.1-r0
0.9.18.1-r0
alpine/xrdp<0.9.18.1-r0
0.9.18.1-r0
alpine/xrdp<0.9.18.1-r0
0.9.18.1-r0
alpine/xrdp<0.9.18.1-r0
0.9.18.1-r0
alpine/xrdp<0.9.18.1-r0
0.9.18.1-r0
alpine/xrdp<0.9.18.1-r0
0.9.18.1-r0
debian/xrdp<0.9.17-2.1
0.9.17-2.1
debian/xrdp<0.9.17-2.1
0.9.17-2.1
debian/xrdp<0.9.17-2.1
0.9.17-2.1
ubuntu/xrdp<0.6.0-1ubuntu0.1+esm3
0.6.0-1ubuntu0.1+esm3
ubuntu/xrdp<0.6.1-2ubuntu0.3+esm3
0.6.1-2ubuntu0.3+esm3
ubuntu/xrdp<0.9.5-2ubuntu0.1~esm2
0.9.5-2ubuntu0.1~esm2
ubuntu/xrdp<0.9.12-1ubuntu0.1+esm1
0.9.12-1ubuntu0.1+esm1
ubuntu/xrdp<0.9.17-2ubuntu2+esm1
0.9.17-2ubuntu2+esm1
ubuntu/xrdp*
ubuntu/xrdp*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/xrdp to a version that resolves this vulnerability.

    Fixed in 0.9.21.1-1+deb12u2Fixed in 0.9.21.1-1+deb12u3Fixed in 0.10.1-3.1+deb13u2Fixed in 0.10.6.1-3
  2. Upgrade

    Upgrade alpine/xrdp to a version that resolves this vulnerability.

    Fixed in 0.9.18.1-r0
  3. Upgrade

    Upgrade debian/xrdp to a version that resolves this vulnerability.

    Fixed in 0.9.17-2.1
  4. Upgrade

    Upgrade ubuntu/xrdp to a version that resolves this vulnerability.

    Fixed in 0.6.0-1ubuntu0.1+esm3
  5. Upgrade

    Upgrade ubuntu/xrdp to a version that resolves this vulnerability.

    Fixed in 0.6.1-2ubuntu0.3+esm3
  6. Upgrade

    Upgrade ubuntu/xrdp to a version that resolves this vulnerability.

    Fixed in 0.9.5-2ubuntu0.1~esm2
  7. Upgrade

    Upgrade ubuntu/xrdp to a version that resolves this vulnerability.

    Fixed in 0.9.12-1ubuntu0.1+esm1
  8. Upgrade

    Upgrade ubuntu/xrdp to a version that resolves this vulnerability.

    Fixed in 0.9.17-2ubuntu2+esm1
  9. Upgrade

    Upgrade xrdp to a version that resolves this vulnerability.

    Fixed in 0.9.18.1

Event History

Feb 7, 2022
CVE Published
via MITRE·09:40 PM
Data Sourced
via MITRE·09:40 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·10:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2022-23613?

CVE-2022-23613 is a vulnerability in the xrdp remote desktop protocol (RDP) server that allows an unauthenticated attacker with local access to execute code as root.

2

How severe is CVE-2022-23613?

CVE-2022-23613 has a severity score of 7.8 (high).

3

Which versions of xrdp are affected by CVE-2022-23613?

Versions 0.9.17 and 0.9.18 of the Neutrinolabs Xrdp server are affected by CVE-2022-23613.

4

How can an attacker exploit CVE-2022-23613?

An attacker with local access to the sesman server can exploit CVE-2022-23613 through an integer underflow leading to a heap overflow, allowing them to execute code as root.

5

Has CVE-2022-23613 been patched?

Yes, CVE-2022-23613 has been patched in version 0.9.18 of the Neutrinolabs Xrdp server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203