id: unauthenticated-tensorboard

info:
  name: Tensorflow Tensorboard - Unauthenticated Access
  author: dhiyaneshDk
  severity: high
  description: Tensorflow Tensorboard was able to be accessed with no authentication requirements in place.
  metadata:
    max-request: 1
  tags: tensorflow,tensorboard,unauth,misconfig

http:
  - method: GET
    path:
      - '{{BaseURL}}/data/plugins_listing'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'scalars'
          - 'loading_mechanism'
          - 'custom_scalars'
        condition: and

      - type: status
        status:
          - 200

# digest: 4a0a00473045022058560a030430f760e66726b3ac05d4b27f4687216b5413046c45b2c7c69eca3f022100d49feaf2ddcad93dcf7f146e0832c0ec7ec76a00e9265d26cb434f59c29826fa:922c64590222798bb761d5b6d8e72950
