# AES-GCM key used twice with the same nonce (classification I.5, D22; [R42]).
case: aead-nonce-reuse
subject: {secret_role: long-term, algorithm: AES-GCM, parameters: "256-bit key, 96-bit counter nonce", context: "record encryption key of a VPN gateway whose nonce counter restarts at zero after a reboot"}
validity: {status: valid}
findings:
  - class: C1
    objective: forge
    relation:
      subtype: cross-execution
      observations: "two records encrypted under this key with the same nonce"
      feasible: true
    evidence: demonstrated
    note: "The two records reveal the authentication subkey; the owner's own tester forged a record in the lab. The nonce is public and only has to be unique: it is not a secret, has no required security level, and gets no B2 and no report of its own. Confidentiality is lost as well: the XOR of the two plaintexts follows from the two ciphertexts."
    sources: [R42]
disposition: {action: treat-as-compromised, rule: 2, note: "No C2: the forgery was made by an authorized tester and the encryption key itself was not recovered. No B2: the key was generated correctly. Replace the key and fix the nonce counter."}
