nuclei-templates/miscellaneous/missing-hsts.yaml

18 lines
455 B
YAML
Raw Normal View History

2020-09-07 19:13:53 +00:00
id: missing-hsts
info:
2021-03-17 01:43:30 +00:00
name: Strict Transport Security Not Enforced
2020-09-07 19:13:53 +00:00
author: Dawid Czarnecki
2020-09-08 07:23:49 +00:00
severity: info
2021-04-01 18:35:08 +00:00
description: Checks if the HSTS is enabled by looking for Strict Transport Security response header.
2021-08-11 07:58:55 +00:00
tags: misc,generic
2021-04-01 18:35:08 +00:00
2020-09-07 19:13:53 +00:00
requests:
- method: GET
path:
- '{{BaseURL}}'
redirects: true
matchers:
- type: dsl
dsl:
2021-03-17 01:43:30 +00:00
- '!contains(tolower(all_headers), ''strict-transport-security'')'