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:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2023-03-23 11:42:27 +00:00
|
|
|
verified: true
|
|
|
|
tags: misconfig,http,cookie,generic
|
2023-02-16 12:21:56 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-02-16 12:21:56 +00:00
|
|
|
- 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
|