Skip to content

session hijack in first run wizard

Already reported to debian security team.

When entering the first run wizard passphrase, other web-sessions can continue the run wizard without being asked for the first run wizard passphrase.

To reproduce:

  1. apt install freedombox and keep all defaults
  2. Open first run wizard on machine A
  3. Enter the first run wizard passphrase
  4. Open first run wizard on machine B

Expected:

Session is invalid; wizard asks for passphrase again

Actual result:

First run wizard continues with step 2, allowing creation of arbitrary admin account

I have attached a patch that can fix this bug. Thanks to @natureshadow for mentoring me.

freedombox_first_boot_session.patch