wp-wpstatistics-log: WordPress Plugin WP Statistics Error Log Disclosure

2026-01-24 WordPress Plugin WP Statistics PoC Public

Description

Detected exposed log files generated by the WP Statistics

PoC

id: wp-wpstatistics-log

info:
  name: WordPress Plugin WP Statistics Error Log Disclosure
  author: DhiyaneshDk
  severity: medium
  description: |
    Detected exposed log files generated by the WP Statistics
  reference:
    - https://wordpress.org/plugins/wp-statistics/
  metadata:
    verified: true
    max-request: 1
  tags: wordpress,wp,wp-plugin,wp-statistics,log,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/wp-statistics/debug.log"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "WordPress database error","address")'
        condition: and
# digest: 4a0a0047304502203863122eb453f0ba5be7762797d19846e53a12881909601faa7f021af704f1a30221009d81c87c012b2eacc4b1f7ee22dac0b9b09cd2db0c5fa1ebe7810b605e93c0ad:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities