id: CVE-2022-38817

info:
  name: Dapr Dashboard 0.1.0-0.10.0 - Improper Access Control
  author: For3stCo1d
  severity: high
  description: |
    Dapr Dashboard 0.1.0 through 0.10.0 is susceptible to improper access control. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    The vulnerability allows unauthorized access to the Dapr Dashboard, potentially leading to unauthorized actions and data exposure.
  remediation: |
    Upgrade Dapr Dashboard to a version that includes the fix for CVE-2022-38817 or apply the necessary patches provided by the vendor.
  reference:
    - https://github.com/dapr/dashboard/issues/222
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38817
    - https://github.com/dapr/dashboard
    - https://nvd.nist.gov/vuln/detail/CVE-2022-38817
    - https://github.com/Miraitowa70/POC-Notes
  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-38817
    cwe-id: CWE-306
    epss-score: 0.0132
    epss-percentile: 0.8595
    cpe: cpe:2.3:a:linuxfoundation:dapr_dashboard:*:*:*:*:*:*:*:*
  metadata:
    max-request: 3
    vendor: linuxfoundation
    product: dapr_dashboard
    shodan-query:
      - http.title:"Dapr Dashboard"
      - http.title:"dapr dashboard"
    fofa-query: title="dapr dashboard"
    google-query: intitle:"dapr dashboard"
  tags: cve,cve2022,dapr,dashboard,unauth,linuxfoundation

http:
  - method: GET
    path:
      - "{{BaseURL}}/components/statestore"
      - "{{BaseURL}}/overview"
      - "{{BaseURL}}/controlplane"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Dapr Dashboard</title>'

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