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

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

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

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