2022-07-04 17:06:36 +00:00
|
|
|
id: cloud-config
|
|
|
|
|
|
|
|
info:
|
2022-07-05 04:17:31 +00:00
|
|
|
name: Cloud Config Yaml - File Disclosure
|
2022-07-04 17:06:36 +00:00
|
|
|
author: DhiyaneshDK
|
2022-07-05 04:17:31 +00:00
|
|
|
severity: medium
|
2022-07-04 17:06:36 +00:00
|
|
|
reference: https://www.exploit-db.com/ghdb/7959
|
|
|
|
metadata:
|
2022-07-05 04:24:17 +00:00
|
|
|
verified: true
|
2022-07-04 17:06:36 +00:00
|
|
|
shodan-query: html:"cloud-config.yml"
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: exposure,cloud,devops,files
|
2022-07-04 17:06:36 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-07-05 04:17:31 +00:00
|
|
|
- "{{BaseURL}}/cloud-config.yml"
|
2022-07-04 17:06:36 +00:00
|
|
|
- "{{BaseURL}}/core-cloud-config.yml"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'ssh_authorized_keys'
|
2022-07-05 04:17:31 +00:00
|
|
|
- '#cloud-config'
|
|
|
|
condition: and
|
2022-07-04 17:06:36 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|