概要
Free5GC PCF: Missing authentication middleware in Npcf_SMPolicyControl allows access to SM policy handlers and disclosure of subscriber SUPI
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
PCF Npcf_SMPolicyControl missing authentication middleware allows unauthenticated access to SM policy handlers and disclosure of subscriber SUPI
Details
In NewServer(), the smPolicyGroup route group is created and routes are applied without attaching the router authorization middleware. In contrast, other PCF service groups such as Npcf_PolicyAuthorization do attach RouterAuthorizationCheck before route registration.
Because the middleware is missing, requests to the following endpoints can reach business logic even when no valid OAuth token is provided:
POST /npcf-smpolicycontrol/v1/sm-policiesGET /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}POST /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}/updatePOST /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}/delete
This is visible at runtime because unauthenticated requests return business-level responses such as 400 or 404 instead of being rejected with 401 before handler execution. Under valid lab preconditions (existing UE/session context and related policy data), unauthenticated POST /sm-policies can succeed with 201, and unauthenticated GET /sm-policies/{id} can succeed with 200 and return policy context containing subscriber identifiers including supi.
The root cause is missing router auth enforcement for Npcf_SMPolicyControl.
Upstream also fixed this by adding RouterAuthorizationCheck to smPolicyGroup (and uePolicyGroup) in free5gc/pcf PR #63.
#…
出典: NIST National Vulnerability Database NVD GitHub Advisory
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
free5GCは、5Gコアネットワークのオープンソース実装です。バージョン4.2.2より前では、PCF Npcf_SMPolicyControlの認証ミドルウェアが欠如しているため、認証されないアクセスが可能で、加入者のSUPIが漏洩する可能性があります。この脆弱性はバージョン4.2.2で修正されています。
PCF Npcf_SMPolicyControlの認証ミドルウェアが欠如しているため、認証されていないアクセスが可能でSUPIの漏洩につながる。
free5GCのPCF Npcf_SMPolicyControl、バージョン4.2.2より前。
未認証アクセスが可能であり、加入者データが漏洩する可能性がある。
バージョン4.2.2にアップデートする。
情報なし
RouterAuthorizationCheckミドルウェアが適用されていないことを確認する。
影響パッケージ
参照URL
- advisory nvd.nist.gov
- exploit github.com
- package github.com
- patch github.com
- patch security-advisories@github.com
- patch security-advisories@github.com
- web github.com