2020-09-05 06:55:52 +00:00
|
|
|
id: default-sql-dump
|
2020-09-04 22:38:46 +00:00
|
|
|
|
|
|
|
info:
|
2022-10-19 21:11:27 +00:00
|
|
|
name: MySQL - Dump Files
|
2023-12-31 16:09:36 +00:00
|
|
|
author: geeknik,dwisiswant0,ELSFA7110,mastercho
|
2020-09-04 22:38:46 +00:00
|
|
|
severity: medium
|
2022-10-19 21:11:27 +00:00
|
|
|
description: A MySQL dump file was found
|
|
|
|
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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
2024-01-29 11:58:34 +00:00
|
|
|
max-request: 21
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: exposure,backup,mysql
|
2022-10-19 21:11:27 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2020-09-04 22:38:46 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/1.sql"
|
|
|
|
- "{{BaseURL}}/backup.sql"
|
|
|
|
- "{{BaseURL}}/database.sql"
|
2020-09-08 15:10:58 +00:00
|
|
|
- "{{BaseURL}}/data.sql"
|
2020-09-04 22:38:46 +00:00
|
|
|
- "{{BaseURL}}/db_backup.sql"
|
|
|
|
- "{{BaseURL}}/dbdump.sql"
|
|
|
|
- "{{BaseURL}}/db.sql"
|
|
|
|
- "{{BaseURL}}/dump.sql"
|
2020-09-08 15:10:58 +00:00
|
|
|
- "{{BaseURL}}/{{Hostname}}.sql"
|
2021-04-01 11:39:28 +00:00
|
|
|
- "{{BaseURL}}/{{Hostname}}_db.sql"
|
2020-09-04 22:38:46 +00:00
|
|
|
- "{{BaseURL}}/localhost.sql"
|
2020-09-08 15:10:58 +00:00
|
|
|
- "{{BaseURL}}/mysqldump.sql"
|
2020-09-04 22:38:46 +00:00
|
|
|
- "{{BaseURL}}/mysql.sql"
|
|
|
|
- "{{BaseURL}}/site.sql"
|
|
|
|
- "{{BaseURL}}/sql.sql"
|
|
|
|
- "{{BaseURL}}/temp.sql"
|
|
|
|
- "{{BaseURL}}/translate.sql"
|
2020-09-08 15:10:58 +00:00
|
|
|
- "{{BaseURL}}/users.sql"
|
2023-12-31 16:09:36 +00:00
|
|
|
- "{{BaseURL}}/www.sql"
|
2020-09-08 15:10:58 +00:00
|
|
|
- "{{BaseURL}}/wp-content/uploads/dump.sql"
|
2022-07-28 12:47:23 +00:00
|
|
|
- "{{BaseURL}}/wp-content/mysql.sql"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2020-09-08 15:10:58 +00:00
|
|
|
headers:
|
|
|
|
Range: "bytes=0-3000"
|
2023-10-14 11:27:55 +00:00
|
|
|
max-size: 2000 # Size in bytes - Max Size to read from server response
|
2021-06-01 07:51:24 +00:00
|
|
|
|
2020-09-05 06:55:52 +00:00
|
|
|
matchers-condition: and
|
2020-09-04 22:47:40 +00:00
|
|
|
matchers:
|
2020-09-08 15:10:58 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "(?m)(?:DROP|CREATE|(?:UN)?LOCK) TABLE|INSERT INTO"
|
2020-09-04 22:44:36 +00:00
|
|
|
part: body
|
2021-06-01 07:51:24 +00:00
|
|
|
|
2020-09-05 06:55:52 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
2020-09-08 15:10:58 +00:00
|
|
|
- 200
|
|
|
|
- 206
|
2021-04-01 11:39:28 +00:00
|
|
|
condition: or
|
2024-01-29 12:41:50 +00:00
|
|
|
# digest: 4a0a00473045022100d35daf5192442aa02cdd047bca9ce33060efaf14802f17495a3fd0ee563dda920220747be0354c65c327c689868e5c14569dc4bf7381ed37f49e9f723220a4c8b1db:922c64590222798bb761d5b6d8e72950
|