id: zabbix-installer

info:
  name: Zabbix Installation Exposure
  author: DhiyaneshDK
  severity: high
  description: Zabbix is susceptible to the Installation page exposure due to misconfiguration.
  metadata:
    verified: true
    max-request: 1
    shodan-query:
      - http.favicon.hash:892542951
      - http.title:"zabbix-server"
      - cpe:"cpe:2.3:a:zabbix:zabbix"
    product: zabbix
    vendor: zabbix
    fofa-query:
      - icon_hash=892542951
      - app="zabbix-监控系统" && body="saml"
      - title="zabbix-server"
    google-query: intitle:"zabbix-server"
  tags: misconfig,zabbix,install,exposure

http:
  - method: GET
    path:
      - '{{BaseURL}}/setup.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Installation</title>'
          - 'zabbix'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502204981d5e06e0d873531b53c9d8480a02f4352d2f0f77570708a3ad8cf73e074e10221008e17b111446b4bf365dfcf831f5bb7a9049117b87d398ba3317e36c57efaa0e7:922c64590222798bb761d5b6d8e72950