Heap-based buffer overflow in rdesktop - CVE-2018-8795
Published: February 11, 2019 / Updated: May 18, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to an integer overflow. A remote attacker can trick the victim who is using a Remote Desktop Protocol (RDP) client on a targeted system into connecting to an attacker-controlled RDP server, trigger out-of-bounds write condition in the process_bitmap_updates() function and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Arch Linux
SUSE Linux
Opensuse
Fedora
busybox (Alpine package)
rdesktop (Alpine package)
firefox-esr (Alpine package)
rdesktop
How to mitigate CVE-2018-8795
rdesktop (Alpine package) - update to 1.8.6-r0
rdesktop - addressed in versions 1.8.4-2.fc28, 1.8.4-2.fc29
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Multiple vulnerabilities in rdesktop
- OpenSUSE Linux update for rdesktop
- Heap-based buffer overflow in rdesktop (Alpine package)
- Heap-based buffer overflow in busybox (Alpine package)
- Arch Linux update for rdesktop
- Gentoo update for rdesktop
- Heap-based buffer overflow in firefox-esr (Alpine package)
- Fedora 28 update for rdesktop
- Fedora 29 update for rdesktop