CVE-2020-4044 Local users can perform a buffer overflow attack against the xrdp-sesman service and then impersonate it
HighCVSS 7.8
EPSS 2.4%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/xrdp(Debian:12) | < 0.9.12-1.1 | 0.9.12-1.1 |
| debian/xrdp(Debian:13) | < 0.9.12-1.1 | 0.9.12-1.1 |
| debian/xrdp(Debian:14) | < 0.9.12-1.1 | 0.9.12-1.1 |
| neutrinolabs xrdp | < 0.9.13.1 | 0.9.13.1 |
| alpine/xrdp(Alpine:v3.12) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.13) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.14) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.15) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.16) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.17) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.18) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.19) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.20) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.21) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.22) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.23) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| alpine/xrdp(Alpine:v3.24) | < 0.9.13.1-r0 | 0.9.13.1-r0 |
| neutrinolabs xrdp | = < 0.9.13.1 | No fix listed |
References
- Debian Security Tracker CVE-2020-4044 vendor-advisory
- openSUSE-SU-2020:0999 vendor-advisory
- openSUSE-SU-2020:1200 vendor-advisory
- github.com patch third-party-advisory
- github.com release-notes third-party-advisory
- github.com third-party-advisory
- [debian-lts-announce] 20200809 [SECURITY] [DLA 2319-1] xrdp security update mailing-list
- DSA-4737 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking