2022-09-15 10:34:38 +00:00
|
|
|
id: atom-sync-remote
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Atom Synchronization Exposure
|
|
|
|
author: geeknik
|
|
|
|
severity: high
|
|
|
|
description: |
|
|
|
|
It discloses username and password created by remote-sync for Atom, contains FTP and/or SCP/SFTP/SSH server details and credentials
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: atom,exposure,config,files
|
2022-09-15 10:34:38 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.remote-sync.json"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2022-09-16 10:51:17 +00:00
|
|
|
- '"hostname":'
|
|
|
|
- '"username":'
|
2022-09-15 10:34:38 +00:00
|
|
|
condition: and
|
|
|
|
|
2022-09-15 10:48:34 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "passphrase"
|
|
|
|
- "password"
|
|
|
|
condition: or
|
|
|
|
|
2022-09-15 10:34:38 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|