2022-07-04 17:06:36 +00:00
|
|
|
id: cloud-config
|
|
|
|
|
|
|
|
info:
|
2022-12-20 04:26:55 +00:00
|
|
|
name: Cloud Config File Exposure
|
|
|
|
author: DhiyaneshDK,Hardik-Solanki
|
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:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 3
|
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
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-04 17:06:36 +00:00
|
|
|
- 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"
|
2022-12-20 04:26:55 +00:00
|
|
|
- '{{BaseURL}}/cloud-config.txt'
|
2022-07-04 17:06:36 +00:00
|
|
|
|
|
|
|
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
|