id: cisco-sendgrid

info:
  name: Cisco ServiceGrid Login Panel - Detect
  author: dhiyaneshDK
  severity: info
  description: Cisco ServiceGrid login 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
    cwe-id: CWE-200
  metadata:
    max-request: 1
    shodan-query: http.title:"Cisco ServiceGrid"
  tags: panel,cisco

http:
  - method: GET
    path:
      - '{{BaseURL}}/pages/sdcall/Login.jsp'

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - '(?m)^<title>Cisco ServiceGrid (.*)<\/title>$'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<div class="top\-margin">Version ([0-9.]+)<\/div>'
# digest: 490a0046304402205b47ec9268d9c3b0573173d7d9989d91d883e4c2aacc01d01746f85fce6dc969022076d73b878cf64d5c41090850ed80e2515c2664ff79e64d920a6592291bd7d5b8:922c64590222798bb761d5b6d8e72950