2023-11-14 04:47:33 +00:00
|
|
|
id: azuredeploy-json
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Azure Resource Manager Template - File Exposure
|
|
|
|
author: DhiyaneshDk
|
|
|
|
severity: medium
|
2024-01-02 16:16:15 +00:00
|
|
|
description: Azure Resource Manager deploy file is disclosed.
|
2023-11-14 04:47:33 +00:00
|
|
|
reference:
|
|
|
|
- https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/parameter-files
|
|
|
|
- https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-use-template-reference?tabs=CLI
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
max-request: 1
|
|
|
|
fofa-query: body="azuredeploy.json"
|
|
|
|
tags: azure,exposure,files
|
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/azuredeploy.json"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"$schema":'
|
|
|
|
- '"contentVersion":'
|
|
|
|
- '"parameters":'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 4a0a00473045022009055aa8bdcad89594a0afc0429feaffc1ebb851a49aa66b5d3110cb56b1491e022100a6dbdd37f39304d801c0528d4c6dc90f591eed5dbf1cece8a136d1bf3ebc9431:922c64590222798bb761d5b6d8e72950
|