2021-02-24 16:47:10 +00:00
|
|
|
id: openapi
|
|
|
|
|
|
|
|
info:
|
2023-02-05 18:06:10 +00:00
|
|
|
name: OpenAPI - Detect
|
2022-12-05 13:33:45 +00:00
|
|
|
author: pdteam,ynnirc
|
2021-02-24 16:47:10 +00:00
|
|
|
severity: info
|
2023-02-05 21:40:14 +00:00
|
|
|
description: OpenAPI was detected.
|
2023-02-06 20:44:34 +00:00
|
|
|
reference:
|
|
|
|
- https://www.openapis.org/
|
2023-02-05 16:17:48 +00:00
|
|
|
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.0
|
|
|
|
cwe-id: CWE-200
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: exposure,api
|
2021-02-24 16:47:10 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/openapi.json"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- openapi
|
|
|
|
- paths
|
|
|
|
condition: and
|
|
|
|
|
2023-01-16 10:36:39 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- application/openapi+json
|
|
|
|
- application/json
|
|
|
|
condition: or
|
|
|
|
|
2021-02-24 16:47:10 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-02-05 16:17:48 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2023/02/05
|