-
-
Save emadshanab/d3359d3c8d2dd11d77b240d6dab61733 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: swagger-ui | |
info: | |
name: Swagger UI | |
author: vidocsecurity | |
severity: low | |
description: Swagger UI exposes information about endpoints and sometimes it is vulnerable tu XSS | |
tags: swagger-ui,exposure | |
requests: | |
- method: "GET" | |
path: | |
- '{{BaseURL}}/' | |
- '{{BaseURL}}/index.html' | |
- '{{BaseURL}}/swagger-ui' | |
- '{{BaseURL}}/api/' | |
- '{{BaseURL}}/docs/' | |
- '{{BaseURL}}/idm/v2/api-docs' | |
- '{{BaseURL}}/docs/api-reference' | |
- '{{BaseURL}}/swaggerui' | |
- '{{BaseURL}}/api/help' | |
- '{{BaseURL}}/doc' | |
- '{{BaseURL}}/api-reference' | |
- '{{BaseURL}}/swagger/docs/v1' | |
- '{{BaseURL}}/reference' | |
- '{{BaseURL}}/swagger/ui/index' | |
- '{{BaseURL}}/swagger/index.html' | |
- '{{BaseURL}}/swagger-ui.html' | |
- '{{BaseURL}}/swagger/swagger-ui.html' | |
- '{{BaseURL}}/api/swagger-ui.html' | |
- '{{BaseURL}}/api-docs/' | |
- '{{BaseURL}}/api/index.html' | |
- '{{BaseURL}}/api/docs/' | |
- '{{BaseURL}}/api/swagger/index.html' | |
- '{{BaseURL}}/api/swagger/swagger-ui.html' | |
- '{{BaseURL}}/api/swagger-ui/api-docs' | |
- '{{BaseURL}}/api/api-docs' | |
- '{{BaseURL}}/api/apidocs' | |
- '{{BaseURL}}/api/swagger' | |
- '{{BaseURL}}/api/swagger/static/index.html' | |
- '{{BaseURL}}/api/swagger-resources' | |
- '{{BaseURL}}/api/swagger-resources/restservices/v2/api-docs' | |
- '{{BaseURL}}/api/__swagger__/' | |
- '{{BaseURL}}/api/_swagger_/' | |
- '{{BaseURL}}/api/spec' | |
- '{{BaseURL}}/api/swagger/ui/index' | |
- '{{BaseURL}}/__swagger__/' | |
- '{{BaseURL}}/api/v2/doc' | |
- '{{BaseURL}}/api/v1/' | |
- '{{BaseURL}}/api/v1/doc' | |
- '{{BaseURL}}/_swagger_/' | |
- '{{BaseURL}}/swagger-resources/restservices/v2/api-docs' | |
- '{{BaseURL}}/classicapi/doc/' | |
- '{{BaseURL}}/api/v1/openapi' | |
redirects: true | |
max-redirects: 3 | |
matchers-condition: and | |
matchers: | |
- type: word | |
part: body | |
condition: and | |
words: | |
- "Swagger UI" | |
- type: status | |
condition: and | |
status: | |
- 200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment