Description
free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's SMF mounts the UPI management route group without OAuth2/bearer-token authorization middleware. A network attacker who can reach SMF on the SBI can hit UPI endpoints with no Authorization header at all, and the requests reach the SMF business handlers. In the running Docker lab this was directly demonstrated for read (GET /upi/v1/upNodesLinks), write (POST /upi/v1/upNodesLinks with attacker-controlled UP-node and link payload), and delete (DELETE /upi/v1/upNodesLinks/{nodeID}) operations. This vulnerability is fixed in 4.2.2.
Problem types
CWE-306: Missing Authentication for Critical Function
CWE-862: Missing Authorization
Product status
References
github.com/...ree5gc/security/advisories/GHSA-3258-qmv8-frp3
github.com/free5gc/free5gc/issues/887
github.com/...ree5gc/security/advisories/GHSA-3258-qmv8-frp3
github.com/free5gc/free5gc/issues/887
github.com/free5gc/smf/pull/197
github.com/...ommit/e23ce97565f285eb99eed153743c62bf4c767c6e