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
|
2023-03-02 20:58:29 +00:00
|
|
|
severity: high
|
2023-02-23 21:06:53 +00:00
|
|
|
description: SFTP credentials were detected.
|
|
|
|
classification:
|
2023-03-02 20:58:29 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
|
|
cvss-score: 7.5
|
2023-02-23 21:06:53 +00:00
|
|
|
cwe-id: CWE-200
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: config,ftp,exposure
|
2021-02-20 14:18:06 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-02-20 14:18:06 +00:00
|
|
|
- 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-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402203f263c62f9ae4c046a15db1732fe5077f0b842a952de7e923fdf6ea98f3c07c502206a4b685f97187b95637b84057b5e4c86a4b3d9bd4b772631528dd49cf401b8ed:922c64590222798bb761d5b6d8e72950
|