nuclei-templates/http/exposures/files/vscode-sftp.yaml

46 lines
1.2 KiB
YAML
Raw Normal View History

2022-09-15 09:46:16 +00:00
id: vscode-sftp
info:
name: VSCode SFTP File Exposure
author: geeknik
severity: high
description: |
It discloses sensitive files created by vscode-sftp for VSCode, contains SFTP/SSH server details and credentials.
2024-09-10 09:08:16 +00:00
classification:
cpe: cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*
2022-09-15 09:46:16 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 3
2024-09-10 08:22:50 +00:00
vendor: microsoft
2024-09-10 09:08:16 +00:00
product: visual_studio_code
shodan-query: html:"sftp.json"
2022-10-13 10:12:07 +00:00
tags: exposure,vscode,sftp,ssh,files
2022-09-15 09:46:16 +00:00
http:
2022-09-15 09:46:16 +00:00
- method: GET
path:
- "{{BaseURL}}/sftp.json"
- "{{BaseURL}}/.config/sftp.json"
- "{{BaseURL}}/.vscode/sftp.json"
stop-at-first-match: true
2023-10-14 11:27:55 +00:00
2022-09-15 09:46:16 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-09-15 13:29:13 +00:00
- '"name":'
- '"host":'
- '"protocol":'
2022-09-15 09:46:16 +00:00
condition: and
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200
2024-09-12 05:14:01 +00:00
# digest: 490a00463044022061a0f756f7e9ac6533801ef3f83a65dcd30167a0c28124e2308ca193c37e62ed022048e9e08cd2796e33a7994b994d4f715cb253e81a3250e8c9890ac2269880bb54:922c64590222798bb761d5b6d8e72950