OS command injection in Subversion - CVE-2017-9800

 

OS command injection in Subversion - CVE-2017-9800

Published: August 15, 2017


Vulnerability identifier: #VU7886
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-9800
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The weakness exists due to command injection flaw. A remote attacker (e.g., repository, proxy server) can return a specially crafted 'svn+ssh://' URL during 'checkout', 'export', 'update', and 'switch' commands and execute arbitrary shell commands with privileges of the current user.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

Subversion
Arch Linux
Gentoo Linux
Amazon Linux AMI
Red Hat Enterprise Linux for x86_64
Slackware Linux
Fedora
subversion (Alpine package)
subversion
Oracle Data Integrator

How to mitigate CVE-2017-9800

Update to version 1.8.19 or 1.9.7.

subversion (Alpine package) - update to 1.9.7-r0
subversion - addressed in versions 1.9.7-1.fc25, 1.9.7-1.fc26

External References

Related Security Bulletins