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

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: 490a00463044022004c47b075770261be6fe73cc75f60914a39ce6f4293a84a2e45ae7abf47ddac4022074925b436243e9580dfb5ec45346f2b174c6122edbb6be4bd16389d155da9b67:922c64590222798bb761d5b6d8e72950