MISP MISP application TOTP enforcement bypass via non-browser requests

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-107180?

CVE-2026-107180 is a vulnerability classified as Improper Authentication and Missing Authentication for Critical Functionality, affecting MISP (affected versions: < 2.5.48). This vulnerability is rated High, with a CVSS score of 7.1. Current sources do not report this vulnerability as exploited.

Overview

Original source data

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

Affected products and scope

MISP MISP deployments with Security.otp_required enabled are affected when running versions less than 2.5.48.

  • Product: MISP from vendor MISP.
  • Component: app/Controller/AppController.php, including login, user verification, and TOTP enforcement.
  • Version scope: 0 through less than 2.5.48, using semver.
  • Identities authenticated through API key are an exception in the corrected logic because they are not browser sessions using the redirect-based enrollment flow.

Technical details

The flaw is in the user verification path of app/Controller/AppController.php, which enforces TOTP enrollment for instances with Security.otp_required enabled. The original logic applied the redirect to the TOTP setup page only to ordinary browser requests; REST, AJAX, automation, and other machine-readable requests could not follow that redirect and therefore continued past the guard. Exploitation requires an authenticated user who has not enrolled in TOTP, is not covered by a role allowed to skip OTP, and is not using an API-key-authenticated identity. The initial fix added a ForbiddenException for AJAX requests; the follow-up fix removed the AJAX-only condition and applied the guard to every request that cannot follow the browser redirect while preserving the logged_by_authkey exemption. The available evidence does not define every custom request shape produced by individual deployments, but it explicitly identifies AJAX/XHR, REST API, .json, restSearch, and automation paths.

Exploitability

An attacker needs an authenticated MISP session belonging to a user who has not enrolled in TOTP on an instance that requires TOTP enrollment. The path is network reachable and does not require an additional victim action; the supplied record also identifies low required privileges for the authenticated account. Requests can be sent as machine-readable AJAX/XHR, REST API, .json, restSearch, or automation requests instead of ordinary browser requests. Identities authenticated by API key remain an explicit exception in the corrected logic. The record marks public exploit as false, but known real-world exploitation status is not established by the available evidence.

Technical impact

The technical result is an authentication-policy bypass: an already authenticated session remains usable without completing TOTP enrollment. The scope remains tied to the permissions of the authenticated account, and the available evidence does not show that the flaw creates privilege escalation. Possible consequences include disclosure of data that the account is otherwise permitted to access, particularly when machine-readable requests are used to maintain access over time. The supplied impact data establishes a confidentiality effect but does not establish an integrity or availability effect.

Business impact

The flaw makes the effective state of the TOTP policy unreliable: an authenticated account that has not completed enrollment can continue using functions through non-browser requests. If the account can access threat-intelligence or other sensitive data, data within that account's existing permissions may be accessed without the second factor. REST, AJAX, and automation workflows may continue while the user remains unenrolled, creating an inaccurate view of account protection and compliance. The available evidence does not establish an impact to data integrity or service availability.

Remediation

  1. Upgrade MISP to 2.5.48, the version boundary identified by the record as outside the affected range. Do not infer the status of parallel release branches without separate confirmation.
  2. If an immediate upgrade is not possible, apply the corrective change represented by follow-up commit 6b527ba6e, not only the initial 8deb0619e change. The follow-up change covers every request that cannot follow the browser redirect instead of covering only AJAX.
  3. Confirm that the code in app/Controller/AppController.php rejects requests from unenrolled sessions when Security.otp_required is enabled, with the documented exceptions for logged_by_authkey and roles permitted to skip OTP.
  4. Review users and sessions that have not enrolled in TOTP and accounts that used REST, .json, restSearch, or automation requests. If bypass use is suspected, handle sessions and credentials under the organization's incident response process.

Detection

  1. Inventory MISP instances and identify deployments with Security.otp_required enabled.
  2. Check the running release and verify that app/Controller/AppController.php applies the enrollment guard to all non-browser request shapes, not only AJAX requests.
  3. Review authenticated users who have no TOTP enrollment state, while separately identifying accounts with perm_skip_otp or logged_by_authkey, because those conditions affect the guard.
  4. Review telemetry or access logs, where the deployment records them, for unenrolled sessions using AJAX/XHR, REST API, .json, restSearch, or automation requests. This is precautionary monitoring, not a confirmed indicator of compromise.
  5. In a controlled test environment, verify that a machine-readable request from an unenrolled session is rejected with 403 Forbidden. Do not treat the absence of such events in logs as proof that the instance is safe.
Sources (14)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.