Feature #106380
openSwitch backend maintainer re-auth (sudo-mode) from password to MFA if available
0%
Description
As a backend administrator with maintainer rights one currently logs in to the backend like any editor and on accessing maintainer modules one is asked to re-auth with the password (in PRODUCTION context, IIRC in DEV context this is skipped).
I think under the condition that the user has MFA enabled, instead of asking for the password, an MFA-auth should be done.The basic principles used here are:
- re-auth makes sense to escalate privileges, e.g. avoid scenarios with unlocked and unattended devices, session hijacking and device not locked but accessible by others, session hijacked or simply unintended mishaps
- passwords are not safe as static secrets. Thus, additional MFA (e.g. TOTP, WebAuthn based hardware tokens) are added because they have better protection (e.g. access to a physical device or being only valid for a small time).
- stealing a session is as easy, stealing a password is easy. stealing an addtional MFA-factor is hard.
In conclusion the re-auth to escalate to the maintainer modules should probably also use MFA (if available), instead of the password, as re-authing a session with a password seems weaker than re-authing it with an MFA.
This here does not consider 3rd party extensions supplying authentication providers in general, just the MFA providers to make it simpler.
Updated by Oliver Hader about 1 month ago
- Category changed from Authentication to Security
- Status changed from New to Accepted
Updated by Oliver Hader about 1 month ago
- Subject changed from Switch backend maintainer re-auth from password to MFA if available to Switch backend maintainer re-auth (sudo-mode) from password to MFA if available
Updated by Gerrit Code Review about 1 month ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88651
Updated by Oliver Hader about 1 month ago
I kick-started to enable MFA in sudo-mode.
The pending todos are described in the change-set on Gerrit (see commit message & todo-comments in sources).
In case anybody wants to pick up this topic, please leave a note here and just pick it up.
I might continue working on this topic in a bunch of days/weeks.
Updated by Oliver Hader about 1 month ago
- Tracker changed from Task to Feature
- TYPO3 Version deleted (
14)