HTTP->HTTPS: Traefik web entrypoint now 308-redirects to websecure (no more Host-reflection, fixed target)
Other services on the proxy (gitea etc) verified unaffected
Changes committed in poslop/k3s (values.yaml + hsts-middleware.yaml).
Fully remediated and live-verified 2026-09-09:
- App security headers: merged via PR #76 (CSP, Referrer-Policy, nosniff on all HTML)
- HSTS: Traefik entrypoint middleware `kube-system-hsts@kubernetescrd` (max-age=31536000, includeSubDomains, preload) - verified on palette + palette-dev
- HTTP->HTTPS: Traefik web entrypoint now 308-redirects to websecure (no more Host-reflection, fixed target)
- Other services on the proxy (gitea etc) verified unaffected
Changes committed in poslop/k3s (values.yaml + hsts-middleware.yaml).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Observed on dev build:
curl -H 'Host: evil.example.com' http://10.0.1.47/->301 Location: https://evil.example.com/- the HTTP->HTTPS redirect blindly reflects the attacker-supplied Host header (host-header injection / cache poisoning vector where a proxy caches the redirect).Recommend: set HSTS, CSP, X-Content-Type-Options (present only on /raw), X-Frame-Options; derive redirect location from allowlist.
Fully remediated and live-verified 2026-09-09:
kube-system-hsts@kubernetescrd(max-age=31536000, includeSubDomains, preload) - verified on palette + palette-devChanges committed in poslop/k3s (values.yaml + hsts-middleware.yaml).