47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
id: sftp-credentials-exposure
|
|
|
|
info:
|
|
name: SFTP Configuration File - Credentials Exposure
|
|
author: geeknik,sheikhrishad
|
|
severity: high
|
|
description: SFTP configuration file was detected.
|
|
reference:
|
|
- https://blog.sucuri.net/2012/11/psa-sftpftp-password-exposure-via-sftp-config-json.html
|
|
- https://www.acunetix.com/vulnerabilities/web/sftp-ftp-credentials-exposure/
|
|
- https://codexns.io/products/sftp_for_sublime/settings
|
|
classification:
|
|
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
|
|
cwe-id: CWE-200
|
|
cpe: cpe:2.3:a:southrivertech:titan_sftp_server:*:*:*:*:windows:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
github-query: filename:sftp-config.json
|
|
product: titan_sftp_server
|
|
vendor: southrivertech
|
|
tags: sftp,config,exposure
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/sftp-config.json"
|
|
- "{{BaseURL}}/ftpsync.settings"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"host":'
|
|
- '"user":'
|
|
- '"password":'
|
|
- '"remote_path":'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "file_permissions"
|
|
- "extra_list_connections"
|
|
condition: and
|
|
# digest: 4a0a00473045022100852d0083fd93c4df71e1f18196d1bf9f4b0e0fd4a824390230d6eb0e7dd592d902207a306befaf0933edf1a3a4173c6f79483edd025ca7404af75fdd443cfc24222d:922c64590222798bb761d5b6d8e72950 |