PT-2023-14815 · Syncthing+2 · Syncthing+2

Mka-Sec

·

Published

2023-06-06

·

Updated

2024-07-24

·

CVE-2022-46165

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Syncthing versions prior to 1.23.5
Description The issue concerns a stored cross-site scripting attack in Syncthing, an open-source continuous file synchronization program. A compromised instance with shared folders could sync malicious files containing arbitrary HTML and JavaScript in the name. If the owner of another device looks over the shared folder settings and moves the mouse over the latest sync, a script could be executed to change settings for shared folders or add devices automatically. Additionally, adding a new device with a malicious name could embed HTML or JavaScript inside parts of the page. The webUI may be subject to a stored cross-site scripting attack.
Recommendations For Syncthing versions prior to 1.23.5, users are advised to upgrade to version 1.23.5 to address the issue. Users unable to upgrade should avoid sharing folders with untrusted users. As a temporary workaround, consider restricting access to shared folders and devices to minimize the risk of exploitation.

Exploit

Fix

XSS

Weakness Enumeration

Related Identifiers

ALT-PU-2023-1980
ALT-PU-2023-2097
ALT-PU-2023-5675
ALT-PU-2024-3833
BIT-SYNCTHING-2022-46165
CVE-2022-46165
GHSA-9RP6-23GF-4C3H
OPENSUSE-SU-2023:0126-1
OPENSUSE-SU-2024:12984-1

Affected Products

Alt Linux
Debian
Syncthing