2021-05-02 10:56:43 +00:00
|
|
|
id: nginx-version
|
2021-09-09 13:38:13 +00:00
|
|
|
|
2021-05-02 10:56:43 +00:00
|
|
|
info:
|
2022-05-06 10:11:26 +00:00
|
|
|
name: Nginx version detect
|
|
|
|
author: philippedelteil,daffainfo
|
2021-05-02 10:56:43 +00:00
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
description: Some nginx servers have the version on the response header. Useful when you need to find specific CVEs on your targets.
|
2021-09-09 13:38:13 +00:00
|
|
|
tags: tech,nginx
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-09-09 13:38:13 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-05-02 10:56:43 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
2022-05-06 10:11:26 +00:00
|
|
|
|
2021-05-02 10:56:43 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
part: header
|
|
|
|
regex:
|
2022-05-07 10:43:34 +00:00
|
|
|
- 'nginx/[0-9.]+'
|
2021-05-02 10:56:43 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
2022-05-06 10:11:26 +00:00
|
|
|
- type: regex
|
2021-05-02 10:56:43 +00:00
|
|
|
part: header
|
2022-05-06 10:11:26 +00:00
|
|
|
regex:
|
2022-05-07 10:43:34 +00:00
|
|
|
- 'nginx/[0-9.]+'
|