CVE-2015-3187: Infoleak
The svnrepostracenodelocations function in Apache Subversion before 1.7.21 and 1.8.x before 1.8.14, when path-based authorization is used, allows remote authenticated users to obtain sensitive path information by reading the history of a node that has been moved from a hidden path.
Other sources
Upstream has reported the below security vulnerability in Subversion:
Summary =======
Subversion servers, both httpd and svnserve, will reveal some paths that should be hidden by path-based authz. When a node is copied from an unreadable location to a readable location the unreadable path may be revealed. This vulnerablity only reveals the path, it does not reveal the contents of the path.
Known vulnerable ================
Subversion 1.8.0 to 1.8.13 Subversion 1.7.0 to 1.7.20 All older versions
Known fixed ===========
Subversion 1.8.14 Subversion 1.7.21
Details =======
The function svnrepostracenodelocations() follows the history of a node through earlier revisions and shows any copies. It should stop following history when an unreadable path is encountered but an implementation error causes the first unreadable path to be returned in some circumstances. This only reveals the unreadable path, it does not reveal the content of the file or directory at that path. Any attempts to obtain the content will fail with an authorization error.
Examples:
1. After copying "unreadable-path" to "readable-path" then following the history of "readable-path" may reveal "unreadable-path".
2. After copying "unreadable/some-path" to "readable/other-path" then following the history of "readable/other-path" may reveal "unreadable/some-path".
Acknowledgements:
Red Hat would like to thank Apache Software Foundation for reporting this issue. Upstream acknowledges C. Michael Pilato, CollabNet, as the original reporter.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/Subversionto a version that resolves this vulnerability.Fixed in 1.8.14 - Upgrade
Upgrade
redhat/Subversionto a version that resolves this vulnerability.Fixed in 1.7.21 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.7.21 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.8.14
Event History
Frequently Asked Questions
What is the severity of CVE-2015-3187?
CVE-2015-3187 is categorized as a moderate severity vulnerability.
How do I fix CVE-2015-3187?
To fix CVE-2015-3187, upgrade Apache Subversion to version 1.7.21 or 1.8.14 or later.
Who is affected by CVE-2015-3187?
CVE-2015-3187 affects Apache Subversion versions up to 1.7.20 and 1.8.x versions earlier than 1.8.14.
What type of vulnerability is CVE-2015-3187?
CVE-2015-3187 is an authorization bypass vulnerability allowing unauthorized path information disclosure.
Can remote users exploit CVE-2015-3187?
Yes, remote authenticated users can exploit CVE-2015-3187 to access sensitive path information.