id: wp-cli-exposure

info:
  name: WP-CLI Yaml File Exposure
  author: DhiyaneshDk
  severity: info
  classification:
    cpe: cpe:2.3:a:wp-cli:wp-cli:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: wp-cli
    product: wp-cli
    shodan-query: html:"wp-cli.yml"
  tags: config,exposure,wp-cli,files

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-cli.yml"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "apache_modules:"
          - "mod_rewrite"
        condition: and

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