{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-135244",
        "assignerOrgId": "5a6e4751-2f3f-4070-9419-94fb35b644e8",
        "state": "PUBLISHED",
        "assignerShortName": "CIRCL",
        "dateReserved": "2026-11-23T15:41:26.527Z",
        "datePublished": "2026-11-23T15:41:34.090Z",
        "dateUpdated": "2026-11-24T16:10:52.333Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "cpes": [
                        "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"
                    ],
                    "modules": [
                        "app/Lib/Tools/ClientIpTool.php",
                        "app/Model/AppModel.php",
                        "app/Model/Server.php",
                        "app/Plugin/EcsLog/Lib/Log/Engine/EcsLog.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": "ENISA"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "iglocska"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Claude Opus 5.5"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "MISP trusted client-supplied forwarded IP headers (such as X-Forwarded-For) without verifying that the request originated from a known proxy or that the value was a valid IP address. The configured header value was accepted as the authoritative client IP for all security-relevant functions.\n\nAn unauthenticated remote attacker could forge the forwarded header to:\n- Bypass IP-based restrictions on API authentication keys\n- Evade brute-force / rate-limiting protection\n- Inject arbitrary values into application and ECS logs, corrupting audit trails\n\nThe vulnerability required the MISP.log_client_ip_header setting to be configured to a forwarded header (e.g. HTTP_X_FORWARDED_FOR), which is a common deployment when MISP sits behind a reverse proxy.\n\nAffected: MISP versions prior to 2.5.52"
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-126",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-126 Spoofing HTTP Headers"
                        }
                    ]
                }
            ],
            "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:N/VI:L/VA:L/SC:N/SI:N/SA:N",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "LOW",
                        "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:43:29Z",
                            "version": "2.0.3"
                        },
                        "type": "SSVC"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-345",
                            "description": "CWE-345 Insufficient Verification of Data Authenticity",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-20",
                            "description": "CWE-20 Improper Input Validation",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "5a6e4751-2f3f-4070-9419-94fb35b644e8",
                "shortName": "CIRCL",
                "dateUpdated": "2026-11-23T15:41:34.090Z"
            },
            "references": [
                {
                    "name": "Security patch",
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "The fix introduces a dedicated client-IP resolution routine that only honours the forwarded header when the request's peer address matches a newly introduced trusted-proxy list (MISP.trusted_proxies, supporting IPs and CIDR ranges). It selects the right-most address in the chain that does not belong to a trusted proxy, validates the result as a well-formed IP, and falls back to the TCP peer address (REMOTE_ADDR) when the header is absent, the request did not come from a listed proxy, or the value is not a valid IP. This prevents untrusted clients from injecting arbitrary values into IP-based security controls and logs."
                }
            ],
            "title": "MISP: Client IP Spoofing via Unvalidated Forwarded Header Bypasses IP Restrictions and Brute-Force Protection",
            "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 assumed to be all MISP versions prior to 2.5.52 based on the explicit context fixed_version; the patch does not enumerate specific prior versions.",
                                    "PR:N is assigned because at least one impact path (brute-force protection bypass, log forgery) is reachable without authentication; the auth-key IP restriction bypass path does require a valid API key.",
                                    "CAPEC-126 is the closest available match; no CAPEC specifically covers 'unvalidated forwarded-IP header' so the general HTTP header spoofing pattern is used.",
                                    "The vulnerability requires MISP.log_client_ip_header to be set to a forwarded header (not the default REMOTE_ADDR); deployments using the default are not affected.",
                                    "VA:L reflects the potential for rate-limiting bypass to enable resource exhaustion; direct DoS is not demonstrated in the patch."
                                ],
                                "capecRationale": [
                                    {
                                        "capecId": "CAPEC-126",
                                        "rationale": "The attacker forges the X-Forwarded-For (or equivalent) HTTP header to present a spoofed client IP to the application, bypassing IP-based access restrictions and rate-limiting. This is the most direct CAPEC match: the vulnerability is specifically the lack of validation on a client-supplied HTTP header that the application treats as authoritative. No other CAPEC more precisely describes header-spoofing to defeat IP-based controls."
                                    }
                                ],
                                "commit": "4637fc29996db714301d32606001eaa2ba92d620",
                                "confidence": "high",
                                "credits": [
                                    {
                                        "lang": "en",
                                        "type": "reporter",
                                        "value": "ENISA"
                                    },
                                    {
                                        "lang": "en",
                                        "type": "remediation developer",
                                        "value": "iglocska"
                                    },
                                    {
                                        "lang": "en",
                                        "type": "remediation developer",
                                        "value": "Claude Opus 5.5"
                                    },
                                    {
                                        "lang": "en",
                                        "type": "tool",
                                        "value": "Claude Opus 5.5"
                                    }
                                ],
                                "cvssRationale": "AV:N – exploitable over the network via a crafted HTTP header. AC:L – sending a spoofed X-Forwarded-For header is trivial and requires no special conditions. AT:N – no attack-target manipulation needed. PR:N – brute-force protection bypass and log forgery require no authentication; auth-key IP restriction bypass requires a valid key but the unauthenticated paths are sufficient. UI:N – no user interaction. VC:N – no confidentiality impact on the MISP instance itself. VI:L – integrity impact from log forgery and defeat of IP-based access controls. VA:L – availability impact from brute-force / rate-limiting bypass enabling credential-stuffing or resource exhaustion. SC/SI/SA:N – no demonstrated impact on other systems.",
                                "fixSummary": "The fix introduces a dedicated client-IP resolution routine that only honours the forwarded header when the request's peer address matches a newly introduced trusted-proxy list (MISP.trusted_proxies, supporting IPs and CIDR ranges). It selects the right-most address in the chain that does not belong to a trusted proxy, validates the result as a well-formed IP, and falls back to the TCP peer address (REMOTE_ADDR) when the header is absent, the request did not come from a listed proxy, or the value is not a valid IP. This prevents untrusted clients from injecting arbitrary values into IP-based security controls and logs.",
                                "generatedAt": "2026-11-23T09:43:29.853814Z",
                                "generator": "patch2vuln.py",
                                "model": "qwen3.8:27b",
                                "modelComparison": {
                                    "potentialErrors": [],
                                    "rankings": [
                                        {
                                            "agreementScore": 11,
                                            "assumptionCount": 5,
                                            "confidence": "high",
                                            "model": "qwen3.8:27b",
                                            "score": 8
                                        }
                                    ],
                                    "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": "d41fe7d29d63f664a490bf2217554c47ba95e5b1d007b925c8e15cb3fbbbde9f",
                                "patchSummary": "Added a new ClientIpTool class (app/Lib/Tools/ClientIpTool.php) implementing resolve() which parses the forwarded header, cross-references entries against a trusted-proxy CIDR list, and returns the right-most non-proxy valid IP or falls back to REMOTE_ADDR. Added MISP.trusted_proxies server setting (comma-separated IPs/CIDRs) to ServerSettingGroups and Server model. Replaced the previous naive first-comma-split logic in AppModel::_remoteIp() with a call to ClientIpTool::resolve(). Updated the ECS log engine (EcsLog.php) to use the same resolution for the client.ip field. Added a comprehensive unit test suite (ClientIpToolTest.php) covering proxy chains, untrusted sources, invalid IPs, IPv6, and edge cases.",
                                "patchTruncated": false,
                                "patches": [
                                    {
                                        "commit": "4637fc29996db714301d32606001eaa2ba92d620",
                                        "date": "Mon, 16 Nov 2026 17:18:46 +0100",
                                        "patchSha256": "d41fe7d29d63f664a490bf2217554c47ba95e5b1d007b925c8e15cb3fbbbde9f",
                                        "retrievedAt": "2026-11-23T09:42:59.202975Z",
                                        "source": "https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620",
                                        "sourceUrl": "https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620",
                                        "subject": "fix: [security] Forwarded client IPs are read from the"
                                    }
                                ],
                                "source": "https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620",
                                "ssvc": {
                                    "options": [
                                        {
                                            "Exploitation": "none"
                                        },
                                        {
                                            "Automatable": "yes"
                                        },
                                        {
                                            "Technical Impact": "partial"
                                        }
                                    ],
                                    "role": "Supplier",
                                    "timestamp": "2026-11-23T09:43:29Z",
                                    "version": "2.0.3"
                                },
                                "subject": "fix: [security] Forwarded client IPs are read from the",
                                "weaknessRationale": [
                                    {
                                        "cweId": "CWE-345",
                                        "rationale": "The application accepted client-controlled forwarded-header values as authoritative without verifying that the request actually originated from a trusted proxy. The data's authenticity (i.e., that it was set by a legitimate intermediary) was never confirmed."
                                    },
                                    {
                                        "cweId": "CWE-20",
                                        "rationale": "The previous code took the first comma-separated value from the header without validating it as a well-formed IP address, allowing arbitrary strings to be injected into security controls and logs."
                                    }
                                ]
                            }
                        },
                        "bcp-05-x-03": {
                            "x_timeline": {
                                "events": [
                                    {
                                        "description": "Corrective change authored (4637fc29996db714301d32606001eaa2ba92d620): fix: [security] Forwarded client IPs are read from the",
                                        "id": "evt-fix-developed-1",
                                        "references": [
                                            "https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620"
                                        ],
                                        "timestamp": "2026-11-16T16:18:46Z",
                                        "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/4637fc29996db714301d32606001eaa2ba92d620"
                                        ],
                                        "timestamp": "2026-11-23T09:42:59.202975Z",
                                        "type": "fix-available"
                                    }
                                ]
                            }
                        }
                    },
                    "recordType": "advisory",
                    "vulnId": "GCVE-1-2026-20438"
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-24T16:10:03.189530Z",
                                "id": "CVE-2026-135244",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-11-24T16:10:52.333Z"
                }
            }
        ]
    }
}