id: apache-apisix-panel

info:
  name: Apache APISIX Login Panel - Detect
  author: pikpikcu,righettod
  severity: info
  description: An Apache APISIX login panel was detected.
  classification:
    cwe-id: CWE-200
    cpe: cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: apache
    product: apisix
    fofa-query:
      - title="Apache APISIX Dashboard"
      - title="apache apisix dashboard"
    shodan-query: http.title:"apache apisix dashboard"
    google-query: intitle:"apache apisix dashboard"
  tags: apache,apisix,panel,login,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/user/login?redirect=%2F"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Apache APISIX Dashboard</title>'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: header
        group: 1
        regex:
          - '(?i)Server:\s+APISIX\/([0-9.]+)'
# digest: 4a0a004730450220056a408f2dc2c647dc9fbdbfd81832f2969e7963adaaa04561f361d4dacb1346022100ad0437c54413bee33422dd02f238e716ff0fb6325f53f64b2be1108514b16c1e:922c64590222798bb761d5b6d8e72950