Vulnérabilité dans github.com/free5gc/nef (CVE-2026-44320)
Résumé
Vulnérabilité dans github.com/free5gc/nef (CVE-2026-44320). Risque d'opérations non autorisées ou de divulgation. Exploitable via NotifId.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
free5GC's NEF mounts the nnef-callback route group without inbound OAuth2/bearer-token authorization. A forged or arbitrary bearer token (e.g. Authorization: Bearer not-a-real-token) is enough to reach the SMF-callback handler -- the callback body is parsed and dispatched into NEF business logic instead of being rejected at the auth boundary. Same root cause as the other NEF SBI findings: the route group is mounted without any inbound auth middleware. NEF does not authenticate the producer NF identity before processing callback content; if an attacker can guess or obtain a valid NotifId, this missing auth boundary lets forged callbacks act on real subscription state. The route group is also reachable even when the runtime ServiceList does not declare it (it lists only nnef-pfdmanagement and nnef-oam).
Details
Validated against the NEF container in the official Docker compose lab.
- Running Docker image:
free5gc/nef:v4.2.1 - Docker validation date: 2026-03-11
NEF advertises OAuth2 setting receive from NRF: true, yet the nnef-callback route group is mounted with no inbound auth middleware. The API layer reads the raw request body and deserializes it before any auth check, then the processor looks up subscription state by NotifId.
Code evidence (paths in free5gc/nef):
- Callback route group mounted without auth middleware:
NFs/nef/internal/sbi/server.go:64 - Callback route exposed at
/notification/smf: `NFs/nef/internal/sbi/api_callba…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-44320 a été découverte dans github.com/free5gc/nef.
Des attaquants peuvent cibler un point d'entrée spécifique comme NotifId à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 7.3/10.
Action : appliquez le correctif officiel de l'éditeur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/free5gc/nef CVE-2026-44320 » sur le site de l'éditeur.
CVE-2026-44320 (github.com/free5gc/nef) — CWE-306 / CVSS v3 7.3
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : NotifId / ServiceList / GetTokenCtx
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.
Une vulnérabilité (CWE-306) affecte github.com/free5gc/nef. Les attaquants atteignent le code vulnérable via NotifId sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/free5gc/nef. Surface d'attaque : NotifId / ServiceList / GetTokenCtx.
Gravité : Élevée (CVSS 7.3/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers la version corrigée selon l'avis éditeur.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'github.com/free5gc/nef' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/free5gc/nefを grep し、稼働しているサービス・バージョンを把握する。 -
2Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- exploit github.com
- exploit security-advisories@github.com
- package github.com
- patch security-advisories@github.com
- web github.com