Create sftp-config.yaml

patch-1
Dhiyaneshwaran 2022-11-30 13:19:00 +05:30 committed by GitHub
parent ed01fef837
commit 0ac5bdb15b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
id: sftp-config
info:
name: SFTP Config File Disclosure
author: geeknik
severity: high
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
metadata:
verified: true
github-query: filename:sftp-config.json
tags: sftp,config,exposure
requests:
- method: GET
path:
- "{{BaseURL}}/sftp-config.json"
matchers-condition: and
matchers:
- type: word
words:
- '"host":'
- '"user":'
- 'password":'
condition: and
- type: status
status:
- 200