Timing attack in eZ Platform Ibexa
Date: 2023-03
Affected: composer/ezsystems/ezpublish-kernel, composer/ezsystems/ezplatform-kernel
Attack vector: other
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2022-48366
CWE: CWE-208
CWE-362
CVSS: 3.7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N)

Ibexa DXP is using random execution time to hinder timing attacks against user accounts, a method of discovering whether a given account exists in a system without knowing its password, thus affecting privacy. This implementation was found to not be good enough in some situations. The fix replaces this with constant time functionality, configured in the new security.yml parameter 'ibexa.security.authentication.constant_auth_time'. It will log a warning if the constant time is exceeded. If this happens the setting should be increased.


Mitigations:

Architectural layers (MAESTRO):