mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-04 17:53:27 +08:00
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
id: application-yaml
|
|
|
|
info:
|
|
name: application.yaml detection
|
|
author: Cristi vlad (@cristivlad25)
|
|
severity: info
|
|
description: Finds Application YAML files which often contain sensitive information.
|
|
metadata:
|
|
max-request: 4
|
|
tags: misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/app.yaml"
|
|
- "{{BaseURL}}/app.yml"
|
|
- "{{BaseURL}}/application.yaml"
|
|
- "{{BaseURL}}/application.yml"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
condition: or
|
|
words:
|
|
- "runtime:"
|
|
- "spring:"
|
|
- "datasource:"
|
|
- "platform:"
|
|
- "server:"
|
|
- "job:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: dsl
|
|
dsl:
|
|
- "!contains(tolower(body), '<html')"
|
|
- "!contains(tolower(body), '<body')"
|
|
- "!contains(tolower(body), '</h1>')"
|
|
- "!contains(tolower(body), '</h2>')"
|
|
- "!contains(tolower(body), '</h3>')"
|
|
- "!contains(tolower(body), '<?xml')"
|
|
condition: and
|
|
# digest: 4b0a00483046022100ccd31dce0695bb00216167caf2f99f3f20888c95ef545b5370e45e3cc692e050022100df2169bc7d9b889867c77c6b5181d1b2bc3a84a29b35e3dfdfa478a3fb1ec410:922c64590222798bb761d5b6d8e72950 |