Vulnerability in github.com/free5gc/pcf
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
free5GCのPCFにおいて、Npcf_SMPolicyControlの経路に認証ミドルウェアが適用されておらず、有効なOAuthトークンがなくてもSMポリシーの処理に到達できる脆弱性です。これにより加入者のSUPIが漏えいするおそれがあります。影響を受けるのはgithub.com/free5gc/pcfのバージョン1.4.3より前で、修正版の1.4.3では対策されています。修正版へ更新してください。
PCF Npcf_SMPolicyControlの認証ミドルウェアが欠如しているため、認証されていないアクセスが可能でSUPIの漏洩につながる。
free5GCのPCF Npcf_SMPolicyControl、バージョン4.2.2より前。
未認証アクセスが可能であり、加入者データが漏洩する可能性がある。
バージョン4.2.2にアップデートする。
情報なし
RouterAuthorizationCheckミドルウェアが適用されていないことを確認する。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gogithub.com/free5gc/pcf |
< 1.4.3→ 1.4.3 |
1.4.3 |
Original description The description as published by the source.
free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, PCF Npcf_SMPolicyControl missing authentication middleware allows unauthenticated access to SM policy handlers and disclosure of subscriber SUPI. 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 /npcf-smpolicycontrol/v1/sm-policies, /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}, /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}/update, and /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}/delete endpoints can reach business logic even when no valid OAuth token is provided. This vulnerability is fixed in 4.2.2.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- report github.com
- web github.com