id: trendnet-tew827dru-login

info:
  name: TRENDnet TEW-827DRU Login Panel - Detect
  author: princechaddha
  severity: info
  description: TRENDnet TEW-827DRU 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
    cpe: cpe:2.3:o:trendnet:tew-827dru_firmware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: trendnet
    product: tew-827dru_firmware
    shodan-query:
      - http.html:"TEW-827DRU"
      - http.html:"tew-827dru"
    fofa-query: body="tew-827dru"
  tags: panel,router,trendnet,discovery

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'var model = "TEW-827DRU";'

      - type: status
        status:
          - 200
# digest: 4a0a00473045022058258b1ac100d3e63076968665ec77d8e7ffdfe1078a06df279e1e4af27c7d76022100d0f4ed92e143c06b3f21dab53ad10a7555ffd7a5704fd45bebca65ad971efe8b:922c64590222798bb761d5b6d8e72950