Create jupyter-notebooks-exposed.yaml (#4561)
parent
ebb876e944
commit
12eb845991
|
@ -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
|
Loading…
Reference in New Issue