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:
|
|
|
|
name: nginx version detect
|
|
|
|
author: philippedelteil
|
|
|
|
description: Some nginx servers have the version on the response header. Useful when you need to find specific CVEs on your targets.
|
|
|
|
severity: info
|
2021-09-09 13:38:13 +00:00
|
|
|
tags: tech,nginx
|
|
|
|
|
2021-05-02 10:56:43 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
part: header
|
|
|
|
regex:
|
|
|
|
- "nginx+"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: kval
|
|
|
|
part: header
|
|
|
|
kval:
|
|
|
|
- Server
|