2020-08-12 10:15:34 +02:00
|
|
|
id: wordpress-accessible-wpconfig
|
2022-04-15 12:39:44 -04:00
|
|
|
|
2020-08-12 10:15:34 +02:00
|
|
|
info:
|
2022-04-15 12:39:44 -04:00
|
|
|
name: WordPress wp-config Detection
|
2022-09-01 00:05:57 +05:30
|
|
|
author: Kiblyn11,zomsop82,madrobot,geeknik,daffainfo,r12w4n,tess
|
2022-04-15 12:39:44 -04: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
|
2021-10-05 18:02:50 +05:30
|
|
|
tags: wordpress,backup
|
2021-02-05 14:53:55 +05:30
|
|
|
|
2020-08-12 10:15:34 +02:00
|
|
|
requests:
|
|
|
|
|
- method: GET
|
|
|
|
|
path:
|
|
|
|
|
- '{{BaseURL}}/wp-config.php'
|
2021-02-22 09:51:01 +07:00
|
|
|
- '{{BaseURL}}/.wp-config.php.swp'
|
2020-08-12 10:15:34 +02:00
|
|
|
- '{{BaseURL}}/wp-config-sample.php'
|
2021-02-22 09:51:01 +07:00
|
|
|
- '{{BaseURL}}/wp-config.inc'
|
|
|
|
|
- '{{BaseURL}}/wp-config.old'
|
|
|
|
|
- '{{BaseURL}}/wp-config.txt'
|
2020-08-12 10:15:34 +02:00
|
|
|
- '{{BaseURL}}/wp-config.php.txt'
|
|
|
|
|
- '{{BaseURL}}/wp-config.php.bak'
|
|
|
|
|
- '{{BaseURL}}/wp-config.php.old'
|
2021-02-22 09:51:01 +07:00
|
|
|
- '{{BaseURL}}/wp-config.php.dist'
|
|
|
|
|
- '{{BaseURL}}/wp-config.php.inc'
|
|
|
|
|
- '{{BaseURL}}/wp-config.php.swp'
|
|
|
|
|
- '{{BaseURL}}/wp-config.php.html'
|
2020-08-12 10:15:34 +02:00
|
|
|
- '{{BaseURL}}/wp-config-backup.txt'
|
2020-08-15 15:19:40 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php.save'
|
|
|
|
|
- '{{BaseURL}}/wp-config.php~'
|
2021-09-30 23:15:18 +05:30
|
|
|
- '{{BaseURL}}/wp-config.php-backup'
|
2020-08-15 15:19:40 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php.orig'
|
2022-09-01 00:05:57 +05:30
|
|
|
- '{{BaseURL}}/wp-config.php_orig'
|
2020-08-15 15:19:40 +00:00
|
|
|
- '{{BaseURL}}/wp-config.php.original'
|
2020-08-12 20:21:27 +05:30
|
|
|
- '{{BaseURL}}/_wpeprivate/config.json'
|
2021-09-02 17:29:10 +05:30
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
2020-09-14 16:39:39 +00:00
|
|
|
matchers-condition: and
|
2020-08-12 10:15:34 +02:00
|
|
|
matchers:
|
|
|
|
|
- type: word
|
|
|
|
|
words:
|
2021-10-05 18:02:50 +05:30
|
|
|
- "DB_NAME"
|
|
|
|
|
- "DB_PASSWORD"
|
2020-08-12 10:15:34 +02:00
|
|
|
part: body
|
2021-10-05 18:02:50 +05:30
|
|
|
condition: and
|
|
|
|
|
|
2020-09-14 16:39:39 +00:00
|
|
|
- type: status
|
|
|
|
|
status:
|
|
|
|
|
- 200
|
2022-04-15 12:39:44 -04:00
|
|
|
|
|
|
|
|
# Enhanced by mp on 2022/04/12
|