rdesktop versions up to and including v1.8.3 contain an Integer Overflow that leads to an Out-Of-Bounds Write in function process_bitmap_updates() and results in a memory corruption and possibly even a remote code execution.
The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/106938 | third party advisory vdb entry |
https://github.com/rdesktop/rdesktop/commit/4dca546d04321a610c1835010b5dad85163b65e1 | third party advisory patch |
https://security.gentoo.org/glsa/201903-06 | third party advisory vendor advisory |
https://research.checkpoint.com/reverse-rdp-attack-code-execution-on-rdp-clients/ | third party advisory |
https://www.debian.org/security/2019/dsa-4394 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2019/02/msg00030.html | third party advisory mailing list |
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00040.html | vendor advisory mailing list third party advisory |