News for hackers. Stuff that matters.
Re:Syncthing: A continuous file synchronization program by sneak on Tuesday May 09, 2023 @04:14PM (#35879792)
It also phones home by default unless you turn it off (via crash and usage reporting), and in the default vendor-provided state grants arbitrary remote code execution ability to the developer (via unattended auto update which is on by default). Fortunately most distro packages and docker containers disable this dangerous behavior
Re:Syncthing: A continuous file synchronization program by berkut on Tuesday May 09, 2023 @04:21PM (#35879887)
It also connects to many "Discovery" servers on the internet in its default configuration, which you don't need enabled if you're just syncing between machines on an internal network.
Re:Syncthing: A continuous file synchronization program by celsoazevedo on Tuesday May 09, 2023 @04:16PM (#35879817)
> It also phones home by default unless you turn it off (via crash and usage reporting)

Is this new behaviour? I haven't set up a new device recently, but it always asked me if I want to enable that or not.

Re:Syncthing: A continuous file synchronization program by sneak on Tuesday May 09, 2023 @04:18PM (#35879839)
Usage reporting. Crash reporting is on by default without asking, as is use of the public relays.

The arbitrary remote code execution vulnerability is much more troubling and critical, however. Most people don't realize that by running syncthing they grant the syncthing developer the ability to execute any code they want on their machine (including the ability to read or exfiltrate any file on the filesystem).

Re:Syncthing: A continuous file synchronization program by JeremyNT on Tuesday May 09, 2023 @05:52PM (#35880856)
> in the default vendor-provided state grants arbitrary remote code execution ability to the developer (via unattended auto update which is on by default)

I find this a curious, borderline alarmist framing of the automatic update mechanism. Many pieces of software have automatic updates. What you say is no less true for common programs like Firefox or Google Chrome.

Obviously you have to consider your threat model, but the number of people willing to trust a specific Syncthing binary they're downloading from the internet, but who are wary of trusting published updates going forward, must be relatively small.

(I am a Linux user and use the OS packages rather than automatic updates, but automatic updates are quite common outside of Linux distro packages)

Re:Syncthing: A continuous file synchronization program by sneak on Tuesday May 09, 2023 @09:09PM (#35882418)
Did we learn nothing from SolarWinds?

Anyone who can compromise the syncthing release process can run code on thousands of devices.

Re:Syncthing: A continuous file synchronization program by tredre3 on Tuesday May 09, 2023 @06:10PM (#35881021)
Even after disabling crash reporting, auto-update, relays, discovery, etc, it will still connect to the internet. It's actually very difficult to make it behave.

The only solution is to blank a few URLs in the configuration for things that can't be disabled. Then at first sight it seems to work... But you check your firewall logs a few days later and what do you know? Some dropped connection attempts.

Still, there aren't many alternatives that work as well as SyncThing, so you gotta pick your battles...