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.77272
    epss-percentile: 0.98997
    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,vuln

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: 4a0a0047304502210090b709b3db12a3befafe10d2b2b5033ac452f8c21ceb594ee8a3e64c848b6ecd02206fa8796f89425a3a1b0fb88b51070d32325e7d96b2c9ab3558f4fdfeee8b5d1f:922c64590222798bb761d5b6d8e72950