{
  "id": "2023/1325",
  "url": "https://opencryptology.org/2023/1325",
  "original_url": "https://eprint.iacr.org/2023/1325",
  "title": "The Grant Negotiation and Authorization Protocol: Attacking, Fixing, and Verifying an Emerging Standard",
  "authors": [
    "Florian Helmschmidt",
    "Pedram Hosseyni",
    "Ralf Kuesters",
    "Klaas Pruiksma",
    "Clara Waldmann",
    "Tim Würtele"
  ],
  "affiliations": null,
  "abstract": "The Grant Negotiation and Authorization Protocol (GNAP) is an emerging authorization and authentication protocol which aims to consolidate and unify several use-cases of OAuth 2.0 and many of its common extensions while providing a higher degree of security. OAuth 2.0 is an essential cornerstone of the security of authorization and authentication for the Web, IoT, and beyond, and is used, among others, by many global players, like Google, Facebook, and Microsoft. Because of historically grown limitations and issues of OAuth 2.0 and its various extensions, prominent members of the OAuth community decided to create GNAP, a new and completely resigned authorization and authentication protocol. Given GNAP's advantages over OAuth 2.0 and its support within the OAuth community, GNAP is expected to become at least as important as OAuth 2.0.\n\nIn this paper, we present the first formal security analysis of GNAP. We build a detailed formal model of GNAP, based on the Web Infrastructure Model (WIM) of Fett, Küsters, and Schmitz.  Based on this model, we provide formal statements of the key security properties of GNAP, namely, authorization, authentication, and session integrity for both authorization and authentication. In the process of trying to prove these properties, we have discovered several attacks on GNAP. We present these attacks as well as modifications to the protocol that prevent them. These modifications have been incorporated into the GNAP specification after discussion with the GNAP working group. We give the first formal security guarantees for GNAP, by proving that GNAP, with our modifications applied, satisfies the mentioned security properties.\n\nGNAP was still an early draft when we started our analysis, but is now on track to be adopted as an IETF standard. Hence, our analysis is just in time to help ensure the security of this important emerging standard.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“The Grant Negotiation and Authorization Protocol: Attacking, Fixing, and Verifying an Emerging Standard” by Florian Helmschmidt, Pedram Hosseyni, Ralf Kuesters, Klaas Pruiksma, Clara Waldmann, Tim Würtele, Cryptology ePrint Archive, Paper 2023/1325, https://eprint.iacr.org/2023/1325. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-09-05T16:45:54Z",
    "updated": "2023-09-05T16:45:54Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1325.pdf",
    "sha256": "2507c8aa82bf08f504c9d41f9fedfd8fcaea84ef073e9f21bfcdb20196c16c1d",
    "size": 1034268,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1325/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1325.pdf",
      "size": 1034268,
      "sha256": "2507c8aa82bf08f504c9d41f9fedfd8fcaea84ef073e9f21bfcdb20196c16c1d",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260225161206id_/https://eprint.iacr.org/2023/1325.pdf",
      "captured_at": "2026-02-25T16:12:06Z",
      "size": 1018721
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1325.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 1034268
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1325,\n      author = {Florian Helmschmidt and Pedram Hosseyni and Ralf Kuesters and Klaas Pruiksma and Clara Waldmann and Tim Würtele},\n      title = {The Grant Negotiation and Authorization Protocol: Attacking, Fixing, and Verifying an Emerging Standard},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1325},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1325}\n}"
}
