| 标题 | Open5GS 2.7.6 Incorrect Authorization |
|---|
| 描述 | The AMF in Open5GS v2.7.6 (and main branch) resolves UE-associated NGAP messages by AMF-UE-NGAP-ID via a process-wide pool lookup (ran_ue_find_by_amf_ue_ngap_id in src/amf/context.c) without verifying that the message arrived on the SCTP/TNLA association bound to the resolved UE's serving gNB.
A second NG-RAN node that has completed its own NG Setup with the AMF can submit a single forged PDUSessionResourceSetupResponse carrying a victim UE's AMF-UE-NGAP-ID and an attacker-controlled GTP-U endpoint. The AMF accepts the message and forwards the supplied transfer to the SMF as Nsmf_PDUSession_UpdateSMContext, causing the SMF to reprogram the UPF's Forwarding Action Rule and deliver the victim UE's downlink user-plane traffic to the attacker's gNB.
This violates the per-NG-RAN-node scope of UE-associated NGAP signalling defined in 3GPP TS 38.413 §10.6 and §9.3.3.2. |
|---|
| 来源 | ⚠️ https://github.com/open5gs/open5gs/issues/4498 |
|---|
| 用户 | Seungjoon Na (UID 97657) |
|---|
| 提交 | 2026-04-28 04時17分 (1 月前) |
|---|
| 管理 | 2026-05-16 14時38分 (18 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 364330 [Open5GS 直到 2.7.6 AMF/MME src/amf/context.c ran_ue_find_by_amf_ue_ngap_id 权限提升] |
|---|
| 积分 | 20 |
|---|