2026-11-23 15:45CVE-2026-135260CIRCL
PUBLISHED5.2ApplicationCWE-307CWE-203CWE-178

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

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.

Problem type

Affected products

MISP

MISP

< 2.5.52 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-135260
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-135260",
    "assignerOrgId": "5a6e4751-2f3f-4070-9419-94fb35b644e8",
    "assignerShortName": "CIRCL",
    "dateUpdated": "2026-11-23T15:45:39.525Z",
    "dateReserved": "2026-11-23T15:45:32.670Z",
    "datePublished": "2026-11-23T15:45:39.525Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "5a6e4751-2f3f-4070-9419-94fb35b644e8",
        "shortName": "CIRCL",
        "dateUpdated": "2026-11-23T15:45:39.525Z"
      },
      "title": "MISP Login and OTP Lockout Bypass via Unicode Case Folding and NUL-Byte Password Enumeration",
      "descriptions": [
        {
          "lang": "en",
          "value": "MISP contains multiple flaws in its login and one-time-password (OTP) brute-force lockout mechanism that collectively weaken authentication protection.\n\n- 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.\n- 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.\n- 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.\n\nPreconditions: the target MISP instance is reachable over the network and the login endpoint is exposed. No prior authentication is required.\n\nSecurity 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.\n\nAffected: MISP versions prior to 2.5.52."
        }
      ],
      "affected": [
        {
          "vendor": "MISP",
          "product": "MISP",
          "cpes": [
            "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "app/Controller/UsersController.php",
            "app/Model/Bruteforce.php",
            "app/Console/Command/AdminShell.php"
          ],
          "programFiles": [],
          "repo": "https://github.com/MISP/MISP",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "2.5.52"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-307 Improper Restriction of Excessive Authentication Attempts",
              "cweId": "CWE-307",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-203 Observable Discrepancy",
              "cweId": "CWE-203",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-178 Improper Handling of Case Sensitivity",
              "cweId": "CWE-178",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/MISP/MISP/commit/d349dda9d389842323c457d9bbfdb88166943997",
          "name": "Security patch",
          "tags": [
            "patch"
          ]
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-10",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-10 Password Guessing"
            }
          ]
        },
        {
          "capecId": "CAPEC-65",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-65 Unicode Encoding Issue"
            }
          ]
        },
        {
          "capecId": "CAPEC-15",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-15 User Enumeration"
            }
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "SSVC",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "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": [
        {
          "lang": "en",
          "value": "Francois-Xavier Stellamans from the NATO Cyber Security Centre with OpenAI Daybreak support (using GPT5.6-Cyber)",
          "type": "reporter"
        },
        {
          "lang": "en",
          "value": "iglocska",
          "type": "remediation developer"
        },
        {
          "lang": "en",
          "value": "Claude Opus 5.5",
          "type": "remediation developer"
        }
      ]
    }
  }
}