Appspec YML/YAML - Detect
ID: appspec-yml-disclosure
Severity: medium
Author: dhiyaneshDk
Tags: exposure,config
Description
Section titled “Description”Appspec YML and YAML files are susceptible to information disclosure.
YAML Source
Section titled “YAML Source”id: appspec-yml-disclosure
info: name: Appspec YML/YAML - Detect author: dhiyaneshDk severity: medium description: Appspec YML and YAML files are susceptible to information disclosure. reference: - https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/appsec-yml-disclosure.json classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N cvss-score: 5.3 cwe-id: CWE-200 metadata: max-request: 2 tags: exposure,config
http: - method: GET path: - "{{BaseURL}}/appspec.yml" - "{{BaseURL}}/appspec.yaml"
matchers-condition: and matchers: - type: word words: - "version:" - "os:" - "files:" part: body condition: and
- type: word part: header words: - "text/html" negative: true
- type: status status: - 200# digest: 4b0a0048304602210084e85088dfb811512bf36f66ca2f01ac4e1be9e891ece8e34b615ac4863302a2022100f3a65664b4fbbad40d093e59328c3486f2444b3d090363be04bb4a8fa5b90b32:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/configs/appspec-yml-disclosure.yaml"