CVE-2026-107180 PUBLISHED

MISP: Forced TOTP Enrolment Bypassed via Non-Browser Request Types on otp_required Instances

Assigner: CIRCL
Reserved: 07.10.2026 Published: 07.10.2026 Updated: 07.10.2026

On MISP instances configured to require TOTP enrolment (Security.otp_required), the enforcement of the mandatory two-factor authentication setup applied only to standard browser requests. An authenticated user who had not yet enrolled in TOTP could bypass the forced setup by issuing any non-browser request type, including AJAX/XHR calls, REST API requests, .json format URLs, restSearch queries, or automation actions. Because these machine-readable request shapes cannot follow the redirect that the browser path uses to send the user to the TOTP enrolment page, the guard simply skipped the check and the user retained full access to the instance without completing the required second-factor setup.

The initial fix (commit 8deb0619e) added a guard specifically for AJAX requests. A follow-up fix (commit 6b527ba6e) broadened the guard to cover every non-browser request shape, while preserving the exemption for identities authenticated via API key (logged_by_authkey flag).

Impact: an authenticated user on an otp_required instance can operate with full access indefinitely without enrolling in TOTP, nullifying the instance-level two-factor authentication policy.

Affected version: <2.5.48

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor MISP
Product MISP
Versions
  • affected from 0 to 2.5.48 (excl.)

Solutions

The TOTP enrolment enforcement in the user verification path was extended from covering only standard browser requests to covering all non-browser request types (AJAX, REST, .json, automation). Any request that cannot follow the browser redirect to the TOTP setup page is now refused with a 403 Forbidden response if the user has not enrolled in TOTP and the instance requires it. Identities authenticated via API key remain exempt, as they are not browser sessions subject to the redirect-based enrolment flow.

Credits

  • Tanguy Snoeck reporter
  • iglocska remediation developer
  • Claude Opus 4.8 remediation developer
  • Claude Opus 5 remediation developer

References

Problem Types

  • CWE-287 Improper Authentication CWE
  • CWE-306 Missing Authentication for Critical Function CWE

Impacts

  • CAPEC-128 Exploiting Incorrectly Configured Access Control