nuclei-templates/misconfiguration/httponly-cookie-detect.yaml

32 lines
793 B
YAML
Raw Normal View History

2023-03-23 11:42:27 +00:00
id: httponly-cookie-detect
2023-02-16 12:21:56 +00:00
info:
2023-03-23 11:42:27 +00:00
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
2023-02-16 12:21:56 +00:00
requests:
- method: GET
path:
2023-03-23 11:42:27 +00:00
- "{{BaseURL}}"
2023-02-16 12:21:56 +00:00
matchers-condition: and
matchers:
- type: word
part: header
words:
2023-03-23 11:42:27 +00:00
- Set-Cookie
2023-02-16 12:21:56 +00:00
- HttpOnly
2023-03-23 11:42:27 +00:00
condition: and
case-insensitive: true