id: cisco-expressway-panel

info:
  name: CISCO Expressway Login Panel - Detect
  author: righettod
  severity: info
  description: |
    CISCO Expressway login panel was detected.
  reference:
    - https://www.cisco.com/c/en/us/products/unified-communications/expressway-series/index.html
  classification:
    cpe: cpe:2.3:a:cisco:expressway_software:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: cisco
    product: expressway_software
    shodan-query: html:"Cisco Expressway"
  tags: panel,cisco,login,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/login"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "cisco expressway", "cisco expway")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'Cisco\s+(?:Expressway|Expway)\s+([A-Za-z\s]+)<\/legend>'
# digest: 4a0a0047304502203e488422002c0a94fda00b3d29569b4d0d811495b51110040b5454d8f46ce74b022100faeabbaf7becd418b2d829cb4e1a68f076ca6872ba07b159ef14a665af6b0abc:922c64590222798bb761d5b6d8e72950