AWS AmazonCloudFront: Add CloudFront-Viewer-TLS-Details header and Viewer-ISP docs
Summary
Adds documentation for a new CloudFront-Viewer-TLS-Details header that exposes TLS version, cipher suite, handshake type, negotiated key exchange (including post-quantum X25519MLKEM768), signature scheme, and certificate public-key type to origin request policies. Also documents the new CloudFront-Viewer-ISP header and fixes minor typos/grammar in existing header descriptions.
Security assessment
The change documents a header exposing negotiated TLS parameters (cipher, key exchange, signature scheme, certificate key type) and explicitly mentions post-quantum key exchanges (X25519MLKEM768, mldsa65), enabling customers to audit/verify the cryptographic strength of viewer connections. It is new security-relevant documentation rather than remediation of a specific vulnerability.
Evidence
* `CloudFront-Viewer-TLS-Details` – Contains the SSL/TLS version, the cipher, information about the SSL/TLS handshake, and the public-key algorithms that the viewer and CloudFront negotiated for the connection.
Diff
diff --git a/AmazonCloudFront/latest/DeveloperGuide/adding-cloudfront-headers.md b/AmazonCloudFront/latest/DeveloperGuide/adding-cloudfront-headers.md index 67dedd2..21b54db 100644 --- a//AmazonCloudFront/latest/DeveloperGuide/adding-cloudfront-headers.md +++ b//AmazonCloudFront/latest/DeveloperGuide/adding-cloudfront-headers.md @@ -64,0 +65,2 @@ You can add the following headers to determine the viewer's location. CloudFront + * `CloudFront-Viewer-ISP` – Contains the name of the viewer's internet service provider (ISP). You can add this header only in an origin request policy, not in a cache policy or with legacy cache settings. CloudFront doesn't percent-encode this header's value, and doesn't add the header when it can't determine the viewer's ISP. + @@ -76 +78 @@ When you add the following headers, CloudFront applies them to all requests _exc - * `CloudFront-Viewer-Country-Region` – Contains a code (up to three characters) that represent the viewer's region. The region is the first-level subdivision (the broadest or least specific) of the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) code. + * `CloudFront-Viewer-Country-Region` – Contains a code (up to three characters) that represents the viewer's region. The region is the first-level subdivision (the broadest or least specific) of the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) code. @@ -88 +90 @@ When you add the following headers, CloudFront applies them to all requests _exc - * `CloudFront-Viewer-Time-Zone` Contains the viewer's time zone, in [IANA time zone database format](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) (for example, `America/Los_Angeles`). + * `CloudFront-Viewer-Time-Zone` – Contains the viewer's time zone, in [IANA time zone database format](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) (for example, `America/Los_Angeles`). @@ -110 +112 @@ You can add the following headers to help identify the viewer based on the heade -You can add the following headers to determine the viewer's JA3 fingerprint, JA4 fingerprint, and TLS connection details: +You can add the following headers to determine the viewer's JA3 fingerprint, JA4 fingerprint, and TLS connection details. The TLS connection details include the key exchange and signature algorithms that the viewer and CloudFront negotiated. @@ -139,0 +142,38 @@ For the full list of possible SSL/TLS versions and ciphers that can be in this h + * `CloudFront-Viewer-TLS-Details` – Contains the SSL/TLS version, the cipher, information about the SSL/TLS handshake, and the public-key algorithms that the viewer and CloudFront negotiated for the connection. This header includes the same information as `CloudFront-Viewer-TLS`. It also adds the key exchange algorithm, the signature scheme, and the type of public key in the certificate that CloudFront presented to the viewer. You can use this header to determine whether a connection used a post-quantum key exchange. The header value is a JSON object in the following format: + + {"tlsVersion":"SSL/TLS_version","cipherSuite":"cipher","handshakeType":"handshake_information","keyExchange":"key_exchange","signatureScheme":"signature_scheme","signaturePublicKeyType":"public_key_type"} + +The header value contains the following fields: + + * `tlsVersion` – The SSL/TLS version that was used for the connection. For example, `TLSv1.3`. + + * `cipherSuite` – The cipher that was used for the connection. For example, `TLS_AES_128_GCM_SHA256`. + + * `handshakeType` – Information about the SSL/TLS handshake: `fullHandshake`, `sessionResumed`, or `connectionReused`. These are the same values as in the `CloudFront-Viewer-TLS` header. + + * `keyExchange` – The key exchange group that was negotiated for the connection. For example, `x25519`, `secp256r1`, or `X25519MLKEM768`. For the list of classical and quantum-safe key exchanges that CloudFront supports, see [OpenSSL, s2n, and RFC cipher names](./secure-connections-supported-viewer-protocols-ciphers.html#secure-connections-openssl-rfc-cipher-names). + + * `signatureScheme` – The signature scheme that CloudFront used to authenticate itself to the viewer. For example, `ecdsa_secp256r1_sha256` or `rsa_pss_rsae_sha256`. + + * `signaturePublicKeyType` – The type and size of the public key in the certificate that CloudFront presented to the viewer. For example, `rsa2048`, `ecdsa_secp256r1`, or `mldsa65`. + +When a previous SSL/TLS session is resumed, CloudFront sets the fields that don't apply to the resumed session to `NONE`: + + * For a resumed TLS 1.2 session, `keyExchange`, `signatureScheme`, and `signaturePublicKeyType` are `NONE`. + + * For a resumed TLS 1.3 session, `keyExchange` contains the negotiated key exchange group because TLS 1.3 performs a new key exchange when it resumes a session. `signatureScheme` and `signaturePublicKeyType` are `NONE`. + +If CloudFront can't determine the value of a field, the field is empty. + +The following are some example values for this header: + + {"tlsVersion":"TLSv1.3","cipherSuite":"TLS_AES_128_GCM_SHA256","handshakeType":"fullHandshake","keyExchange":"X25519MLKEM768","signatureScheme":"ecdsa_secp256r1_sha256","signaturePublicKeyType":"ecdsa_secp256r1"} + + {"tlsVersion":"TLSv1.3","cipherSuite":"TLS_AES_128_GCM_SHA256","handshakeType":"sessionResumed","keyExchange":"x25519","signatureScheme":"NONE","signaturePublicKeyType":"NONE"} + + {"tlsVersion":"TLSv1.2","cipherSuite":"ECDHE-RSA-AES128-GCM-SHA256","handshakeType":"fullHandshake","keyExchange":"secp256r1","signatureScheme":"rsa_pkcs1_sha256","signaturePublicKeyType":"rsa2048"} + + {"tlsVersion":"TLSv1.2","cipherSuite":"ECDHE-RSA-AES128-GCM-SHA256","handshakeType":"sessionResumed","keyExchange":"NONE","signatureScheme":"NONE","signaturePublicKeyType":"NONE"} + +For the full list of possible SSL/TLS versions and ciphers that can be in this header value, see [Supported protocols and ciphers between viewers and CloudFront](./secure-connections-supported-viewer-protocols-ciphers.html). + @@ -147 +187 @@ For the full list of possible SSL/TLS versions and ciphers that can be in this h - * For these TLS-related headers, you can add them to a [origin request policy](./controlling-origin-requests.html), but not in a [cache policy](./controlling-the-cache-key.html). + * For these TLS-related headers, you can add them to an [origin request policy](./controlling-origin-requests.html), but not in a [cache policy](./controlling-the-cache-key.html).