github ErugoOSS/Erugo v0.3.2

4 hours ago

Erugo 0.3.2

This release fixes a security problem and brings the app API in line with recent security fixes. Everyone running 0.3.0 or 0.3.1 should upgrade.

Security

  • Fixed account takeover through SSO sign-in in the app API (GHSA-77gj-jmpx-g9fq). If an SSO provider was turned on, an attacker could get a user to sign in through a crafted link and receive that user's sign-in code. The callback scheme is now limited to the ones listed in the new ERUGO_APP_CALLBACK_SCHEMES setting, which defaults to erugo. If you can't upgrade straight away, turn off SSO providers or block /api/app/v1/auth/external/* at your proxy.

App API

  • The SMTP password is no longer sent back. The app gets ******** and a smtp_password_set flag instead.
  • Reading a password-protected share now needs the password, unless you can manage the share.
  • Share passwords can be sent in the X-Share-Password header or a POST body, so they don't have to go in the URL.
  • Background uploads check the file's real type.
  • Live share limits are hidden while live shares are turned off.

Thanks

  • @aquasalt reported the SSO sign-in problem.

Don't miss a new Erugo release

NewReleases is sending notifications on new releases.