nuclei-templates/http/exposures/backups/sql-server-dump.yaml

61 lines
1.5 KiB
YAML
Raw Normal View History

2024-07-02 09:55:15 +00:00
id: sql-server-dump
2024-05-11 10:18:32 +00:00
info:
name: SQL Server - Dump Files
author: userdehghani
severity: medium
2024-07-02 09:55:15 +00:00
description: |
A SQL Server dump file was found
2024-05-11 10:18:32 +00:00
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cwe-id: CWE-200
metadata:
max-request: 21
tags: exposure,backup,sql-server
http:
- method: GET
path:
- "{{BaseURL}}{{paths}}"
2024-07-01 10:16:18 +00:00
2024-05-11 10:18:32 +00:00
payloads:
paths:
- "/sa.bak"
- "/wwwroot.bak"
- "/backup.bak"
- "/database.bak"
- "/data.bak"
- "/db_backup.bak"
- "/dbdump.bak"
- "/db.bak"
- "/dump.bak"
- "/{{Hostname}}.bak"
- "/{{Hostname}}_db.bak"
- "/localhost.bak"
- "/mysqldump.bak"
- "/mysql.bak"
- "/site.bak"
- "/sql.bak"
- "/temp.bak"
- "/translate.bak"
- "/users.bak"
- "/www.bak"
- "/wp-content/uploads/dump.bak"
- "/wp-content/mysql.bak"
headers:
Range: "bytes=0-500"
max-size: 500 # Size in bytes - Max Size to read from server response
matchers-condition: and
matchers:
- type: binary
2024-07-02 09:55:15 +00:00
part: body
2024-05-11 10:25:21 +00:00
binary:
2024-05-11 10:18:32 +00:00
- "54415045" # Microsoft Tape Format
- type: status
status:
2024-05-11 10:25:21 +00:00
- 200
# digest: 4a0a00473045022072a945593a108233b78d522957d9af7d24b173838e3aa723b397c4f4022d4b490221009687a108664b7872ce93592d205de6492aac7b48f4c54e79705a5aba0a19976e:922c64590222798bb761d5b6d8e72950