3GPP TR 33.818
1. Scope
▶This Technical Report studies the security aspects of the User Plane Function (UPF) in 5G System architecture, covering threat analysis, security requirements, and potential solutions for UPF deployments including edge computing (MEC) scenarios.
2. Key References
▶3. UPF Architecture & Interfaces
▶3.1 Deployment Scenarios Studied
▶| Scenario | Location | Trust Level | New Risks |
|---|---|---|---|
| Central DC | Operator core | High | Standard — insider threat, misconfiguration |
| Edge (MEC) | Cell site / aggregation | Medium | Physical access, shared infrastructure |
| Enterprise | Customer premises | Low | Third-party hosting, supply chain risk |
| Multi-cloud | Public cloud | Medium-Low | Shared tenancy, cloud provider access |
4. Threat Analysis
▶4.1 N3 Interface Threats (gNB↔UPF)
▶N3-T1 GTP-U TEID hijacking — inject traffic into UPF via spoofed TEID ▶
N3-T2 GTP-in-GTP encapsulation — bypass UPF PDR filtering ▶
N3-T3: TEID Correlation Attack
Adversary observing N3 traffic correlates TEID allocation patterns to track subscriber sessions across handovers.
Risk: Subscriber tracking, privacy violation
Study finding: UPF should randomize TEID allocation and avoid sequential assignment.
N3-T4: Bandwidth Flooding via N3
Malicious or compromised gNB floods UPF N3 interface with high-rate GTP-U traffic.
Risk: UPF resource exhaustion, impact on all subscribers
Study finding: UPF requires per-gNB rate limiting and N3 traffic policing.
4.2 N4 Interface Threats (SMF↔UPF)
▶N4-T1: PFCP Session Hijacking
Attacker impersonates SMF and sends PFCP Session Modification to redirect user traffic via modified FAR.
Risk: Complete traffic interception for targeted subscribers
Study finding: TLS/DTLS on N4 mandatory; UPF must authenticate SMF identity per PFCP Association.
N4-T2: Unauthorized PFCP Association
Rogue node establishes PFCP Association with UPF and creates sessions to siphon traffic.
Risk: Shadow sessions, unauthorized data access
Study finding: UPF must maintain allowlist of authorized CP peers; log all Association Setup attempts.
N4-T3: Charging Manipulation
Compromised SMF or MITM modifies URR rules to suppress usage reports.
Risk: Revenue loss, billing inaccuracy
Study finding: UPF should support local URR integrity validation and anomaly detection.
4.3 N6 Interface Threats (UPF↔DN)
▶N6-T1: Ingress Filtering Bypass
External attacker sends spoofed IP packets into UPF N6 that match a Core-side PDR.
Risk: Traffic injection into subscriber sessions
Study finding: UPF needs BCP38/BCP84 ingress filtering on N6, strict SDF filter matching.
N6-T2: DDoS Amplification
UPF used as amplification vector — small incoming N6 packets trigger large GTP-U encapsulated responses on N3.
Risk: Network saturation, impact on RAN
Study finding: Rate limiting on N6 ingress, reflective traffic analysis.
4.4 N9 Interface Threats (UPF↔UPF)
▶N9-T1: Inter-UPF Tunnel Manipulation
Attack on N9 GTP-U tunnel between anchor UPF and intermediate/edge UPF.
Risk: Data path compromise in multi-UPF deployments
Study finding: N9 security especially critical for I-UPF at edge. IPsec or GTP-U integrity protection recommended.
N9-T2: Edge UPF Compromise Lateral Movement
Compromised edge UPF uses N9 tunnel to pivot into core network.
Risk: Core network breach from edge
Study finding: Zero-trust between UPFs; anchor UPF must validate all N9 traffic from edge UPFs.
5. Edge/MEC Security Considerations
▶| Concern | Edge-Specific Risk | Recommendation |
|---|---|---|
| Physical Access | Cell site tampering, hardware theft | TPM-based boot, tamper detection, remote attestation |
| Shared Infrastructure | Multi-tenant edge → side-channel attacks | Hardware isolation (SR-IOV), encrypted memory |
| Limited Monitoring | Reduced SOC visibility at edge | Local security agents, centralized log aggregation |
| Update Latency | Delayed patching at remote sites | Automated update pipelines, canary deployments |
| Supply Chain | Third-party hardware/software at edge | SBOM verification, signed images, integrity checks |
6. Security Solutions & Recommendations
▶| Solution Area | Recommendation | Priority |
|---|---|---|
| N4 Protection | Mandatory TLS 1.3 / DTLS 1.3 with mutual certificate authentication | Critical |
| N3/N9 Protection | IPsec (ESP) for GTP-U tunnels; at minimum between untrusted segments | High |
| TEID Randomization | Cryptographically random TEID allocation, no sequential patterns | High |
| Platform Integrity | Secure boot, runtime integrity monitoring, remote attestation | Critical (edge) |
| Rule Auditing | Continuous validation of PDR/FAR/QER/URR against policy; anomaly detection | Medium |
| Network Segmentation | Separate N3/N4/N6/N9 into distinct VLANs/VRFs | High |
| Rate Limiting | Per-interface, per-gNB rate limiting at UPF | High |
| Zero-Trust UPF | Assume edge UPFs are untrusted; validate at anchor UPF | Medium |
7. Conclusions
▶- UPF is the highest-value target in the 5G user plane — controls all subscriber data flows
- Edge deployment scenarios introduce new attack surfaces not covered by central-DC-focused security models
- N4 (PFCP) protection is the single most impactful security control
- Multi-UPF architectures (I-UPF + PSA UPF) require inter-UPF trust verification
- Existing SCAS tests in TS 33.513 should be extended for edge-specific scenarios