#106380Switch backend maintainer re-auth (sudo-mode) from password to MFA if available
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.
Reviews 1
Related issues 1
History 56
-
Oliver Hader changed category status
NewAccepted <span data-processor="relativetime" data-value="2025-03-18T17:10:18+00:00" > 03/18/25, 17:10 </span> -
Oliver Hader changed subject
Switch backend maintainer re-auth from password to MFA if availableSwitch backend maintainer re-auth (sudo-mode) from password to MFA if available <span data-processor="relativetime" data-value="2025-03-18T17:11:28+00:00" > 03/18/25, 17:11 </span> -
Gerrit Code Review pushed patch set 1 for main to change 88651 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2025-03-19T12:33:52+00:00" > 03/19/25, 12:33 </span> -
Oliver Hader changed tracker
TaskFeature TYPO3 Version14<span data-processor="relativetime" data-value="2025-03-19T12:36:29+00:00" > 03/19/25, 12:36 </span> -
Garvin Hicking changed Related to #107153 <span data-processor="relativetime" data-value="2025-07-28T09:57:22+00:00" > 07/28/25, 09:57 </span>
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.