Skip to content

v0.32.2

Choose a tag to compare

@github-actions github-actions released this 08 Oct 04:40
7db36fd

Security

  • A sign-in goes on only to a path on this site. The self-hosted sign-in page reads where to go next from its address (/login?next=...). After the password was accepted, it went there whatever it said. Anyone could hand out a link that sent the person signing in to another site straight after they typed their password here.

    Now only a path on this instance is followed, and anything else goes to the default page. That rules out:

    • a full address;
    • //host;
    • a backslash;
    • an encoded slash;
    • a tab or line break.

    The address the instance writes itself when you open a page while signed out still brings you back to that page.

Checked

On the published 0.32.1, a real sign-in through each kind of link reached another site. On the release candidate, every one of them landed on the default page, a plain path was kept, and opening /kits?tab=sheets while signed out came back to it after signing in. 25 tests cover each refused form.

Reported privately by @hackchang (GHSA-59mq-hx4p-fw48). Thank you.

docker run -d -p 3000:3000 -v hr-data:/data harnessrouter/harnessrouter:0.32.2

Full Changelog: v0.32.1...v0.32.2