Description
An issue was discovered in in TortoiseSVN 1.12.1. The Tsvncmd: URI handler allows a customised diff operation on Excel workbooks, which could be used to open remote workbooks without protection from macro security settings to execute arbitrary code. A tsvncmd:command:diff?path:[file1]?path2:[file2] URI will execute a customised diff on [file1] and [file2] based on the file extension. For xls files, it will execute the script diff-xls.js using wscript, which will open the two files for analysis without any macro security warning. An attacker can exploit this by putting a macro virus in a network drive, and force the victim to open the workbooks and execute the macro inside.
Exploits (1)
exploitdb
WORKING POC
by Vulnerability-Lab · textwebappswindows
https://www.exploit-db.com/exploits/47252
Scores
CVSS v3
8.8
EPSS
0.0405
EPSS Percentile
88.5%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
Status
published
Products (1)
tortoisesvn/tortoisesvn
1.12.1
Published
Aug 15, 2019
Tracked Since
Feb 18, 2026