id: openstack-user-secrets info: name: OpenStack User Secrets Exposure author: geeknik severity: high description: Internal user_secrets.yml file is exposed in OpenStack. reference: - https://docs.openstack.org/project-deploy-guide/openstack-ansible/stein/configure.html metadata: verified: true max-request: 2 github-query: filename:user_secrets.yml tags: openstack,config,exposure,files http: - method: GET path: - "{{BaseURL}}/user_secrets.yml" - "{{BaseURL}}/user_secrets.yml.old" stop-at-first-match: true matchers-condition: and matchers: - type: word part: body words: - "_password:" - "OpenStack environment" condition: and - type: status status: - 200 # digest: 4b0a00483046022100bc65b404f0b3f7de79d681c5a40e5e6c34d2b750930ce283e179918515c81ec7022100a7b5f59442ee40fe8890d24b5142fd409201b39f46241c7765535fe8e9c059f8:922c64590222798bb761d5b6d8e72950