id: httponly-cookie-detect info: name: HttpOnly Cookie - Detect author: Mr. Bobo HP severity: info description: | Checks whether cookies in the HTTP response contain the HttpOnly attribute. If the HttpOnly flag is set, it means that the cookie is HTTP-only reference: - https://stackoverflow.com/questions/4316539/how-do-i-test-httponly-cookie-flag classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N cvss-score: 0 metadata: verified: true max-request: 1 tags: misconfig,http,cookie,generic http: - method: GET path: - "{{BaseURL}}" matchers-condition: and matchers: - type: word part: header words: - Set-Cookie - HttpOnly condition: and case-insensitive: true # digest: 490a0046304402207aea4f66841920dd854bfb78b8f8976dfce17e524b019c56457d0e8bd46fac0a0220298f5fa7b968b183c6e1192bf731eaaf267414e55014ad43627b9ccedfe87854:922c64590222798bb761d5b6d8e72950