id: xiaomi-wireless-router-login

info:
  name: Xiaomi Wireless Router Admin Panel - Detect
  author: lu4nx
  severity: info
  description: |
    Xiaomi Wireless router admin panel was detected.
  reference:
    - https://www.mi.com/shop/search?keyword=%E8%B7%AF%E7%94%B1%E5%99%A8
  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
  metadata:
    max-request: 1
    shodan-query: http.title:"小米路由器"
    zoomeye-query: title:'小米路由器'
  tags: panel,xiaomi

http:
  - method: GET
    path:
      - "{{BaseURL}}/cgi-bin/luci/web"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>小米路由器</title>"
          - "<title>Redmi路由器</title>"
        condition: or

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