34 lines
697 B
YAML
34 lines
697 B
YAML
id: sftp-credentials-exposure
|
|
|
|
info:
|
|
name: SFTP Credentials - Detect
|
|
author: sheikhrishad
|
|
severity: medium
|
|
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
|
|
tags: config,ftp,exposure
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/sftp-config.json"
|
|
- "{{BaseURL}}/ftpsync.settings"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "file_permissions"
|
|
- "extra_list_connections"
|
|
part: body
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# Enhanced by md on 2023/02/23
|