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: title:'小米路由器'
    product: xiaomi_router_ax3200
    vendor: mi
  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: 4a0a0047304502202805cfc1b98e3bafaed88c80721c1bacd26689d24db29a181aa48f447ba1b246022100a964c2886932bce90bbb24680206379a7431798fdd7216d88faed12a7ee1c2d0:922c64590222798bb761d5b6d8e72950