Tech-invite3GPPspaceIETFspace
21222324252627282931323334353637384‑5x

Content for  TS 33.501  Word version:  18.4.0

Top   Top   Up   Prev   Next
1…   4…   5…   5.3…   5.9…   5.10…   6…   6.1.3…   6.1.4…   6.2…   6.2.2…   6.3…   6.4…   6.5…   6.6…   6.7…   6.8…   6.9…   6.10…   6.11   6.12…   6.13   6.14…   6.15…   6.16…   7…   7A…   7A.2.3…   7B…   8…   9…   10…   11…   12…   13…   13.2.2…   13.2.4…   13.3…   13.4…   14…   15…   16…   A…   B…   C…   D…   E…   F…   G…   I…   I.9…   J…   K…   M…   N…   O…   P…   R   S…   T…   U…   V…   W…   X…   Y…   Z…

 

13.3  Authentication and static authorizationp. 184

13.3.0  Static authorizationp. 184

Static authorization is based on local authorization policy at the NRF and the NF Service Producer. It can be used when token-based authorization is not used.
During the Nnrf_NFDiscovery procedure, the NRF ensures that the NF Service Consumer is authorized to discover the NF Service Producer service(s) as specified in clause 13.3.1.3 of this document.
If token-based authorization is not used within one PLMN and the NF Service Producer receives a service request, the NF Service Producer shall check authorization of the NF Service Consumer based on its local policy. If the NF Service Consumer is authorized to receive the service requested, the NF Service Producer shall grant the NF Service Consumer access to the service API.
Up

13.3.1  Authentication and authorization between network functions and NRFp. 184

13.3.1.1  Direct communication |R16|p. 184

NRF and NF shall authenticate each other during discovery, registration, and access token request.
In direct communication, NF and NRF shall use one of the following methods for authentication:
  • If the PLMN uses protection at the transport layer as described in clause 13.1, authentication provided by the transport layer protection solution shall be used for mutual authentication of the NRF and NF.
  • If the PLMN does not use protection at the transport layer, mutual authentication of NRF and NF may be implicit by NDS/IP or physical security (see clause 13.1).
Up

13.3.1.2  Indirect communication |R16|p. 184

In indirect communication, NF and NRF shall use one of the following methods for authentication:
  • Mutual authentication between NF and NRF provided by the transport layer protection solution.
  • Client credentials assertion (CCA) based authentication as specified in clause 13.3.8.
  • Implicit, i.e. by relying on authentication between NF Service Consumer and SCP, and between SCP and NRF, provided by the hop-by-hop security protection at the transport layer, NDS/IP, or physical security.
Up

13.3.1.3  Authorization of discovery request and error handling |R16|p. 185

When NRF receives message from unauthenticated NF, NRF shall support error handling, and may send back an error message. The same procedure shall be applied vice versa.
After successful authentication between NRF and NF, the NRF shall decide whether the NF is authorized to perform discovery and registration.
In the non-roaming scenario, the NRF authorizes the Nnrf_NFDiscovery_Request based on the profile of the expected NF/NF service and the type of the NF Service Consumer, as described in clause 4.17.4 of TS 23.502.
In the roaming scenario, the NRF of the NF Service Producer shall authorize the Nnrf_NFDiscovery_Request based on the profile of the expected NF/NF Service, the type of the NF Service Consumer and the serving network ID.
If the NRF finds NF Service Consumer is not allowed to discover the expected NF instances(s) as described in clause 4.17.4 of TS 23.502, NRF shall support error handling, and may send back an error message.
When a NF consumes the Nnrf_NFManagement or the Nnrf_NFDiscovery services provided by the NRF, the usage of the OAuth 2.0 access token for authorization between the NF and the NRF is optional.
Up

13.3.2  Authentication and authorization between network functionsp. 185

13.3.2.1  Direct communication |R16|p. 185

In direct communication, authentication between network functions within one PLMN shall use one of the following methods:
  • If the PLMN uses protection at the transport layer as described in clause 13.1, authentication provided by the transport layer protection solution shall be used for authentication between NFs.
  • If the PLMN does not use protection at the transport layer, authentication between NFs within one PLMN may be implicit by NDS/IP or physical security (see clause 13.1).
If the PLMN uses token-based authorization, the network shall use protection at the transport layer as described in clause 13.1.
Up

13.3.2.2  Indirect communication |R16|p. 185

In indirect communication scenarios, the NF Service Producer and NF Service Consumer shall use implicit authentication by relying on authentication between NF Service Consumer and SCP, and between SCP and NF Service Producer, provided by the transport layer protection solution, NDS/IP, or physical security.
If the PLMN uses token-based authorization as specified by clause 13.4.1.2 and the PLMN's policy mandates that the NRF authenticates the NF Service Consumer before granting an access token, the access token indicates to the NF Service Producer that the NF Service Consumer has been authenticated by the NRF.
If additional authentication of the NF Service Consumer is required, the NF Service Producer authenticates the NF Service Consumer at the application layer using CCA based authentication as specified in clause 13.3.8.
The NF Service Consumer authentication based on CCA based authentication is optional to use, and based on operator policy.
Up

13.3.2.3  Inter-PLMN NF to NF communication |R16|p. 186

The Inter-PLMN UP Security functionality (IPUPS) as described in clauses 4.2.2 and 5.9.3.4 provide a standardised solution for binding 5G SBA REST Service Operations between the PLMN V-SMF and H-SMF over N16 / N32 to GTP-U over N9 in roaming scenarios.

13.3.2.4  Error handling |R16|p. 186

When an NF receives a message from an unauthenticated NF, the receiving NF shall support error handling, and may send back an error message.

13.3.3  Authentication and authorization between SEPP and network functionsp. 186

Authentication between SEPP and network functions within one PLMN shall use one of the following methods:
  • If the PLMN uses protection at the transport layer, authentication provided by the transport layer protection solution shall be used for authentication between SEPP and NFs.
  • If the PLMN does not use protection at the transport layer, authentication between SEPP and NFs within one PLMN may be implicit by NDS/IP or physical security (see clause 13.1).
A network function and the SEPP shall mutually authenticate before the SEPP forwards messages sent by the network function to network functions in other PLMN, and before the SEPP forwards messages sent by other network functions in other PLMN to the network function.
Up

13.3.4  Authentication and authorization between SEPPsp. 186

Authentication and authorization between SEPPs in different PLMNs is defined in clause 13.2.

13.3.5  Authentication between SEPP and SCP |R16|p. 186

Authentication between SEPP and SCP within one PLMN shall use one of the following methods:
  • If the PLMN uses protection at the transport layer, authentication provided by the transport layer protection solution shall be used for authentication between SEPP and SCP.
  • If the PLMN does not use protection at the transport layer, authentication between SEPP and SCP within one PLMN may be implicit by NDS/IP or physical security (see clause 13.1).
A SCP and the SEPP shall mutually authenticate before forwarding incoming or outgoing requests.
Up

13.3.6  Authentication and authorization between SCP and network functions |R16|p. 186

The SCP and network functions shall use one of the following methods described in clause 13.1 to mutually authenticate each other before service layer messages can be exchanged on that interface:
  • If the PLMN uses protection at the transport layer, authentication provided by the transport layer protection solution shall be used for mutual authentication of the SCP and the network functions.
  • If the PLMN does not use protection at the transport layer, mutual authentication of the SCP and network functions may be implicit by NDS/IP or physical security.
Authentication between the SCP and the Network Function may be implicit by co-location.
Authorization between the SCP and NFs is based on local authorization policy. Regarding the authorization of access token requests sent by an SCP on behalf of an NF Service Consumer, NOTE 3 in clause 13.3.1.2 applies.
Up

13.3.7  Authentication and authorization between SCPs |R16|p. 187

SCPs shall use one of the following methods as described in clause 13.1 to mutually authenticate each other before service layer messages can be exchanged on that interface:
  • If the PLMN uses protection at the transport layer, authentication provided by the transport layer protection solution shall be used for mutual authentication of the SCPs.
  • If the PLMN does not use protection at the transport layer, mutual authentication of the two SCPs may be implicit by NDS/IP or physical security.
Authorization between SCPs is based on local authorization policy.
Up

13.3.8  Client credentials assertion based authentication |R16|p. 187

13.3.8.1  Generalp. 187

The Client credentials assertion (CCA) is a token signed by the NF Service Consumer. It enables the NF Service Consumer to authenticate towards the receiving end point (NRF, NF Service Producer) by including the signed token in a service request.
It includes the NF Service Consumer's NF Instance ID that can be checked against the certificate by the NF Service Producer. The CCA includes a timestamp as basis for restriction of its lifetime.
CCAs are expected to be more short-lived than NRF generated access tokens. So, they can be used in deployments with requirements for tokens with shorter lifetime for NF-NF communication. There is a trade-off that when the lifetime of the CCA is too short, it requires the NF Service Consumer to generate a new CCA for every new service request.
The CCA cannot be used in the roaming case, as the NF Service Producer in the home PLMN will not be able to verify the signature of the NF Service Consumer in the visited PLMN unless cross-certification process is established between the two PLMNs through one of the mechanisms specified in TS 33.310.
CCA does not provide integrity protection on the full service request. Neither does it provide a mechanism for the NF Service Consumer to authenticate the NF Service Producer.
In this clause, CCAs are described generally for both NF-NRF communication and NF-NF communication.
Up

13.3.8.2  Client credentials assertionp. 187

CCAs shall be JSON Web Tokens as described in RFC 7519 and are secured with digital signatures based on JSON Web Signature (JWS) as described in RFC 7515.
The CCA shall include:
  • the NF instance ID of the NF Service Consumer (subject);
  • A timestamp (iat) and an expiration time (exp), and
  • The NF type of the expected audience (audience), i.e. the type "NRF" and/or the NF type of the NF Service Producer.
The NF Service Consumer shall digitally sign the generated CCA based on its private key as described in RFC 7515. The signed CCA shall include one of the following fields:
  • the X.509 URL (x5u) to refer to a resource for the X.509 public key certificate or certificate chain used for signing the client authentication assertion, or
  • the X.509 Certificate Chain (x5c) include the X.509 public key certificate or certificate chain used for signing the client authentication assertion.
Up

13.3.8.3  Verification of Client credentials assertionp. 188

The verification of the CCA shall be performed by the receiving node, i.e., NRF or NF Service Producer in the following way:
  • It validates the signature of the JWS as described in RFC 7515.
  • It validates the timestamp (iat) and/or the expiration time (exp) as specified in RFC 7519.
    If the receiving node is the NRF, the NRF validates the timestamp (iat) and the expiration time (exp).
    If the receiving node is the NF Service Producer, the NF Service Producer validates the expiration time and it may validate the timestamp.
  • It checks that the audience claim in the the CCA matches its own type.
  • It verifies that the NF instance ID of the NFc in the CCA matches the NF instance ID in the public key certificate used for signing the CCA.
Up

Up   Top   ToC