3GPP TS 33.519

5G Security Assurance Specification (SCAS) for the Network Exposure Function (NEF) network product class
V18.3.0 (2024-06) — Release 18 SCAS Product Class

1. Scope

▶

Defines security requirements and test cases for the NEF network product class. The NEF exposes 5GC capabilities to external Application Functions (AFs) via northbound APIs, acting as the security gateway between the 5GC and external applications.

4. NEF Network Product Class Definition

▶
External 5G Core ┌──────────┐ ┌──────────────────────┐ │ AF │──Nnef (HTTPS)────►│ NEF (this) │ │ (3rd │ │ │ │ party) │ │ API translation │ └──────────┘ │ Rate limiting │ │ AuthZ enforcement │ │ │ └───┬────┬────┬────────┘ │ │ │ Nudm │ │ │ Npcf ┌────────┘ │ └────────┐ ▼ ▼ ▼ ┌────────┐ ┌────────┐ ┌────────┐ │ UDM │ │ SMF │ │ PCF │ └────────┘ └────────┘ └────────┘

5. NEF-Specific Threats

▶

TR 33.926 §5.3.5 Unauthorized external access to 5GC via NEF ▶

TR 33.926 §6.3.2 NF application threats via exposed APIs ▶

TR 33.926 §6.3.2.1 JSON parser exploits on API input ▶

  • API abuse: External AF exceeding authorized scope to access subscriber data
  • SUPI exposure: NEF translating internal SUPI to external without privacy controls
  • Rate limit bypass: DDoS via excessive API calls from compromised AF

6. Security Requirements and Test Cases

▶
TC_NEF_API_AUTH
CRITICAL
Procedure
  1. Verify external AF requires TLS client certificate or API key + OAuth 2.0
  2. Verify scope enforcement (AF can only access subscribed APIs)
  3. Send request for non-subscribed API → verify 403 Forbidden
  4. Verify rate limiting is enforced per AF
TC_NEF_SUPI_PRIVACY
CRITICAL
Procedure
  1. Verify NEF translates SUPI to GPSI before exposing to external AF
  2. Verify internal 5GC identifiers (NF instance IDs, internal IPs) are never exposed to AFs
  3. Verify subscription correlation attacks are mitigated
TC_NEF_INPUT_VALIDATION
CRITICAL
Procedure
  1. Send malformed JSON payloads → verify proper error handling (no crash, no info leak)
  2. Send oversized payloads → verify request size limits enforced
  3. Send injection payloads in API parameters → verify sanitized

TR 33.926 §6.3.2.1 JSON parser exploits ▶

7. SCAS Test Case Summary

▶
Test Case IDCategoryPriority
TC_NEF_API_AUTHAPI SecurityCRITICAL
TC_NEF_SUPI_PRIVACYPrivacyCRITICAL
TC_NEF_INPUT_VALIDATIONInput ValidationCRITICAL
Plus ALL test cases from TS 33.117