{"id":"CVE-2026-133177","state":"PUBLISHED","title":"MISP: Insufficient Authorization Allows Sync Users and External Feeds to Overwrite Organisation Details","description":"MISP contains an authorization flaw in the sharing group capture logic. When a sharing group is re-captured with a newer modified timestamp and an updated roster, the application unconditionally overwrote the type, nationality, sector, and contacts fields of every organisation listed in the roster, including the host organisation. This behaviour was reachable by any user holding the perm_sync role, and additionally by any external server pulled from or any feed fetched, because those operations execute with the privileges of the site administrator who initiated them. As a result, a low-privileged sync user or a malicious/compromised external feed or pull source could silently corrupt organisation records on the receiving MISP instance without any site-admin or internal-sync authorization. The vulnerability does not disclose data or affect availability; the impact is limited to integrity of organisation metadata (type, nationality, sector, contacts). The fix restricts organisation detail updates to internal sync operations (pulls over links flagged as internal, or senders holding perm_sync_internal) and site administrators; all other sync, pull, and feed operations may only match existing organisations by UUID or create new ones, without modifying their stored details.","publishedAt":"2026-11-19T14:11:36.093Z","updatedAt":"2026-11-19T14:47:51.499Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"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","source":"CIRCL"},"assigner":"CIRCL","products":["MISP MISP"],"affected":[{"vendor":"MISP","product":"MISP","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.5.51","versionType":"semver"}],"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["app/Model/SharingGroup.php","app/Model/Feed.php","app/Model/Server.php"],"programFiles":["app/Model/SharingGroup.php","app/Model/Feed.php","app/Model/Server.php"],"repo":"https://github.com/MISP/MISP"}],"references":["https://github.com/MISP/MISP/commit/28120b549"],"weaknesses":["CWE-862","CWE-285"],"ingestedAt":"2026-11-19T14:58:05.750Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/133xxx/CVE-2026-133177.json","commit":"b9804d6888d88c212ca13d9c1a2ebfec992b78fc","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133177","state":"PUBLISHED","datePublished":"2026-11-19T14:11:36.093Z","dateUpdated":"2026-11-19T14:47:51.499Z","assignerShortName":"CIRCL","assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","dateReserved":"2026-11-19T14:11:33.323Z"},"containers":{"cna":{"title":"MISP: Insufficient Authorization Allows Sync Users and External Feeds to Overwrite Organisation Details","descriptions":[{"lang":"en","value":"MISP contains an authorization flaw in the sharing group capture logic. When a sharing group is re-captured with a newer modified timestamp and an updated roster, the application unconditionally overwrote the type, nationality, sector, and contacts fields of every organisation listed in the roster, including the host organisation. This behaviour was reachable by any user holding the perm_sync role, and additionally by any external server pulled from or any feed fetched, because those operations execute with the privileges of the site administrator who initiated them. As a result, a low-privileged sync user or a malicious/compromised external feed or pull source could silently corrupt organisation records on the receiving MISP instance without any site-admin or internal-sync authorization. The vulnerability does not disclose data or affect availability; the impact is limited to integrity of organisation metadata (type, nationality, sector, contacts). The fix restricts organisation detail updates to internal sync operations (pulls over links flagged as internal, or senders holding perm_sync_internal) and site administrators; all other sync, pull, and feed operations may only match existing organisations by UUID or create new ones, without modifying their stored details."}],"affected":[{"vendor":"MISP","product":"MISP","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.5.51","versionType":"semver"}],"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["app/Model/SharingGroup.php","app/Model/Feed.php","app/Model/Server.php"],"programFiles":["app/Model/SharingGroup.php","app/Model/Feed.php","app/Model/Server.php"],"repo":"https://github.com/MISP/MISP"}],"references":[{"url":"https://github.com/MISP/MISP/commit/28120b549","name":"Security patch","tags":["patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","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","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"format":"SSVC","scenarios":[{"lang":"en","value":"GENERAL"}],"other":{"type":"SSVC","content":{"version":"2.0.3","role":"Supplier","timestamp":"2026-11-19T14:09:16Z","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}]}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"CWE-862 Missing Authorization","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-285","lang":"en","description":"CWE-285 Improper Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"CIRCL","orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","dateUpdated":"2026-11-19T14:11:36.093Z"},"x_gcve":[{"recordType":"advisory","extensions":{"bcp-05-x-01":{"ai_annotations":[{"scope":"record","gna_source":1,"tags":["ai-computer-assisted:llm-generated","ai-computer-assisted:classification"],"description":"Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.","ai_level":"generated","review_status":"full","models":[{"name":"qwen3.8:27b","gna_source":1,"source":"ollama","identifier":"qwen3.8:27b"}]}]},"bcp-05-x-02":{"x_patch2vuln":{"generator":"patch2vuln.py","generatedAt":"2026-11-19T14:09:16.804907Z","model":"qwen3.8:27b","source":"https://github.com/MISP/MISP/commit/28120b549.patch","patchSha256":"d09428c54d1d346e930e8bbf886cda9a96e024ec1011f70637284aae96a11a6f","patchTruncated":false,"commit":"28120b549f6b3949d7354731cd483cc1e436cf8c","subject":"fix: [security] Regular sync, pulls and feeds no longer edit","patches":[{"source":"https://github.com/MISP/MISP/commit/28120b549.patch","sourceUrl":"https://github.com/MISP/MISP/commit/28120b549.patch","patchSha256":"d09428c54d1d346e930e8bbf886cda9a96e024ec1011f70637284aae96a11a6f","commit":"28120b549f6b3949d7354731cd483cc1e436cf8c","subject":"fix: [security] Regular sync, pulls and feeds no longer edit","date":"Thu, 12 Nov 2026 09:26:34 +0100","retrievedAt":"2026-11-19T14:08:29.143191Z"}],"confidence":"medium","assumptions":["The affected MISP version range is not specified in the patch; the fix is applied to the main development branch and the exact version boundary is unknown.","PR:L assumes the attacker holds a sync user account (perm_sync) or controls an external feed/pull source; if the attacker must first compromise a feed, the effective privilege requirement could be higher.","VI:L assumes that overwriting organisation metadata (type, nationality, sector, contacts) constitutes a limited integrity impact; if downstream consumers rely on these fields for access decisions, the impact could be higher.","CAPEC-114 is selected as the closest available pattern; no CAPEC specifically models data-integrity abuse through a replication/sync channel, so the mapping is approximate.","The Co-Authored-By line credits Claude Opus 5.5 as a remediation developer; this is recorded as it appears in the commit metadata but the role is inferred from the co-authorship context.","AT:N assumes no special conditions on the target are needed beyond a standard MISP deployment with sync, pull, or feed functionality enabled."],"fixSummary":"The fix introduces a privilege gate on organisation detail updates during sharing group capture. A new static context flag (captureRemote) is set by Feed and Server pull code paths to indicate whether the capture originates from an internal link. A new authorization check (__mayUpdateOrgDetails) permits overwriting organisation fields only when the operation is an internal sync or the acting user holds perm_site_admin or perm_sync_internal. All other sync, pull, and feed operations are restricted to matching or creating organisations without editing their existing details.","patchSummary":"In SharingGroup.php, a static $remoteCapture flag and captureRemote() wrapper are added; captureSG() now computes an $updateOrgDetails boolean via __mayUpdateOrgDetails() and passes it to captureSGOrgs(), which forwards it to Organisation::captureOrg() instead of the previous $force parameter. Feed.php wraps both downloadAndSaveEventFromFeed() and downloadFromFeedInitiator() in SharingGroup::captureRemote(false, ...). Server.php refactors pull() to detect the internal flag from the server record and wraps the actual pull in SharingGroup::captureRemote($internal, ...). A regression test class (OrganisationDetailsSyncScope) in tests/testregressions.py verifies that a plain sync user cannot modify org details, while an internal-sync user and a site admin can.","credits":[{"lang":"en","value":"ENISA","type":"reporter"},{"lang":"en","value":"iglocska","type":"remediation developer"},{"lang":"en","value":"Claude Opus 5.5","type":"remediation developer"}],"cvssRationale":"AV:N: MISP is a network-accessible web application; sync, pull, and feed operations occur over HTTP. AC:L: exploitation requires only pushing a sharing group with a newer modified date and a roster containing modified organisation details; no race conditions or special timing are needed. AT:N: no attack-target manipulation is required. PR:L: the attacker needs a low-privileged sync user account (perm_sync) or control of an external feed/pull source; no admin credentials are required. UI:N: no user interaction is needed; the overwrite occurs automatically during capture. VC:N: no confidential data is disclosed. VI:L: organisation metadata (type, nationality, sector, contacts) can be silently altered, a limited integrity impact. VA:N: no availability impact. SC/SI/SA:N: the impact is confined to the MISP instance's own organisation records with no cross-scope effect.","ssvc":{"version":"2.0.3","role":"Supplier","timestamp":"2026-11-19T14:09:16Z","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}]},"weaknessRationale":[{"cweId":"CWE-862","rationale":"The sharing group capture path performed organisation detail updates without checking whether the acting user or data source was authorized to modify those fields. Any sync user, external feed, or non-internal pull could overwrite organisation records, indicating a missing authorization check on the write operation."},{"cweId":"CWE-285","rationale":"The authorization model did not distinguish between creating/matching an organisation and editing its details during sync, pull, or feed operations. The privilege boundary between regular sync users and internal-sync/site-admin users was not enforced for organisation field updates."}],"capecRationale":[{"capecId":"CAPEC-114","rationale":"The application incorrectly adjusted the effective privilege level during sync, pull, and feed operations: external data sources and low-privileged sync users were granted the ability to modify organisation records that should have been restricted to site admins or internal-sync users. The attacker exploits this over-privileged code path by pushing a sharing group roster containing modified organisation details. CAPEC-114 is the closest match because the core issue is that the application's privilege model did not correctly scope what operations a given role or data source may perform on organisation records. Uncertainty: no CAPEC pattern specifically describes data-integrity abuse via a sync/replication channel, so CAPEC-114 is selected as the best available approximation."}],"draft":false,"modelComparison":{"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.","rankings":[{"model":"qwen3.8:27b","score":6,"agreementScore":11,"confidence":"medium","assumptionCount":6}],"potentialErrors":[]}}},"bcp-05-x-03":{"x_timeline":{"events":[{"type":"fix-developed","timestamp":"2026-11-12T08:26:34Z","description":"Corrective change authored (28120b549f6b3949d7354731cd483cc1e436cf8c): fix: [security] Regular sync, pulls and feeds no longer edit","references":["https://github.com/MISP/MISP/commit/28120b549.patch"],"id":"evt-fix-developed-1"},{"id":"evt-fix-available-1","type":"fix-available","timestamp":"2026-11-19T14:08:29.143191Z","description":"Patch retrieved from the supplied URL; retrieval time is used as the default availability time.","references":["https://github.com/MISP/MISP/commit/28120b549.patch"]}]}}},"vulnId":"gcve-1-2026-20326"}],"solutions":[{"lang":"en","value":"The fix introduces a privilege gate on organisation detail updates during sharing group capture. A new static context flag (captureRemote) is set by Feed and Server pull code paths to indicate whether the capture originates from an internal link. A new authorization check (__mayUpdateOrgDetails) permits overwriting organisation fields only when the operation is an internal sync or the acting user holds perm_site_admin or perm_sync_internal. All other sync, pull, and feed operations are restricted to matching or creating organisations without editing their existing details."}],"impacts":[{"capecId":"CAPEC-114","descriptions":[{"lang":"en","value":"CAPEC-114 Exploiting Incorrectly Adjusted Privileges"}]}],"credits":[{"lang":"en","value":"ENISA","type":"reporter"},{"lang":"en","value":"iglocska","type":"remediation developer"},{"lang":"en","value":"Claude Opus 5.5","type":"remediation developer"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*","versionStartIncluding":"0","versionEndIncluding":"2.5.51"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-19T14:47:40.774810Z","id":"CVE-2026-133177","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-19T14:47:51.499Z"}}]}}}