32 lines
789 B
YAML
32 lines
789 B
YAML
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.0
|
|
metadata:
|
|
verified: true
|
|
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
|