All posts

CortenDesk 1.12.0 finds duplicate devices and updates server security

CortenDesk 1.12.0 flags possible duplicate devices, saves theme choice to your account and ships bundled server security fixes.

Two matching device objects are marked as a possible duplicate pair beside simple security and theme symbols.
Duplicate devices1.12.0

CortenDesk 1.12.0 helps you find machines that may have reappeared with a new RustDesk ID. It also saves your light or dark theme choice to your account and includes security fixes in the bundled CortenDesk Server.

Possible duplicate devices

When a machine gets a new RustDesk ID, CortenDesk can now flag the old and new entries as possible duplicates. This can happen after a UUID mismatch, reinstall or cloned image.

You will see:

  • A badge on matching devices
  • A Duplicates filter on Devices
  • A callout on the device page with Open, Delete and Not a duplicate

Matches use the same machine UUID, or the same hostname, user and platform. Generic hostnames such as localhost are ignored.

The admin API also adds possible_duplicates to device payloads.

Theme choice follows your account

Your light or dark preference now sticks across tabs, browsers and devices.

My Account has a new Appearance section with Dark, Light and Match system.

Security updates

This version bundles CortenDesk Server 1.1.1. It fixes a WebSocket handshake DoS, a protobuf recursion crash and UDP reflection, and ignores forged client addresses on the WebSocket ports.

The built-in /ws/id and /ws/relay bridge no longer passes a client-supplied X-Real-IP to the ID server and relay. A forwarded address is trusted only from a private or loopback proxy.

Dependencies with published advisories are updated, including Laravel, Livewire, league/commonmark and the web client's build tools. The repository now runs CodeQL, Semgrep, gitleaks, composer audit and npm audit.

Updating

Two migrations run on start: one for the theme preference, and one for dismissed duplicate pairs.

Do not publish ports 21118/21119 unless you have RustDesk clients in WebSocket mode, and then only behind a proxy that sets X-Real-IP. The console's web client does not need them. It goes through /ws/id and /ws/relay on port 8080. The examples in the README and wiki are updated.

Pull one of these image tags:

docker pull marcpope/cortendesk:1.12.0
docker pull ghcr.io/marcpope/cortendesk:1.12.0

See the full release notes.