id: ruckus-unleashed-panel

info:
  name: Ruckus Wireless Unleashed Login Panel - Detect
  author: idealphase
  severity: info
  description: Ruckus Wireless Unleashed login panel was detected.
  reference:
    - https://www.commscope.com/ruckus/
  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
    cpe: cpe:2.3:o:ruckuswireless:unleashed_firmware:*:*:*:*:*:*:*:*
  metadata:
    google-query: intitle:"Unleashed Login"
    max-request: 1
    product: unleashed_firmware
    shodan-query: http.title:"Unleashed Login"
    vendor: ruckuswireless
  tags: panel,ruckus,ruckuswireless

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Unleashed Login</title>"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        group: 1
        regex:
          - '<link href="css\/font-awesome\.min\.css\?(.+)" rel="stylesheet">'
# digest: 4b0a00483046022100cbb24750f9daa4eb8c2855dcabdeb7ca16b84400ff34857a2504dd54e24b260a0221008f872b09a5f0b39f02f349f690cce1c666b389eb4bc2cd62d9b2e31c753a81e8:922c64590222798bb761d5b6d8e72950