2021-02-20 14:18:06 +00:00
|
|
|
id: sftp-credentials-exposure
|
|
|
|
|
|
|
|
info:
|
2023-02-23 21:06:53 +00:00
|
|
|
name: SFTP Credentials - Detect
|
2021-02-20 14:18:06 +00:00
|
|
|
author: sheikhrishad
|
|
|
|
severity: medium
|
2023-02-23 21:06:53 +00:00
|
|
|
description: SFTP credentials were detected.
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/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-04-06 06:46:11 +00:00
|
|
|
tags: config,ftp,exposure
|
2021-02-20 14:18:06 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/sftp-config.json"
|
2021-02-20 16:07:10 +00:00
|
|
|
- "{{BaseURL}}/ftpsync.settings"
|
2021-02-20 14:18:06 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "file_permissions"
|
|
|
|
- "extra_list_connections"
|
2021-02-20 16:07:10 +00:00
|
|
|
part: body
|
2021-03-10 14:03:49 +00:00
|
|
|
condition: and
|
2021-02-20 14:18:06 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2021-02-20 16:07:10 +00:00
|
|
|
- 200
|
2023-02-23 21:06:53 +00:00
|
|
|
|
|
|
|
# Enhanced by md on 2023/02/23
|