2020-08-12 08:15:34 +00:00
|
|
|
id: wordpress-accessible-wpconfig
|
2022-04-15 16:39:44 +00:00
|
|
|
|
2020-08-12 08:15:34 +00:00
|
|
|
info:
|
2022-04-15 16:39:44 +00:00
|
|
|
name: WordPress wp-config Detection
|
2023-10-14 11:56:44 +00:00
|
|
|
author: Kiblyn11,zomsop82,madrobot,geeknik,daffainfo,r12w4n,tess,0xpugazh
|
2022-04-15 16:39:44 +00:00
|
|
|
severity: medium
|
|
|
|
description: WordPress `wp-config` was discovered. This file is remotely accessible and its content available for reading.
|
|
|
|
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:
|
2023-10-17 06:19:43 +00:00
|
|
|
max-request: 30
|
2023-07-25 05:26:35 +00:00
|
|
|
tags: wordpress,backup
|
2021-02-05 09:23:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2020-08-12 08:15:34 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/wp-config.php'
|
2021-02-22 02:51:01 +00:00
|
|
|
- '{{BaseURL}}/.wp-config.php.swp'
|
2020-08-12 08:15:34 +00:00
|
|
|
- '{{BaseURL}}/wp-config-sample.php'
|
2021-02-22 02:51:01 +00:00
|
|
|
- '{{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'
|
2023-10-13 13:59:03 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php.BAK'
|
2020-08-12 08:15:34 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php.old'
|
2023-10-13 13:59:03 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php.OLD'
|
2021-02-22 02:51:01 +00:00
|
|
|
- '{{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'
|
2020-08-15 15:19:40 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php.save'
|
2023-10-13 13:59:03 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php.SAVE'
|
2020-08-15 15:19:40 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php~'
|
2021-09-30 17:45:18 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php-backup'
|
2020-08-15 15:19:40 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php.orig'
|
2022-08-31 18:35:57 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php_orig'
|
2020-08-15 15:19:40 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php.original'
|
2023-07-24 09:21:18 +00:00
|
|
|
- '{{BaseURL}}/wp-config.backup'
|
2020-08-12 14:51:27 +00:00
|
|
|
- '{{BaseURL}}/_wpeprivate/config.json'
|
2023-10-14 11:56:44 +00:00
|
|
|
- '{{BaseURL}}/config.php.zip'
|
|
|
|
- '{{BaseURL}}/config.php.tar.gz'
|
|
|
|
- '{{BaseURL}}/config.php.new'
|
|
|
|
- '{{BaseURL}}/common/config.php.new'
|
2023-10-14 12:22:39 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php.bk'
|
2021-09-02 11:59:10 +00:00
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-10-16 05:16:15 +00:00
|
|
|
matchers-condition: or
|
2020-08-12 08:15:34 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-10-05 12:32:50 +00:00
|
|
|
- "DB_NAME"
|
|
|
|
- "DB_PASSWORD"
|
2020-08-12 08:15:34 +00:00
|
|
|
part: body
|
2021-10-05 12:32:50 +00:00
|
|
|
condition: and
|
|
|
|
|
2023-10-16 05:16:15 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "DBNAME"
|
|
|
|
- "PASSWORD"
|
|
|
|
condition: and
|
2023-10-19 13:13:52 +00:00
|
|
|
# digest: 4b0a00483046022100f88f704a2270d5d54e06c42cfc035f9104301d9940f38771a55b0e4953384865022100e7453447cdf3813db80dc184271aa25b98a984fba38ddd9d7d4da1dd49575379:922c64590222798bb761d5b6d8e72950
|