id: php-fpm-config

info:
  name: PHP-FPM Configuration Page - Detect
  author: sheikhrishad
  severity: info
  description: PHP-FPM configuration page was detected.
  reference: https://www.php.net/manual/en/install.fpm.php
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: config,exposure,php

http:
  - method: GET
    path:
      - "{{BaseURL}}/php-fpm.conf"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "FPM Configuration"
          - "Pool Definitions"
        condition: and

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