wp-importer-log-disclosure: WordPress Importer - Error Log Disclosure

2025-12-12 WordPress Importer PoC Public

Description

Detected WordPress Importer plugin error log file, potentially revealing file paths, errors, and sensitive information.

PoC

id: wp-importer-log-disclosure

info:
  name: WordPress Importer - Error Log Disclosure
  author: 0x_Akoko
  severity: low
  description: |
    Detected WordPress Importer plugin error log file, potentially revealing file paths, errors, and sensitive information.
  reference:
    - https://wordpress.org/plugins/wordpress-importer/
  metadata:
    verified: true
    max-request: 1
  tags: wordpress,wp-plugin,exposure,logs,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/wordpress-importer/error_log"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'regex("\\[\\d{2}-[A-Za-z]{3}-\\d{4} \\d{2}:\\d{2}:\\d{2}", body)'
          - 'contains_any(body, "PHP Fatal error:", "PHP Warning:", "PHP Notice:", "PHP Parse error:")'
        condition: and
# digest: 490a0046304402207a66a8a79fd219e881edd6c978b53c2fda3482c036e50b7fab44d90a86f29443022021939964c935e83275552f05cc667f6ae17dfc6f41d14ee42c6234e0276f9d3d:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities