{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-135260","assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","state":"PUBLISHED","assignerShortName":"CIRCL","dateReserved":"2026-11-23T15:45:32.670Z","datePublished":"2026-11-23T15:45:39.525Z","dateUpdated":"2026-11-23T15:45:39.525Z"},"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["app/Controller/UsersController.php","app/Model/Bruteforce.php","app/Console/Command/AdminShell.php"],"product":"MISP","programFiles":[],"repo":"https://github.com/MISP/MISP","vendor":"MISP","versions":[{"lessThan":"2.5.52","status":"affected","version":"0","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*","vulnerable":true}],"negate":false,"operator":"OR"}]}],"credits":[{"lang":"en","type":"reporter","value":"Francois-Xavier Stellamans from the NATO Cyber Security Centre with OpenAI Daybreak support (using GPT5.6-Cyber)"},{"lang":"en","type":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"}],"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."}],"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":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"format":"SSVC","other":{"content":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-23T09:51:26Z","version":"2.0.3"},"type":"SSVC"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-307","description":"CWE-307 Improper Restriction of Excessive Authentication Attempts","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-203","description":"CWE-203 Observable Discrepancy","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-178","description":"CWE-178 Improper Handling of Case Sensitivity","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","shortName":"CIRCL","dateUpdated":"2026-11-23T15:45:39.525Z"},"references":[{"name":"Security patch","tags":["patch"],"url":"https://github.com/MISP/MISP/commit/d349dda9d389842323c457d9bbfdb88166943997"}],"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."}],"title":"MISP Login and OTP Lockout Bypass via Unicode Case Folding and NUL-Byte Password Enumeration","x_gcve":[{"extensions":{"bcp-05-x-01":{"ai_annotations":[{"ai_level":"generated","description":"Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.","gna_source":1,"models":[{"gna_source":1,"identifier":"qwen3.8:27b","name":"qwen3.8:27b","source":"ollama"}],"review_status":"full","scope":"record","tags":["ai-computer-assisted:llm-generated","ai-computer-assisted:classification"]}]},"bcp-05-x-02":{"x_patch2vuln":{"assumptions":["The affected version range is inferred from the explicit context (affected_version 0, fixed_version 2.5.52); the patch itself does not encode version boundaries.","CVSS VI is rated Low rather than High because account takeover requires a successful password guess (brute force) or a specific Unicode alias; it is not an immediate, unconditional authentication bypass.","CVSS VC is rated Low because the NUL-byte enumeration discloses only the existence of an account, not its credentials or data.","CAPEC-65 (Unicode Encoding Issue) is the closest available pattern for the collation-folding authentication bypass; the CAPEC catalogue lacks a dedicated pattern for database-collation-based identity confusion.","The Co-Authored-By line (Claude Opus 5.5) is treated as a tool credit, not a human remediation developer, and is therefore not listed as a credit candidate.","No public PoC or active exploitation is assumed; the patch and commit message do not reference any."],"capecRationale":[{"capecId":"CAPEC-10","rationale":"The lockout bypass directly enables offline or online password guessing against accounts whose address contains a non-ASCII capital letter, and the folded-alias path allows repeated authentication attempts without the counter incrementing. This is the closest CAPEC to the primary exploitation scenario."},{"capecId":"CAPEC-65","rationale":"The root cause of both the lockout bypass and the folded-alias authentication is inconsistent Unicode handling between the application-layer case-fold and the database collation. CAPEC-65 is the best available match for attacks that exploit Unicode encoding discrepancies; the mapping is approximate because the CAPEC catalogue does not have a dedicated pattern for collation-folding authentication bypass."},{"capecId":"CAPEC-15","rationale":"The NUL-byte differential response (500 vs. non-500) allows an unauthenticated attacker to distinguish valid from invalid usernames. CAPEC-15 is the standard pattern for this class of information-disclosure attack."}],"commit":"d349dda9d389842323c457d9bbfdb88166943997","confidence":"high","credits":[{"lang":"en","type":"reporter","value":"Francois-Xavier Stellamans from the NATO Cyber Security Centre with OpenAI Daybreak support (using GPT5.6-Cyber)"},{"lang":"en","type":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"}],"cvssRationale":"AV:N – the login endpoint is network-accessible. AC:L – exploitation requires only submitting a Unicode variant or a NUL byte; no race condition or special timing is needed. AT:N – no prior compromise of a target system is required. PR:N – the attacker is unauthenticated. UI:N – no victim interaction is needed. VC:L – username enumeration via the NUL-byte differential discloses valid account names. VI:L – successful brute-force or folded-alias authentication grants unauthorised access to an account, compromising integrity of that session. VA:N – the NUL-byte 500 error is a single-request anomaly, not a sustained denial of service. SC/SI/SA:N – no secondary-system impact is evidenced.","fixSummary":"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.","generatedAt":"2026-11-23T09:51:26.279101Z","generator":"patch2vuln.py","model":"qwen3.8:27b","modelComparison":{"potentialErrors":[],"rankings":[{"agreementScore":11,"assumptionCount":6,"confidence":"high","model":"qwen3.8:27b","score":7}],"selectedModel":"qwen3.8:27b","selectionMethod":"deterministic-consensus-v1","selectionNotice":"The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."},"patchSha256":"9f1c2c2fa1e32b42eadbc6f29eb8b071ba5311df827a41ef4a213d86a1853afc","patchSummary":"Added a usernameKey() helper in the Bruteforce model that returns mb_strtolower(trim($username)); replaced all prior strtolower(trim(...)) calls in insert() and isBlocklisted() with this helper. In the login controller, added a NUL-byte sanitisation step that replaces the password with an empty string if a NUL byte is present. Added a post-lookup check that compares the canonical form of the submitted email to the canonical form of the stored email; on mismatch the Form authentication scope is overridden to User.id = 0, causing authentication to fail. Updated the admin clear-bruteforce command to use the same canonicalisation. Added a regression test class covering NUL-byte parity, folded-alias rejection, non-ASCII capital lockout, and shared case-variant counters.","patchTruncated":false,"patches":[{"commit":"d349dda9d389842323c457d9bbfdb88166943997","date":"Tue, 17 Nov 2026 20:13:17 +0100","patchSha256":"9f1c2c2fa1e32b42eadbc6f29eb8b071ba5311df827a41ef4a213d86a1853afc","retrievedAt":"2026-11-23T09:50:48.967808Z","source":"https://github.com/MISP/MISP/commit/d349dda9d389842323c457d9bbfdb88166943997","sourceUrl":"https://github.com/MISP/MISP/commit/d349dda9d389842323c457d9bbfdb88166943997","subject":"fix: [security] Login and OTP lockouts count each account"}],"source":"https://github.com/MISP/MISP/commit/d349dda9d389842323c457d9bbfdb88166943997","ssvc":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-23T09:51:26Z","version":"2.0.3"},"subject":"fix: [security] Login and OTP lockouts count each account","weaknessRationale":[{"cweId":"CWE-307","rationale":"The primary defect is that the brute-force lockout counter fails to account for certain Unicode representations of a username, effectively disabling the rate-limiting control for those accounts and permitting unlimited authentication attempts."},{"cweId":"CWE-203","rationale":"A NUL byte in the password field produced a 500 Internal Server Error for a known account but a different response for an unknown account, creating an observable difference that enables username enumeration."},{"cweId":"CWE-178","rationale":"The lockout used a single-byte case-fold that did not handle non-ASCII uppercase letters, while the database collation performed full Unicode case and accent folding, creating a mismatch between the identity used for authentication and the identity used for lockout accounting."}]}},"bcp-05-x-03":{"x_timeline":{"events":[{"description":"Corrective change authored (d349dda9d389842323c457d9bbfdb88166943997): fix: [security] Login and OTP lockouts count each account","id":"evt-fix-developed-1","references":["https://github.com/MISP/MISP/commit/d349dda9d389842323c457d9bbfdb88166943997"],"timestamp":"2026-11-17T19:13:17Z","type":"fix-developed"},{"description":"Patch retrieved from the supplied URL; retrieval time is used as the default availability time.","id":"evt-fix-available-1","references":["https://github.com/MISP/MISP/commit/d349dda9d389842323c457d9bbfdb88166943997"],"timestamp":"2026-11-23T09:50:48.967808Z","type":"fix-available"}]}}},"recordType":"advisory","vulnId":"GCVE-1-2026-20451"}]}}}