39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
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: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a0047304502207a4b0932e4bf9a73ac47c834c7ad8a7afaebc6467f319c5838c3cdbd961ea27f022100f61bb08a799e587699696f96e8e7e3def08d20af7de79c5e24fc939735ed36d4:922c64590222798bb761d5b6d8e72950
|