{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-135245","assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","state":"PUBLISHED","assignerShortName":"CIRCL","dateReserved":"2026-11-23T15:41:45.508Z","datePublished":"2026-11-23T15:41:50.274Z","dateUpdated":"2026-11-23T15:41:50.274Z"},"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["LdapAuth plugin","ApacheSecureAuth component"],"product":"MISP","programFiles":["app/Plugin/LdapAuth/Controller/Component/Auth/LdapAuthenticate.php","app/Controller/Component/Auth/ApacheAuthenticate.php"],"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":"ENISA"},{"lang":"en","type":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"}],"descriptions":[{"lang":"en","value":"MISP's LDAP authentication components (LdapAuth plugin and Apache LDAP authentication) unconditionally re-enabled user accounts that had been disabled by an administrator. During the user provisioning or update step of an LDAP login, the disabled flag was reset to enabled regardless of the account's current state.\n\nThis allowed any user with valid LDAP credentials to bypass an administrative disable action simply by authenticating, effectively nullifying the ability to revoke access through account deactivation.\n\n- Affects the LdapAuth plugin and the ApacheSecureAuth component\n- The insecure behavior was the default; no special configuration was required to trigger it\n- An administrator's decision to disable a user (e.g., after a security incident or employee departure) could be reversed by the user's next successful LDAP login\n\nAffected versions: MISP prior to 2.5.52"}],"impacts":[{"capecId":"CAPEC-12","descriptions":[{"lang":"en","value":"CAPEC-12 Application Configuration Error"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.3,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","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:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","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:44:20Z","version":"2.0.3"},"type":"SSVC"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","description":"CWE-285 Improper Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","shortName":"CIRCL","dateUpdated":"2026-11-23T15:41:50.274Z"},"references":[{"name":"Security patch","tags":["patch"],"url":"https://github.com/MISP/MISP/commit/e4969281678f60ce3f53bf0c7c9751848af7ed33"}],"solutions":[{"lang":"en","value":"The fix introduces an 'unblock' configuration option (default: false) to both the LdapAuth plugin and ApacheSecureAuth component. When unblock is false (the new default), a disabled user is refused authentication after the user record update, and the disabled flag is preserved. When explicitly set to true, the previous re-enable-on-login behavior is restored. A new test suite validates that disabled users are refused by default and that the unblock option correctly restores the legacy behavior."}],"title":"MISP LDAP Authentication Bypasses Disabled User Status on Login","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 enumerate all affected versions.","CVSS PR:L assumes the attacker already possesses valid LDAP credentials for a disabled MISP account; if credential theft is a prerequisite, the effective attack complexity may be higher.","CAPEC-12 is the closest available mapping; the vulnerability is more precisely an insecure default in authentication logic rather than a pure configuration error.","The CVSS impact metrics (VI:L) reflect the direct modification of the disabled flag; the downstream impact of a re-enabled user accessing data is not separately scored.","The commit date (2026-11-16) and fixed version (2.5.52) are taken from the supplied metadata; no independent verification of version boundaries was performed."],"capecRationale":[{"capecId":"CAPEC-12","rationale":"The insecure behavior (unconditional re-enable of disabled users on LDAP login) was the default configuration. No attacker action beyond a normal login was needed; the default code path was the vulnerable path. CAPEC-12 is the closest available match because the vulnerability stemmed from an insecure default behavior in the application's authentication logic. Uncertainty: this is more precisely a code logic flaw than a pure configuration error, but no CAPEC entry specifically covers 'insecure default authentication behavior that bypasses authorization state.'"}],"commit":"e4969281678f60ce3f53bf0c7c9751848af7ed33","confidence":"medium","credits":[{"lang":"en","type":"reporter","value":"ENISA"},{"lang":"en","type":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"}],"cvssRationale":"AV:N: MISP is a web application accessible over the network. AC:L: exploitation requires only a standard LDAP login with valid credentials; no race conditions or special timing. AT:N: no manipulation of the attack target is needed. PR:L: valid LDAP credentials for a disabled MISP account are required. UI:N: no user interaction beyond the attacker's own login. VC:N: the vulnerability does not directly expose new confidential data; the attacker already possesses valid credentials. VI:L: the integrity impact is limited to the disabled flag being modified (authorization state compromised). VA:N: no availability impact on the MISP service itself. SC/SI/SA:N: no secondary system impact is evidenced.","fixSummary":"The fix introduces an 'unblock' configuration option (default: false) to both the LdapAuth plugin and ApacheSecureAuth component. When unblock is false (the new default), a disabled user is refused authentication after the user record update, and the disabled flag is preserved. When explicitly set to true, the previous re-enable-on-login behavior is restored. A new test suite validates that disabled users are refused by default and that the unblock option correctly restores the legacy behavior.","generatedAt":"2026-11-23T09:44:20.697621Z","generator":"patch2vuln.py","model":"qwen3.8:27b","modelComparison":{"potentialErrors":[],"rankings":[{"agreementScore":11,"assumptionCount":5,"confidence":"medium","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":"41eb2de951a9c37e92d71417fd8b106944a7445a92ad7187dc265ca626c017d4","patchSummary":"Modified LdapAuthenticate.php and ApacheAuthenticate.php to check the user's disabled status before saving and to refuse authentication (return false or throw UnauthorizedException) when the user is disabled and the unblock option is not set. Added the unblock configuration option to config.default.php and the LdapAuth README. Added a new test file LdapAuthDisabledUserTest.php with four test cases covering disabled user refusal, role/org update on refusal, re-enable with unblock=true, and normal enabled user flow.","patchTruncated":false,"patches":[{"commit":"e4969281678f60ce3f53bf0c7c9751848af7ed33","date":"Mon, 16 Nov 2026 17:18:57 +0100","patchSha256":"41eb2de951a9c37e92d71417fd8b106944a7445a92ad7187dc265ca626c017d4","retrievedAt":"2026-11-23T09:43:30.969350Z","source":"https://github.com/MISP/MISP/commit/e4969281678f60ce3f53bf0c7c9751848af7ed33","sourceUrl":"https://github.com/MISP/MISP/commit/e4969281678f60ce3f53bf0c7c9751848af7ed33","subject":"fix: [security] LDAP logins no longer re-enable users"}],"source":"https://github.com/MISP/MISP/commit/e4969281678f60ce3f53bf0c7c9751848af7ed33","ssvc":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-23T09:44:20Z","version":"2.0.3"},"subject":"fix: [security] LDAP logins no longer re-enable users","weaknessRationale":[{"cweId":"CWE-285","rationale":"The authentication flow unconditionally overrode the administrator's authorization decision (disabled status) by resetting the disabled flag to 0 during user provisioning. The system failed to enforce the authorization state set by an administrator, allowing a disabled user to self-re-enable."}]}},"bcp-05-x-03":{"x_timeline":{"events":[{"description":"Corrective change authored (e4969281678f60ce3f53bf0c7c9751848af7ed33): fix: [security] LDAP logins no longer re-enable users","id":"evt-fix-developed-1","references":["https://github.com/MISP/MISP/commit/e4969281678f60ce3f53bf0c7c9751848af7ed33"],"timestamp":"2026-11-16T16:18:57Z","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/e4969281678f60ce3f53bf0c7c9751848af7ed33"],"timestamp":"2026-11-23T09:43:30.969350Z","type":"fix-available"}]}}},"recordType":"advisory","vulnId":"GCVE-1-2026-20439"}]}}}