Repository navigation
v0.5.12
Upgrade notes
This release closes the read half of the dashboard CSRF finding
(#861): reads on dashboard-gated routes, including the SPA at /,
must now address the gateway by a name it answers for, and reads
under /api/ are refused when a browser reports
Sec-Fetch-Site other than same-origin or none. This stops a
DNS-rebound page from reading dashboard state as the operator.
- Names accepted without configuration: any IP literal,
localhost,
thepublic_urlhost, a hostname given indashboard_listen, and
the tsnet node's MagicDNS name. A default deployment sees no change. - A dashboard reached by a CNAME, or behind a proxy that rewrites
Hostto a backend name, refuses reads with 403 until that name is
listed in the newgateway { dashboard_hosts = [...] }or set as
public_url. The refusal body says so. /info,/ca.crt, the login form and the self-authenticating
paths (/api/env-pushdown, HITL operation status) are unchanged;
clawpatrol joinand the per-process daemons are unaffected.
What's Changed
- fix(web): hold dashboard reads to a Host the gateway answers for by @piscisaureus in #861
Full Changelog: v0.5.11...v0.5.12