Description
rustdesk-api through 2.7 contains an authorization bypass vulnerability that allows unauthenticated attackers to overwrite existing peer records by supplying only a target device ID to POST /api/sysinfo. Attackers can overwrite hostname, username, OS and uuid without uuid verification, then log in presenting that uuid to rebind the peer to their account.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
lejianwen rustdesk-api
Default version status: unaffected
0 to ≤ 2.7affected
pkg:github/lejianwen/rustdesk-apiReferences
- https://hackmd.io/@hieuPenguinnn/rustdesk-api-sysinfo-unauth-peer-tamper ↗
- https://github.com/lejianwen/rustdesk-api/blob/v2.7/http/router/api.go#L60-L76 ↗
- https://github.com/lejianwen/rustdesk-api/blob/v2.7/http/controller/api/peer.go#L26-L57 ↗
- https://github.com/lejianwen/rustdesk-api ↗
- https://www.vulncheck.com/advisories/rustdesk-api-through-2.7-authorization-bypass-via-post-api-sysinfo ↗