id: wazuh-panel

info:
  name: Wazuh Login Panel
  author: cyllective,daffainfo
  severity: info
  description: Wazuh - The Open Source Security Platform
  reference:
    - https://github.com/wazuh/wazuh
  classification:
    cpe: cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: wazuh
    product: wazuh
    shodan-query:
      - http.title:"Wazuh"
      - http.title:"wazuh"
    fofa-query: title="wazuh"
    google-query: intitle:"wazuh"
  tags: panel,wazuh,login

http:
  - method: GET
    path:
      - "{{BaseURL}}/app/login"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '&quot;id&quot;:&quot;wazuh&quot;'
          - '&quot;title&quot;:&quot;Wazuh&quot;'
          - '&quot;icon&quot;:&quot;plugins/wazuh/img/icon_blue.png&quot;'
          - '&quot;url&quot;:&quot;/app/wazuh&quot;'
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '&quot;version&quot;:&quot;([0-9.]+)&quot;'
# digest: 4a0a0047304502203748cab61f0d7eb8ad40f924f5f55438b859f813016bcfa1644a2f679a1e0b3f022100d89918a2b80e4b369421c98b34e34b0f6da2c9893b9a53922191d4590c515bd8:922c64590222798bb761d5b6d8e72950