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,vuln

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: 4a0a00473045022100cded55c9fbe2c06ed5180d5b2449515d7cb1ec5c66ad17dd6c970a795e29cb3b022005dbbdfd5b3b8a2766f4e496e237c78f08c1dfbffdad3d6aa8239ea93eae5da4:922c64590222798bb761d5b6d8e72950