nuclei-templates/http/misconfiguration/application-yaml.yaml

47 lines
1.3 KiB
YAML
Raw Normal View History

2021-10-22 16:49:12 +00:00
id: application-yaml
2021-10-22 09:17:44 +00:00
info:
2021-10-22 16:49:12 +00:00
name: application.yaml detection
2021-10-22 09:17:44 +00:00
author: Cristi vlad (@cristivlad25)
2021-10-22 16:49:12 +00:00
severity: info
description: Finds Application YAML files which often contain sensitive information.
metadata:
max-request: 4
2023-10-14 11:27:55 +00:00
tags: misconfig
2021-10-22 09:17:44 +00:00
http:
2021-10-22 09:17:44 +00:00
- method: GET
path:
- "{{BaseURL}}/app.yaml"
- "{{BaseURL}}/app.yml"
- "{{BaseURL}}/application.yaml"
- "{{BaseURL}}/application.yml"
2021-10-22 16:49:12 +00:00
2021-10-22 09:17:44 +00:00
stop-at-first-match: true
2023-10-14 11:27:55 +00:00
2021-10-22 09:17:44 +00:00
matchers-condition: and
matchers:
- type: word
condition: or
2021-10-22 16:49:12 +00:00
words:
- "runtime:"
- "spring:"
- "datasource:"
- "platform:"
- "server:"
- "job:"
2021-10-22 09:17:44 +00:00
- type: status
status:
- 200
2021-10-22 16:49:12 +00:00
2021-10-22 09:17:44 +00:00
- type: dsl
dsl:
- "!contains(tolower(body), '<html')"
- "!contains(tolower(body), '<body')"
- "!contains(tolower(body), '</h1>')"
- "!contains(tolower(body), '</h2>')"
- "!contains(tolower(body), '</h3>')"
2023-10-14 11:27:55 +00:00
- "!contains(tolower(body), '<?xml')"
2024-02-26 10:53:56 +00:00
condition: and
# digest: 4a0a0047304502206e87bf1b430705aa0b8e1eb3a56d815b944768c456830ce00e5908a4e37b0461022100841233b78c9755b2e8b24b6114d3bd06b9838641470eade3c0373b622804edfc:922c64590222798bb761d5b6d8e72950