Skip to content

Commit b336a4e

Browse files
authored
Add a security consideration not to use VP Token as Access Token. (#702)
5 approvals. open for more than a week. agreement to merge during a WG call
1 parent c39f50e commit b336a4e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

1.1/openid-4-verifiable-presentations-1_1.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1882,6 +1882,10 @@ Implementations of this specification MUST have security mechanisms in place to
18821882

18831883
Clients intending to authenticate the End-User utilizing a claim in a Credential MUST ensure this claim is stable for the End-User as well as locally unique and never reassigned within the Credential Issuer to another End-User. Such a claim MUST also only be used in combination with the Credential Issuer identifier to ensure global uniqueness and to prevent attacks where an attacker obtains the same claim from a different Credential Issuer and tries to impersonate the legitimate End-User.
18841884

1885+
## VP Token abuse {#vp-token-abuse}
1886+
1887+
Ecosystems MUST NOT use the VP Token as an Access Token. The way to produce Access Tokens based on Credential presentations is out of scope of this specification.
1888+
18851889
## Encrypting an Unsigned Response {#encrypting_unsigned_response}
18861890

18871891
Because an encrypted Authorization Response has no additional integrity protection, an attacker might be able to alter Authorization Response parameters and generate a new encrypted Authorization Response for the Verifier, as encryption is performed using the public key of the Verifier (which is likely to be widely known when not ephemeral to the request/response). Note this includes injecting a new VP Token. Since the contents of the VP Token are integrity protected, tampering with the VP Token is detectable by the Verifier. For details, see (#preventing-replay).
@@ -2544,6 +2548,7 @@ The following security considerations from OpenID4VP apply:
25442548

25452549
* Preventing Replay of Verifiable Presentations as described in (#preventing-replay), with the difference that the origin is used instead of the Client Identifier to bind the response to the Client.
25462550
* End-User Authentication using Credentials as described in (#end-user-authentication-using-credentials).
2551+
* VP Token abuse (#vp-token-abuse).
25472552
* Encrypting an Unsigned Response as described in (#encrypting_unsigned_response).
25482553
* TLS Requirements as described in (#tls-requirements).
25492554
* Always Use the Full Client Identifier as described in (#full-client-identifier) for signed requests.
@@ -3562,4 +3567,5 @@ The technology described in this specification was made available from contribut
35623567

35633568
-01
35643569

3565-
* Clarify that `encrypted_response_enc_values_supported` applies only if JWE content encryption algorithm is used; e.g., it does not apply to JOSE HPKE
3570+
* Add security consideration not to use VP Token as Access Token
3571+
* Clarify that `encrypted_response_enc_values_supported` applies only if JWE content encryption algorithm is used; e.g., it does not apply to JOSE HPKE

0 commit comments

Comments
 (0)