CVE-2026-135260 PUBLISHED

MISP Login and OTP Lockout Bypass via Unicode Case Folding and NUL-Byte Password Enumeration

Assigner: CIRCL
Reserved: 23.11.2026 Published: 23.11.2026 Updated: 23.11.2026

MISP contains multiple flaws in its login and one-time-password (OTP) brute-force lockout mechanism that collectively weaken authentication protection.

  • Lockout counter bypass: the lockout stored and matched usernames using a single-byte case-fold function. An email address containing a non-ASCII capital letter (for example a Latin-1 or Cyrillic uppercase) was never counted toward the lockout threshold, allowing unlimited failed login attempts against that account.
  • Collation-folding authentication bypass: the database collation performs accent and width folding, so a Unicode variant of a valid address (e.g. a different diacritic or a full-width character) resolved to the same account during authentication while the lockout treated it as a distinct, untracked identity. An attacker could therefore authenticate as the target user using a folded alias without triggering the lockout.
  • Username enumeration via NUL byte: submitting a password containing a NUL byte caused the hashing routine to raise an exception, producing an HTTP 500 response for a known account but a different response for an unknown one, disclosing valid usernames.

Preconditions: the target MISP instance is reachable over the network and the login endpoint is exposed. No prior authentication is required.

Security impact: an unauthenticated attacker can perform unlimited password-guessing against accounts whose address contains a non-ASCII capital, can authenticate as a user via a Unicode-folded alias, and can enumerate valid usernames. Successful exploitation leads to account takeover.

Affected: MISP versions prior to 2.5.52.

Metrics

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

Product Status

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

Solutions

The lockout now stores and matches usernames using a multi-byte-aware case-fold (mb_strtolower with trim), ensuring all Unicode case variants are counted under a single key. Before authentication, the submitted address is canonicalised and compared to the stored address; if they differ only by collation folding (accent or width), the authentication scope is forced to a non-matching condition so the attempt fails as an unknown account. A NUL byte in the password field is stripped before hashing, eliminating the differential 500 response that enabled username enumeration.

Credits

  • Francois-Xavier Stellamans from the NATO Cyber Security Centre with OpenAI Daybreak support (using GPT5.6-Cyber) reporter
  • iglocska remediation developer
  • Claude Opus 5.5 remediation developer

References

Problem Types

  • CWE-307 Improper Restriction of Excessive Authentication Attempts CWE
  • CWE-203 Observable Discrepancy CWE
  • CWE-178 Improper Handling of Case Sensitivity CWE

Impacts

  • CAPEC-10 Password Guessing
  • CAPEC-65 Unicode Encoding Issue
  • CAPEC-15 User Enumeration