Project

General

Profile

Actions

Feature #106380

open

Switch backend maintainer re-auth (sudo-mode) from password to MFA if available

Added by J. Peter M. Schuler about 1 month ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Security
Target version:
-
Start date:
2025-03-18
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

Actions #1

Updated by Oliver Hader about 1 month ago

  • Category changed from Authentication to Security
  • Status changed from New to Accepted
Actions #2

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
Actions #3

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

Actions #4

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.

Actions #5

Updated by Oliver Hader about 1 month ago

  • Tracker changed from Task to Feature
  • TYPO3 Version deleted (14)
Actions

Also available in: Atom PDF