nuclei-templates/http/exposures/apis/openapi.yaml

43 lines
939 B
YAML

id: openapi
info:
name: OpenAPI - Detect
author: pdteam,ynnirc
severity: info
description: OpenAPI was detected.
reference:
- https://www.openapis.org/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0
cwe-id: CWE-200
metadata:
max-request: 1
tags: exposure,api
http:
- method: GET
path:
- "{{BaseURL}}/openapi.json"
matchers-condition: and
matchers:
- type: word
words:
- openapi
- paths
condition: and
- type: word
part: header
words:
- application/openapi+json
- application/json
condition: or
- type: status
status:
- 200
# digest: 4b0a00483046022100aebbbfb61b53494a11771ec1d5661fee0afba212f4e5911ab9eb030afddcd90b022100a9c45435d3447a1c003f20503cafa44cb506029f635e30a4e172c2aedb5d087b:922c64590222798bb761d5b6d8e72950