Free5GC PCF: Missing authentication middleware in Npcf_SMPolicyControl allows access to SM policy handlers and disclosure of subscriber SUPI
Résumé
Free5GC PCF: Missing authentication middleware in Npcf_SMPolicyControl allows access to SM policy handlers and disclosure of subscriber SUPI
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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.
#…
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé IA
Rédigé par une IA externe ; il peut contenir des erreurs. Vérifiez la description d'origine et les références ci-dessous avant d'agir.
Une vulnérabilité référencée CVE-2026-42083 a été découverte dans 5g.
Des attaquants peuvent cibler un point d'entrée spécifique comme POST /npcf-smpolicycontrol/v1/sm-policies à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 8.2/10.
Action : mettez à jour 5g vers 4.2.2 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « 5g CVE-2026-42083 » sur le site de l'éditeur.
CVE-2026-42083 (5g) — CWE-862 / CVSS v3 8.2
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : POST /npcf-smpolicycontrol/v1/sm-policies / GET /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId} / POST /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}/update / POST /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}/delete
Correctif : 4.2.2 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
PCF Npcf_SMPolicyControlの認証ミドルウェアが欠如しているため、認証されていないアクセスが可能でSUPIの漏洩につながる。
free5GCのPCF Npcf_SMPolicyControl、バージョン4.2.2より前。
未認証アクセスが可能であり、加入者データが漏洩する可能性がある。
バージョン4.2.2にアップデートする。
情報なし
RouterAuthorizationCheckミドルウェアが適用されていないことを確認する。
Paquets affectés
Références
- 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