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

42 lines
1.1 KiB
YAML
Raw Normal View History

id: sftp-config-exposure
2022-11-30 07:49:00 +00:00
info:
name: SFTP Configuration File - Detect
2022-11-30 07:49:00 +00:00
author: geeknik
severity: high
description: SFTP configuration file was detected.
2022-11-30 07:49:00 +00:00
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
2023-10-14 11:27:55 +00:00
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
2022-11-30 07:49:00 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2022-11-30 07:49:00 +00:00
github-query: filename:sftp-config.json
tags: sftp,config,exposure
http:
2022-11-30 07:49:00 +00:00
- method: GET
path:
- "{{BaseURL}}/sftp-config.json"
matchers-condition: and
matchers:
- type: word
words:
- '"host":'
- '"user":'
- '"password":'
- '"remote_path":'
2022-11-30 07:49:00 +00:00
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100973188487bf2223e26bd4e61bcd03a94625378b9a118546feb5c98955b7a4844022100f1bb6683cad6b0dca4029de026b5de436821ae40dcab4380c86fb9b711cdc83e:922c64590222798bb761d5b6d8e72950