2021-02-20 14:18:06 +00:00
|
|
|
id: sftp-credentials-exposure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: SFTP credentials exposure
|
|
|
|
author: sheikhrishad
|
|
|
|
severity: medium
|
2021-04-03 08:08:45 +00:00
|
|
|
tags: config,ftp,exposures
|
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
|