MISP Galaxy Import Authorization Bypass Allows Unauthorized Overwrite of Default and Other Organizations' Galaxies
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| misp | misp | affected |
|
No data.
No data.
No data available yet.
Vendor Solution
The fix introduces an object-level authorization check (__mayUpdateCapturedGalaxy) that enforces three rules before any existing galaxy record is modified: default galaxies are never updatable via import or sync; non-default galaxies may only be updated by a site admin, the owning organization, or a sync user who has visibility on the record. The role-level permission check is moved before the captureOrganisationAndSG() call so that no organization or sharing-group data is captured for an unauthorized user. When an update is permitted, the org_id, orgc_id, and default fields are explicitly excluded from the write, preventing ownership transfer or default-flag demotion even by authorized updaters.
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Link | Providers |
|---|---|
| https://github.com/MISP/MISP/commit/fc1ce99a6 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | MISP contains an authorization bypass vulnerability in the Galaxy import/sync functionality (captureGalaxy in app/Model/Galaxy.php). The captureGalaxy() method matched an incoming galaxy payload to an existing galaxy by UUID and unconditionally overwrote the matched record, regardless of whether the importing user belonged to the owning organization or whether the galaxy was a system-provided default galaxy. Any authenticated user holding the perm_galaxy_editor role could therefore: (1) demote a default galaxy by setting its default flag to false, (2) reassign the galaxy's org_id and orgc_id to the attacker's organization, effectively taking ownership, and (3) modify other galaxy fields (name, description, distribution, version). Additionally, the role-level permission check (perm_site_admin or perm_galaxy_editor) was executed after the captureOrganisationAndSG() call, meaning organization and sharing-group data was already captured before the authorization decision was made. The vulnerability requires an authenticated user with the perm_galaxy_editor role and the ability to submit a galaxy import payload containing a UUID that matches an existing galaxy. The security impact is loss of data integrity across the MISP instance: default galaxy definitions are corrupted, cross-organization ownership is silently transferred, and the integrity of shared threat-intelligence galaxy metadata is compromised for all users of the instance. | |
| Title | MISP Galaxy Import Authorization Bypass Allows Unauthorized Overwrite of Default and Other Organizations' Galaxies | |
| First Time appeared |
Misp
Misp misp |
|
| Weaknesses | CWE-639 CWE-862 |
|
| CPEs | cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Misp
Misp misp |
|
| References |
| |
| Metrics |
cvssV4_0
|
No data.
No data.
No data.
No data.