subversion: Arbitrary code execution on clients through malicious svn+ssh URLs (CVE-2017-9800)
A Subversion client sometimes connects to URLs provided by the
repository.
This happens in two primary cases: during ‘checkout’, ‘export’,
‘update’, and
‘switch’, when the tree being downloaded contains svn:externals
properties;
and when using ‘svnsync sync’ with one URL argument.
A maliciously constructed svn+ssh:// URL would cause Subversion clients
to
run an arbitrary shell command. Such a URL could be generated by a
malicious
server, by a malicious user committing to a honest server (to attack
another
user of that server’s repositories), or by a proxy server.
The vulnerability affects all clients, including those that use
file://,
http://, and plain (untunneled) svn://.
Fixed In Version:
subversion 1.8.18, subversion 1.9.7
References:
https://subversion.apache.org/security/CVE-2017-9800-advisory.txt
(from redmine: issue id 7666, created on 2017-08-11, closed on 2017-08-14)
- Relations:
- child #7667 (closed)
- child #7668 (closed)
- child #7669 (closed)
- child #7670 (closed)
- child #7671 (closed)