+V3.3 Cookie Setup
---+V3.3.1 Verify that cookies have the 'Secure' attribute set, and if the '__Host-' prefix is not used for …
---+V3.3.2 Verify that each cookie's 'SameSite' attribute value is set according to the purpose of the cookie …
---+V3.3.3 Verify that cookies have the '__Host-' prefix for the cookie name unless they are explicitly …
---+V3.3.4 Verify that if the value of a cookie is not meant to be accessible to client-side scripts (such as …
---+V3.3.5 Verify that when the application writes a cookie, the cookie name and value length combined are not …

V3.3 Cookie Setup

This section outlines requirements for securely configuring sensitive cookies to provide a higher level of assurance that they were created by the application itself and to prevent their contents from leaking or being inappropriately modified.

1. Forbhreathnú

Teideal Caighdeán
V3.3.1 Verify that cookies have the 'Secure' attribute set, and if the '__Host-' prefix is not used for …

Verify that cookies have the 'Secure' attribute set, and if the '__Host-' prefix is not used for the cookie name, the '__Secure-' prefix must be used for the cookie name.

V3.3.2 Verify that each cookie's 'SameSite' attribute value is set according to the purpose of the cookie …

Verify that each cookie's 'SameSite' attribute value is set according to the purpose of the cookie, to limit exposure to user interface redress attacks and browser-based request forgery attacks, commonly known as cross-site request forgery (CSRF).

V3.3.3 Verify that cookies have the '__Host-' prefix for the cookie name unless they are explicitly …

Verify that cookies have the '__Host-' prefix for the cookie name unless they are explicitly designed to be shared with other hosts.

V3.3.4 Verify that if the value of a cookie is not meant to be accessible to client-side scripts (such as …

Verify that if the value of a cookie is not meant to be accessible to client-side scripts (such as a session token), the cookie must have the 'HttpOnly' attribute set and the same value (e. g. session token) must only be transferred to the client via the 'Set-Cookie' header field.

V3.3.5 Verify that when the application writes a cookie, the cookie name and value length combined are not …

Verify that when the application writes a cookie, the cookie name and value length combined are not over 4096 bytes. Overly large cookies will not be stored by the browser and therefore not sent with requests, preventing the user from using application functionality which relies on that cookie.

1.1 Tagairtí

1.2 Ceanglais aitheanta

1.3 Rialacháin ghaolmhara

2. Ceanglais aitheanta

Ceanglais
Foinse Ceanglas

3. Rialacháin ghaolmhara

Rialacháin
Foinse Rialáil
  • OWASP -

    EN: Publications of the OWASP Foundation, https://owasp.org/. OWASP® is a registered trademark of the OWASP Foundation, Inc.; GRCA is not affiliated with, nor endorsed by, the OWASP Foundation. Only the versions published by OWASP are authoritative.

    DE: Veröffentlichungen der OWASP Foundation, https://owasp.org/. OWASP® ist eine eingetragene Marke der OWASP Foundation, Inc.; GRCA steht in keiner Verbindung zur OWASP Foundation und wird von ihr nicht unterstützt. Maßgeblich sind allein die von OWASP veröffentlichten Fassungen.