id: wp-mailchimp-for-wp-fpd

info:
  name: WordPress Mailchimp for WordPress Plugin - Full Path Disclosure
  author: 0x_Akoko
  severity: info
  description: |
    WordPress plugin MC4WP: Mailchimp for WordPress internal file system path is exposed.
  reference:
    - https://wordpress.org/plugins/mailchimp-for-wp/
  metadata:
    verified: true
    max-request: 1
  tags: debug,wordpress,fpd,vuln,mailchimp,wp-plugin

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/mailchimp-for-wp/integrations/bootstrap.php"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Fatal error", "Call to undefined function", "mailchimp-for-wp/integrations/bootstrap.php")'
        condition: and
# digest: 490a004630440220472ed62be9682728de11879219a5fdde2bccc6015b90326a7ae174743cc958c302207bbb50db282344b6d3043ce4ae0eef24ac7d60ca3808e69f202981048f15dcc6:922c64590222798bb761d5b6d8e72950