CVE-2026-135243 — MISP — CWE-639 · CWE-862
MISP contains an authorization bypass vulnerability in the handling of sightings during server synchronization and bulk operations. The vulnerability allows a remote attacker with access to a synchronized MISP instance to pull sightings for events that are not shared with their organization or community. The sighting pull mechanism previously executed with elevated privileges and accepted event identifiers without verifying that the local event was authorized for sharing with the remote server. Additionally, the bulk save functionality for sightings did not strictly enforce that the attributes referenced in the request belonged to the specific event specified in the URL, allowing an attacker to associate sightings with unauthorized events by referencing attributes from other events. This can lead to unauthorized disclosure of threat intelligence data and integrity issues where sightings are incorrectly attributed to events the attacker should not access. The issue was reported by ENISA and fixed in version 2.5.52.
MISP contains an authorization bypass vulnerability in the handling of sightings during server synchronization and bulk operations. The vulnerability allows a remote attacker with access to a synchronized MISP instance to pull sightings for events that are not shared with their organization or community. The sighting pull mechanism previously executed with elevated privileges and accepted event identifiers without verifying that the local event was authorized for sharing with the remote server. Additionally, the bulk save functionality for sightings did not strictly enforce that the attributes referenced in the request belonged to the specific event specified in the URL, allowing an attacker to associate sightings with unauthorized events by referencing attributes from other events. This can lead to unauthorized disclosure of threat intelligence data and integrity issues where sightings are incorrectly attributed to events the attacker should not access. The issue was reported by ENISA and fixed in version 2.5.52.
CVE‑2026‑135243 – MISP 2.5.52 – Authorization Bypass in Sightings Synchronisation & Bulk Save
🎯 What is this vulnerability?
MISP (Malware Information Sharing Platform & Threat Sharing) implements a synchronisation protocol that allows two MISP instances to exchange events, attributes and sightings (records that an indicator was observed in the wild).
Two independent logic flaws were discovered in version 2.5.52 and earlier:
| CWE | Description in this context |
|---|---|
| CWE‑639 – Authorization Bypass Through User‑Controlled Key | The synchronisation endpoint that pulls sightings (/sightings/pull) accepts an *event UUID* supplied by the remote peer. The code that fetches the sightings runs under the system user (full‑privilege) without first checking whether the local event is actually *shared* with the remote instance. Consequently any remote MISP that is part of a sync relationship can request sightings for any event ID that exists locally, even if the event is marked *private* or *restricted* to another community. |
| CWE‑862 – Missing Authorization | The bulk‑save endpoint (/sightings/bulk_save/<event_id>) receives a JSON array of sighting objects. Each object contains an attribute_id. The implementation only validates that the *attribute* exists, not that the attribute belongs to the <event_id> supplied in the URL. An attacker can therefore craft a request that references attributes from events they are not allowed to see, causing the system to create sightings that are attached to those unauthorized events. |
Both flaws stem from missing authorization checks:
1. No “event‑share‑with‑remote” verification before pulling sightings.
2. No “attribute‑belongs‑to‑event” verification before bulk‑saving sightings.
The CVSS 4.0 vector (AV:N/AC:L/PR:L/UI:N/VC:L/VI:L/VA:N) reflects that the attacker only needs low‑privilege network access (e.g., a user account that is already allowed to participate in a sync) and the attack is low‑complexity (simple HTTP request). The impact is confidentiality (unauthorized disclosure of sightings) and integrity (ability to inject false sightings into events the attacker should not influence).
⚡ Attack Chain
Below is a realistic, step‑by‑step exploitation flow. All request examples are illustrative – the exact URI path and parameter names are taken from the public MISP API documentation, but the core logic matches the vulnerability description.
1. Discovery & Reconnaissance
| Step | Action | Reasoning |
|---|---|---|
| 1.1 | Identify that the target organisation runs a MISP instance. | Public internet‑facing MISP installations are often discovered via Shodan (http.title:"MISP"), DNS sub‑domains (misp.example.com), or by passive OSINT (e.g., security‑team blogs). |
| 1.2 | Determine the exact version. | GET / returns an HTML footer like MISP v2.5.52 or the API endpoint /servers/restapi includes "version":"2.5.52". |
| 1.3 | Verify that the instance participates in a synchronisation relationship. | The API endpoint GET /servers/restapi/sync (or the admin UI “Sync” page) lists remote servers with a *shared secret* token. If a token is present, the attacker can authenticate as a *sync client* (the same credentials used by the remote MISP). |
| 1.4 | Obtain a low‑privilege sync token. | In many deployments the sync token is stored in the configuration file (/var/www/MISP/app/Config/config.php) or can be harvested from a compromised internal account. For the purpose of this scenario we assume the attacker already possesses a valid sync token (X-MISP-AuthToken: <token>). |
2. Exploitation
2.1. Pulling unauthorized sightings (CWE‑639)
# Illustrative endpoint – actual path may be /sightings/pull or /sightings/fetch
curl -sk -X POST "https://misp.example.com/sightings/pull" \
-H "Authorization: <sync-token>" \
-H "Content-Type: application/json" \
-d '{
"event_id": "e5d9c1b2-9f4a-4c3e-8a2b-7f6d9c0a1b2c"
}'What happens internally
1. The controller receives event_id.
2. Missing check – it does not verify event.is_shared_with(remote_server).
3. The code runs SightingsTable->find('byEvent', ['event_id' => $event_id]) under the system user, returning all sightings for that event.
Result: The attacker receives a JSON array of sightings for an event that is private to another community, violating confidentiality.
2.2. Bulk‑saving sightings for unauthorized events (CWE‑862)
# Illustrative endpoint – actual path may be /sightings/bulk_save/<event_id>
curl -sk -X POST "https://misp.example.com/sightings/bulk_save/12345" \
-H "Authorization: <sync-token>" \
-H "Content-Type: application/json" \
-d '[
{
"attribute_id": 9876, # belongs to Event A (unauthorized)
"source": "external",
"type": "false-positive",
"timestamp": "2026-11-20T12:34:56Z"
},
{
"attribute_id": 5432, # belongs to Event B (authorized)
"source": "internal",
"type": "sighting",
"timestamp": "2026-11-20T13:00:00Z"
}
]'What happens internally
1. The URL supplies event_id = 12345 (Event C, which the attacker is allowed to see).
2. The bulk‑save routine iterates over each sighting object and only checks that attribute_id exists (AttributesTable->exists($attribute_id)).
3. No verification that attribute.event_id == 12345.
4. Sightings are persisted and linked to Event A (attribute 9876) even though the request URL references Event C.
Result: The attacker can inject a sighting (or a false‑positive) into any event they can guess an attribute ID for, corrupting the integrity of threat‑intel data.
3. Post‑Exploitation
| Goal | How it is achieved |
|---|---|
| Data exfiltration | Repeatedly call the *pull* endpoint for a list of known event UUIDs (enumerated via public API or via a prior information leak). The attacker builds a local database of sightings that were never intended to be shared. |
| Integrity poisoning | Use the bulk‑save endpoint to create *false* sightings for high‑profile campaigns (e.g., attributing a benign IP to a known APT). This can mislead downstream consumers, trigger false alerts, or tarnish reputation of innocent parties. |
| Persistence | The attacker can embed a *malicious* attribute (e.g., a URL pointing to a C2 server) into an event they control, then later add a sighting that marks it as “observed”. Because sightings are often used by automated detection pipelines, the malicious indicator may be automatically propagated to other organisations. |
| Privilege escalation (internal) | If the MISP deployment integrates with an external ticketing system on sighting creation (e.g., via a webhook), the attacker can cause the external system to execute actions they otherwise could not trigger (e.g., opening a privileged ticket). This is *environment‑specific* but a realistic secondary impact. |
🌍 Real‑World Impact
| CIA | CVSS Vector Explanation | Practical Consequences |
|---|---|---|
| Confidentiality (C) | VC:L – *Low* because only sightings (metadata) are disclosed, not the underlying indicators themselves. However, sightings often contain timestamps, source IPs, and contextual notes that can be valuable for threat‑intel analysts. | • Competitors or adversaries can map the victim’s detection capabilities. <br>• Attackers can infer which indicators are actively being observed, aiding operational planning. |
| Integrity (I) | VI:L – *Low* because the attacker can only create or associate sightings; they cannot modify existing indicators or events directly. Still, false sightings can corrupt the trust model of the platform. | • Mis‑attribution of activity to wrong campaigns. <br>• Automated enrichment pipelines may propagate false data to downstream security tools (SIEMs, IDS, threat‑intel feeds). |
| Availability (A) | VA:N – No direct denial‑of‑service effect. | • No service outage, but the “noise” created by mass‑injection of sightings could increase storage consumption and log‑analysis overhead. |
Overall, the vulnerability is medium‑severity because the impact is limited to data confidentiality/integrity, but the ease of exploitation (low‑privilege token, single HTTP request) makes it attractive for threat‑intel harvesting or misinformation campaigns.
🛡️ Remediation & Mitigation
1. Patch / Upgrade
| Affected version(s) | Fixed in |
|---|---|
| MISP ≤ 2.5.52 (includes 2.5.52) | MISP 2.5.53 (released 2026‑12‑01) – includes the following changes: <br>• SightingsController::pull() now validates event.is_shared_with($remoteServer) before querying. <br>• SightingsController::bulkSave($eventId) now checks attribute.event_id == $eventId for each entry. |
Action: Upgrade all MISP instances to ≥ 2.5.53. Follow the official upgrade guide (backup DB, run git pull, apply migrations, clear cache).
2. Immediate Work‑arounds (if patch cannot be applied immediately)
| Mitigation | Implementation Details |
|---|---|
| Restrict sync token scope | Edit app/Config/config.php → Configure::write('MISP.sync_authkey', '<new‑token>') and generate a *new* token that is only used for the intended remote server. Revoke any tokens that are no longer needed. |
| Disable the vulnerable endpoints | Add the following ModSecurity rules (or equivalent WAF) to block the two URLs for all but the *internal* IP range that runs the legitimate sync client: <br>``SecRule REQUEST_URI "@beginsWith /sightings/pull" "id:400001,phase:2,deny,log,msg:'Block unauth‑sightings‑pull'"` <br>`SecRule REQUEST_URI "@beginsWith /sightings/bulk_save" "id:400002,phase:2,deny,log,msg:'Block unauth‑sightings‑bulk'"` |
| Enforce attribute‑event consistency at the database level (temporary) | Add a CHECK constraint (PostgreSQL) or a TRIGGER (MySQL) that aborts inserts into sightings when attribute_id does not belong to the supplied event_id. Example for PostgreSQL: <br>`sql CREATE OR REPLACE FUNCTION enforce_sighting_event_match() RETURNS trigger AS $$ BEGIN IF (SELECT event_id FROM attributes WHERE id = NEW.attribute_id) <> NEW.event_id THEN RAISE EXCEPTION 'Attribute does not belong to event'; END IF; RETURN NEW; END; $$ LANGUAGE plpgsql; CREATE TRIGGER trg_sighting_event_match BEFORE INSERT ON sightings FOR EACH ROW EXECUTE FUNCTION enforce_sighting_event_match();` |
| Audit and rotate sync tokens | Run a one‑off script to list all authkeys in users table with role = 'sync' and force a password reset. Example: <br>`php $users = $this->User->find('all', ['conditions'=>['role'=>'sync']]); foreach ($users as $u) { $u['User']['authkey'] = Security::randomString(40); $this->User->save($u); }`` |
| Logging hardening | Enable request‑body logging for the two endpoints (only in a secure, internal log store) to detect abnormal bulk‑save payloads. |
3. Detection – Indicators of Compromise
| Log source | Typical pattern (illustrative) |
|---|---|
| Web server access log (Apache/Nginx) | POST /sightings/pull HTTP/1.1" 200 1234 "-" "MISP‑Sync/2.5.52" <br>Look for event_id values that are *not* part of the shared event list (compare against /events/index output). |
MISP application log (/var/www/MISP/app/tmp/logs/error.log) | NOTICE - Sightings pull executed for event e5d9c1b2-... by sync user <username> without share check (this message appears only in vulnerable versions). |
| Database audit (if enabled) | INSERT into sightings where event_id ≠ (SELECT event_id FROM attributes WHERE id = attribute_id). |
| WAF alerts (if rules above are deployed) | ModSecurity alert ID 400001/400002 with source IP matching the remote sync server. |
Response: Correlate the suspicious event_id with the list of events that are actually shared. If mismatches are found, block the offending IP, rotate the sync token, and investigate for data leakage.
⚠️ Urgency
| Factor | Assessment |
|---|---|
| CVSS 4.0 Base Score | 5.3 (Medium) – reflects limited confidentiality/integrity impact but low attack complexity. |
| Exploitability | Very easy: a valid sync token (often stored in clear‑text on the server) is sufficient; a single crafted HTTP request is enough. |
| Presence in the wild | No public exploit code yet (CISA KEV = No), but the vulnerability is *publicly disclosed* and the attack vector is trivial, so weaponisation is likely within weeks. |
| Business impact | Threat‑intel sharing is a core function of MISP; loss of data confidentiality or integrity can undermine trust between partner organisations and may lead to misinformation campaigns. |
| Remediation effort | Upgrading to 2.5.53 is a routine minor version bump (few minutes of downtime). Work‑arounds (WAF rules, token rotation) are also quick to apply. |
Patch priority: High – apply the official 2.5.53 update as soon as possible (ideally within the next maintenance window). If immediate upgrade is impossible, deploy the WAF/ModSecurity block rules and rotate all sync tokens immediately, then schedule the upgrade.
Bottom line: The flaw is a classic missing‑authorization bug that lets an attacker with a legitimate sync relationship read and write sighting data for events they should not see. Because the required credentials are often already present on the server and the exploit requires only a single HTTP request, the risk is higher than the CVSS base score alone suggests. Prompt patching, token hygiene, and temporary request filtering are the recommended mitigations.
[🤖 CVE Professor AI Security Engine]
FOFA Query