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: 490a0046304402204af16b2ededa9d6752d967ad19e65d371adb6b948de814bb6d9fffb4e575a38602206e328ff311820f614c1b853dc9129704073869698be35fddf366e57118a9cdb5:922c64590222798bb761d5b6d8e72950