2022-12-01 05:21:58 +00:00
|
|
|
id: openstack-user-secrets
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: OpenStack User Secrets Exposure
|
|
|
|
author: geeknik
|
|
|
|
severity: high
|
2024-01-02 16:16:15 +00:00
|
|
|
description: Internal user_secrets.yml file is exposed in OpenStack.
|
2022-12-01 05:21:58 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.openstack.org/project-deploy-guide/openstack-ansible/stein/configure.html
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 2
|
2022-12-01 05:21:58 +00:00
|
|
|
github-query: filename:user_secrets.yml
|
2022-12-04 05:43:39 +00:00
|
|
|
tags: openstack,config,exposure,files
|
2022-12-01 05:21:58 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-12-01 05:21:58 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/user_secrets.yml"
|
|
|
|
- "{{BaseURL}}/user_secrets.yml.old"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-12-01 05:21:58 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2022-12-01 19:14:20 +00:00
|
|
|
- "_password:"
|
2022-12-01 05:21:58 +00:00
|
|
|
- "OpenStack environment"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 4b0a00483046022100bc65b404f0b3f7de79d681c5a40e5e6c34d2b750930ce283e179918515c81ec7022100a7b5f59442ee40fe8890d24b5142fd409201b39f46241c7765535fe8e9c059f8:922c64590222798bb761d5b6d8e72950
|