nuclei-templates/vulnerabilities/wordpress/wordpress-accessible-wpconf...

45 lines
1.2 KiB
YAML
Raw Normal View History

2020-08-12 08:15:34 +00:00
id: wordpress-accessible-wpconfig
info:
name: WordPress accessible wp-config
author: Kiblyn11,zomsop82,madrobot,geeknik,daffainfo,r12w4n
2020-08-12 08:15:34 +00:00
severity: high
tags: wordpress,backup
2021-02-05 09:23:55 +00:00
2020-08-12 08:15:34 +00:00
requests:
- method: GET
path:
- '{{BaseURL}}/wp-config.php'
- '{{BaseURL}}/.wp-config.php.swp'
2020-08-12 08:15:34 +00:00
- '{{BaseURL}}/wp-config-sample.php'
- '{{BaseURL}}/wp-config.inc'
- '{{BaseURL}}/wp-config.old'
- '{{BaseURL}}/wp-config.txt'
2020-08-12 08:15:34 +00:00
- '{{BaseURL}}/wp-config.php.txt'
- '{{BaseURL}}/wp-config.php.bak'
- '{{BaseURL}}/wp-config.php.old'
- '{{BaseURL}}/wp-config.php.dist'
- '{{BaseURL}}/wp-config.php.inc'
- '{{BaseURL}}/wp-config.php.swp'
- '{{BaseURL}}/wp-config.php.html'
2020-08-12 08:15:34 +00:00
- '{{BaseURL}}/wp-config-backup.txt'
- '{{BaseURL}}/wp-config.php.save'
- '{{BaseURL}}/wp-config.php~'
- '{{BaseURL}}/wp-config.php-backup'
- '{{BaseURL}}/wp-config.php.orig'
- '{{BaseURL}}/wp-config.php.original'
- '{{BaseURL}}/_wpeprivate/config.json'
stop-at-first-match: true
matchers-condition: and
2020-08-12 08:15:34 +00:00
matchers:
- type: word
words:
- "DB_NAME"
- "DB_PASSWORD"
2020-08-12 08:15:34 +00:00
part: body
condition: and
- type: status
status:
- 200