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.
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: tech,nginx
|
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.]+'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100a435d89ee59a406de9b399b6eecee5358ea65b446d76e317759d8f7eba68fd8a022100dd8e199379caf2edbae76263b69e68d63fe013475f4520fe33ebbac0a28c85a8:922c64590222798bb761d5b6d8e72950
|