id: jupyter-ipython-unauth

info:
  name: Jupyter ipython - Authorization Bypass
  author: pentest_swissky
  severity: critical
  description: Jupyter was able to be accessed without authentication.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cwe-id: CWE-288
  metadata:
    max-request: 1
  tags: unauth,jupyter,misconfig

http:
  - method: GET
    path:
      - "{{BaseURL}}/ipython/tree"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - ipython/static/components
          - ipython/kernelspecs
        part: body
# digest: 4b0a00483046022100e27de23cea64553ec6041cdaca1f1748d8307524d82dd1dfe7c02d255d242403022100f91fe6dc2fef60a41b1e30fd2a9d6d04a692e0b1f2c6ae6b000a67c445a9c768:922c64590222798bb761d5b6d8e72950