Description
In MISP's UsersController login() method, the pre-authentication database query used for the TOTP (two-factor authentication) verification branch did not include the User.disabled column in its SELECT fields list. The query selected only User.password, User.totp, and User.hotp_counter. When the TOTP branch subsequently accessed $unauth_user['User']['disabled'], the key was absent from the result set, producing a PHP 'Undefined array key' warning and causing the expression to evaluate as null (falsy). As a result, the disabled-user guard in the TOTP branch was effectively a no-op: a disabled, TOTP-enrolled user could proceed to the TOTP verification step rather than being rejected at that point. 

The commit message explicitly states this was 'harmless in practice' because the subsequent identify() call re-validates the user and would still reject a disabled account. 

The practical security impact is therefore minimal, limited to a very small information-disclosure difference in the login response (a TOTP prompt is presented instead of an immediate rejection) and a PHP warning in application logs.
Published: 2026-09-22
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Authorization Bypass
Action: Assess Impact
AI Analysis

Impact

In the MISP UsersController login flow, the TOTP branch performed a pre‑authentication database query that omitted the User.disabled column. Because the result set lacked the disabled key, the subsequent check treated the missing value as null, effectively bypassing the disabled‑user guard. The effect is that a user whose account is disabled and who has TOTP enrollment can reach the TOTP prompt instead of being immediately denied. The only practical consequences are a minor difference in the login response and a PHP warning emitted to application logs. No remote code execution or privilege escalation is possible, and the intent of the authentication flow remains intact after the final identify() validation.

Affected Systems

The flaw exists in the MISP platform, specifically the MISP MISP product. All released releases prior to the patched commit are affected; the vendor has provided a fix that adds the User.disabled field to the pre‑authentication query.

Risk and Exploitability

The CVSS score of 6.9 indicates a medium severity vulnerability. The EPSS score is not available, and the flaw is not listed in CISA KEV, suggesting that it is not known to be actively exploited in the wild. Attackers would need to supply valid credentials for a disabled account that has TOTP enabled, which is a relatively low‑probability scenario. Consequently, the overall risk is low to medium, with the primary impact being the visibility of a PHP warning and a small information disclosure in the login prompt.

Generated by OpenCVE AI on September 22, 2026 at 17:43 UTC.

Remediation

Vendor Solution

The fix adds User.disabled to the fields array of the pre-authentication find() query so that the disabled-user check in the TOTP branch reads the actual column value and correctly rejects disabled users before they reach the TOTP verification step, restoring the intended guard behavior.


OpenCVE Recommended Actions

  • Apply the vendor patch that adds the User.disabled field to the pre‑authentication query.
  • Restart the MISP service so that the patched code is loaded into memory.
  • Update the PHP configuration to suppress warnings so that application logs are not cluttered with PHP 'Undefined array key' messages.

Generated by OpenCVE AI on September 22, 2026 at 17:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 22 Sep 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Misp
Misp misp
Vendors & Products Misp
Misp misp

Tue, 22 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Description In MISP's UsersController login() method, the pre-authentication database query used for the TOTP (two-factor authentication) verification branch did not include the User.disabled column in its SELECT fields list. The query selected only User.password, User.totp, and User.hotp_counter. When the TOTP branch subsequently accessed $unauth_user['User']['disabled'], the key was absent from the result set, producing a PHP 'Undefined array key' warning and causing the expression to evaluate as null (falsy). As a result, the disabled-user guard in the TOTP branch was effectively a no-op: a disabled, TOTP-enrolled user could proceed to the TOTP verification step rather than being rejected at that point.  The commit message explicitly states this was 'harmless in practice' because the subsequent identify() call re-validates the user and would still reject a disabled account.  The practical security impact is therefore minimal, limited to a very small information-disclosure difference in the login response (a TOTP prompt is presented instead of an immediate rejection) and a PHP warning in application logs.
Title MISP: Disabled-user check ineffective in pre-authentication TOTP login branch
Weaknesses CWE-285
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-09-22T15:53:14.911Z

Reserved: 2026-09-22T14:53:53.341Z

Link: CVE-2026-95754

cve-icon Vulnrichment

Updated: 2026-09-22T15:53:10.884Z

cve-icon NVD

Status : Deferred

Published: 2026-09-22T15:17:28.530

Modified: 2026-09-22T16:18:24.163

Link: CVE-2026-95754

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T17:45:17Z

Weaknesses