Create jupyter-notebooks-exposed.yaml (#4561)

patch-1
johnk3r 2022-06-08 18:41:58 -03:00 committed by GitHub
parent ebb876e944
commit 12eb845991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
id: jupyter-notebooks-exposed
info:
name: Jupyter notebooks exposed to reading and writing
author: johnk3r
severity: High
reference:
- https://blog.aquasec.com/python-ransomware-jupyter-notebook
metadata:
shodan-query: title:"Home Page - Select or create a notebook"
tags: jupyter,misconfig
requests:
- method: GET
path:
- "{{BaseURL}}"
redirects: true
max-redirects: 1
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '<title>Home Page - Select or create a notebook</title>'
- '<div> There are no notebooks running. </div>'
condition: or