Description
RustDesk gates incoming control messages on per-capability flags rather than on the session's authorized connection type, and a file-transfer session does not clear those flags. A peer holding only a valid FileTransfer authorization can inject keyboard and mouse input and reach the unguarded screenshot and display-capture handlers, acting outside its granted scope.
Problem types
Product status
Any version
Credits
ashdfrkl
References
github.com/...ium/tree/main/rustdesk-session-permission-pocs (Proof of Concept)
www.vulncheck.com/...sfer-session-authorization-scope-bypass (VulnCheck Advisory: RustDesk - FileTransfer Session Authorization Scope Bypass)