rdesktop versions up to and including v1.8.3 contain an Integer Overflow that leads to a Heap-Based Buffer Overflow in the function rdp_in_unistr() and results in memory corruption and possibly even a remote code execution.
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 | vdb entry third party advisory broken link |
https://github.com/rdesktop/rdesktop/commit/4dca546d04321a610c1835010b5dad85163b65e1 | 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 exploit |
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 | mailing list third party advisory vendor advisory |