id: dgraph-dashboard-exposure

info:
  name: Dgraph Ratel Dashboard Exposure Panel - Detect
  author: dhiyaneshDk
  severity: info
  description: Dgraph Ratel Dashboard Exposure panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
    cpe: cpe:2.3:a:dgraph:dgraph:*:*:*:*:go:*:*:*
  metadata:
    max-request: 1
    shodan-query: http.title:"Dgraph Ratel Dashboard"
    product: dgraph
    vendor: dgraph
  tags: exposure,unauth,panel,misconfig,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/?dev"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Choose a version of the Ratel interface'
          - '<title>Dgraph Ratel Dashboard</title>'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"
# digest: 4a0a00473045022100f42d6cbb38dd3c52d9c98b0593e1b16fff168374ab3354100bef92bba18e85ee02203a3e0acb820904d36fe5382c47d00baaeedc55982115b7c274df4f778e16c73f:922c64590222798bb761d5b6d8e72950