Stack-based Buffer Overflow Affecting xrdp package, versions <0.9.13.1-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE321-XRDP-8490150
  • published6 Dec 2024
  • disclosed30 Jun 2020

Introduced: 30 Jun 2020

CVE-2020-4044  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 xrdp to version 0.9.13.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xrdp package and not the xrdp package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

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.

CVSS Scores

version 3.1