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_SCHEMESsetting, which defaults toerugo. 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 asmtp_password_setflag 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-Passwordheader 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.