Issue Bug Closed

#109058Infinite loop in PasswordVerification class

Sven Wappler 02/22/26, 02:07 updated 03/31/26, 08:11

Description

In class TYPO3\CMS\Backend\Security\SudoMode\PasswordVerification was this added to method getAuthServices():

if (!$service instanceof AuthenticationService) {
  continue;
}

Premature termination prevents the serviceKey from ever being added to the $excludeServiceKeys in makeInstanceService if a service is not extended from the AuthenticationService class, but rather from AbstractAuthenticationService, for example. This leads to an infinite loop. It might be better to test for the AbstractAuthenticationService class here.

Reviews 2