WordPress DB Backup
ID: wordpress-db-backup-listing
Severity: medium
Author: Suman_Kar
Tags: wordpress,backup
Description
Section titled “Description”WordPress DB Backup plugin exposes db file along with directory listing.
YAML Source
Section titled “YAML Source”id: wordpress-db-backup-listing
info: name: WordPress DB Backup author: Suman_Kar severity: medium description: WordPress DB Backup plugin exposes db file along with directory listing. metadata: max-request: 1 tags: wordpress,backup
http: - method: GET path: - "{{BaseURL}}/wp-content/uploads/database-backups/"
matchers-condition: and matchers: - type: word words: - "Index of /" - "wp-content/uploads/database-backups" - ".sql" condition: and part: body
- type: status status: - 200# digest: 4b0a00483046022100bb7ee6f7a00c3285f07ee4bd0e9ac828ffe207de4d58eb485da0643b0188e5a7022100ca4e5b3c2a6dac43adedf5ca3d7896bd46e844ae478290ff54482f8dff8877ee:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/wordpress/wordpress-db-backup-listing.yaml"