GCVE-1-2026-20438 (CVE-2026-135244)

Vulnerability from gna-1 – Published: 2026-11-23 15:38 – Updated: 2026-11-23 15:41
VLAI
Title
MISP: Client IP Spoofing via Unvalidated Forwarded Header Bypasses IP Restrictions and Brute-Force Protection
Summary
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. An unauthenticated remote attacker could forge the forwarded header to: - Bypass IP-based restrictions on API authentication keys - Evade brute-force / rate-limiting protection - Inject arbitrary values into application and ECS logs, corrupting audit trails The 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. Affected: MISP versions prior to 2.5.52
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
Supplier · CNA (v2.0.3)
Decision recorded 2026-11-23 09:43 UTC
CWE
  • CWE-345 - Insufficient Verification of Data Authenticity
  • CWE-20 - Improper Input Validation
Assigner
CIRCL GNA GNA-1
GNA scorecard A 93/100 over 349 records in the last 180 days details
References
Impacted products
Vendor Product Version CPE status
MISP MISP Affected: 0 , < 2.5.52 (semver)
    cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*
Create a notification for this product.
GCVE extensions
bcp-05-x-01
AI-assisted vulnerability information annotation
GCVE-BCP-05-X-01
Whole record AI-generated Human-reviewed GNA-1

Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.

ai-computer-assisted:llm-generatedai-computer-assisted:classification
Model Source Identifier
qwen3.8:27b ollama qwen3.8:27b
bcp-05-x-02
Patch-to-vulnerability generation provenance
GCVE-BCP-05-X-02
Generator
patch2vuln.py on 2026-11-23 09:43
Model
qwen3.8:27b
Input
https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620 d41fe7d29d63…
Confidence
high
Commit Subject Patch SHA-256
4637fc29996d fix: [security] Forwarded client IPs are read from the d41fe7d29d63…
Fix summary

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.

Patch summary

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.

CVSS rationale

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.

Weakness rationale
  • CWE-345 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.
  • CWE-20 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.
Attack pattern rationale
  • CAPEC-126 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.
Assumptions to verify
  • 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.
Model comparison

Selected qwen3.8:27b by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.

Model Score Agreement Confidence Assumptions
qwen3.8:27b 8 11 high 5
bcp-05-x-03
Vulnerability handling and disclosure timeline
GCVE-BCP-05-X-03
  1. 2026-11-16 16:18 UTC Fix developed Corrective change authored (4637fc29996db714301d32606001eaa2ba92d620): fix: [security] Forwarded client IPs are read from the https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620
  2. 2026-11-23 09:42 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620

{
  "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": "00000000-0000-4000-8000-000000000000"
      },
      "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\u0027s 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 \u0027unvalidated forwarded-IP header\u0027 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 \u2013 exploitable over the network via a crafted HTTP header. AC:L \u2013 sending a spoofed X-Forwarded-For header is trivial and requires no special conditions. AT:N \u2013 no attack-target manipulation needed. PR:N \u2013 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 \u2013 no user interaction. VC:N \u2013 no confidentiality impact on the MISP instance itself. VI:L \u2013 integrity impact from log forgery and defeat of IP-based access controls. VA:L \u2013 availability impact from brute-force / rate-limiting bypass enabling credential-stuffing or resource exhaustion. SC/SI/SA:N \u2013 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\u0027s 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\u0027s 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"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "00000000-0000-4000-8000-000000000000",
    "cveId": "CVE-2026-135244",
    "datePublished": "2026-11-23T15:38:16.036217Z",
    "dateReserved": "2026-11-23T15:41:26.527Z",
    "dateUpdated": "2026-11-23T15:41:27.389693Z",
    "state": "PUBLISHED",
    "vulnId": "GCVE-1-2026-20438"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Solutions

CNA
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.

Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.