Buffer Overflow Affecting neutrinolabs/xrdp package, versions [,0.9.13.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.06% (29th 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-UNMANAGED-NEUTRINOLABSXRDP-2366086
  • published26 Jan 2022
  • disclosed30 Jun 2020
  • creditUnknown

Introduced: 30 Jun 2020

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

How to fix?

Upgrade neutrinolabs/xrdp to version 0.9.13.1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. 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