nuclei-templates/http/exposures/configs/sftp-credentials-exposure.yaml

49 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: 4a0a0047304502201cfe05006741a4d9a4ee05d8e111f43e635cb009ea5e3a02964a258267de2c99022100c64922a0db78e4e90b2f81139ba44132ddeea3417a61e4d6076a654365cc4715:922c64590222798bb761d5b6d8e72950