2021-07-30 10:16:30 +00:00
|
|
|
id: appspec-yml-disclosure
|
2021-07-21 05:39:04 +00:00
|
|
|
|
|
|
|
info:
|
2023-02-08 18:17:05 +00:00
|
|
|
name: Appspec YML/YAML - Detect
|
2021-07-21 05:39:04 +00:00
|
|
|
author: dhiyaneshDk
|
|
|
|
severity: medium
|
2023-02-08 18:17:05 +00:00
|
|
|
description: Appspec YML and YAML files are susceptible to information disclosure.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/appsec-yml-disclosure.json
|
2023-02-08 18:17:05 +00:00
|
|
|
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
|
2021-07-21 05:39:04 +00:00
|
|
|
tags: exposure,config
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2021-07-21 05:39:04 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-21 05:39:04 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/appspec.yml"
|
|
|
|
- "{{BaseURL}}/appspec.yaml"
|
2021-07-22 11:02:37 +00:00
|
|
|
|
2021-07-21 05:39:04 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-07-22 11:02:37 +00:00
|
|
|
- "version:"
|
|
|
|
- "os:"
|
|
|
|
- "files:"
|
2021-07-21 05:39:04 +00:00
|
|
|
part: body
|
2021-07-22 11:02:37 +00:00
|
|
|
condition: and
|
2021-07-23 18:42:28 +00:00
|
|
|
|
2021-07-21 05:39:04 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|