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
    cpe: cpe:2.3:h:mi:xiaomi_router_ax3200:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    shodan-query: http.title:"小米路由器"
    zoomeye-query: app="小米路由器"
    product: xiaomi_router_ax3200
    vendor: mi
  tags: panel,xiaomi,discovery

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: 4a0a00473045022100f4527348915fa6739d75311b8bcfba6684d1045467af3fe21c4df9c08e9e9cda02205cffef4f3e1d1cf9f9a255b44336df76c6b93e5305480c82cd79126af7bdfe3f:922c64590222798bb761d5b6d8e72950