Bug 1247249 - (CVE-2015-3184) CVE-2015-3184 subversion: Mixed anonymous/authenticated path-based authz with httpd 2.4
CVE-2015-3184 subversion: Mixed anonymous/authenticated path-based authz with...
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 1242733 1250879 1252262
Blocks: 1247253
  Show dependency treegraph
Reported: 2015-07-27 11:58 EDT by Vasyl Kaigorodov
Modified: 2016-02-29 17:21 EST (History)
5 users (show)

See Also:
Fixed In Version: Subversion 1.8.14, Subversion 1.7.21
Doc Type: Bug Fix
Doc Text:
It was found that the mod_authz_svn module did not properly restrict anonymous access to Subversion repositories under certain configurations when used with Apache httpd 2.4.x. This could allow a user to anonymously access files in a Subversion repository, which should only be accessible to authenticated users.
Story Points: ---
Clone Of:
Last Closed: 2015-09-15 01:59:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
svn1.7.20.patch (113.52 KB, text/plain)
2015-07-27 12:05 EDT, Vasyl Kaigorodov
no flags Details
svn1.8.patch (113.74 KB, text/plain)
2015-07-27 12:05 EDT, Vasyl Kaigorodov
no flags Details

  None (edit)
Description Vasyl Kaigorodov 2015-07-27 11:58:38 EDT
Below is the upstream report about a security issue in Subversion:


  Subversion's mod_authz_svn does not properly restrict anonymous
  access in some mixed anonymous/authenticated environments when using
  Apache httpd 2.4.  The result is that anonymous access may be possible
  to files for which only authenticated access should be possible.

Known vulnerable

  CVE-2015-3185 Apache httpd 2.4.0 to 2.4.12
  CVE-2015-3184 Apache Subversion 1.8.0 to 1.8.13
  CVE-2015-3184 Apache Subversion 1.7.0 to 1.7.20

  Servers are vulnerable if either httpd or Subversion is as listed.

  Subversion 1.6 does not build with httpd 2.4 and servers using
  httpd 2.2 are not vulnerable.  Servers that are configured to deny
  anonymous access are not vulnerable.

Known fixed

  Apache httpd 2.4.13
  Apache Subversion 1.8.14 and 1.7.21

  Both httpd and Subversion need to be updated.


  If you have a Subversion repository configured for anonymous read
  that has mod_authz_svn configured such that some portion of the
  repository is hidden from an anonymous user, then in certain cases
  when Subversion is used with Apache httpd 2.4.x the file contents of
  the repository may be exposed to someone who knows the path name
  within the repository.  The protected files and directories will not
  show on directory listings.  Protected directories that do not show
  in their parent will return an empty directory listing rather than a
  403 error.  Protected files will return the full content of the
  file.  Specifically the conditions required for this to happen is
  that there needs to be a <Directory> block for the DocumentRoot
  allowing access to everyone (e.g. Require all granted) and "Satisfy
  any" must not be set.  This sort of configuration is included in the
  default httpd.conf that `make install` provides and is fairly


  CVSSv2 Base Score: 4.3
  CVSSv2 Base Vector: AV:N/AC:M/Au:N/C:P/I:N/A:N

  The repository needs to be configured with mixed anonymous and
  authenticated path-based authz and the the attacker needs to know
  the paths to files in the repository that require authentication.


Red Hat would like to thank Apache Software Foundation for reporting this issue. Upstream acknowledges C. Michael Pilato, CollabNet, as the original reporter.


This issue did not affect versions of subversion as shipped with Red Hat Enterprise Linux 5 and 6.
Comment 1 Vasyl Kaigorodov 2015-07-27 12:05:12 EDT
Created attachment 1056673 [details]
Comment 2 Vasyl Kaigorodov 2015-07-27 12:05:15 EDT
Created attachment 1056674 [details]
Comment 5 Tomas Hoger 2015-07-29 10:39:11 EDT
The fix for this issue depends on httpd fix for CVE-2015-3185 (bug 1243888).
Comment 7 Martin Prpič 2015-08-06 04:29:49 EDT
External References:

Comment 8 Martin Prpič 2015-08-06 04:33:17 EDT
Created subversion tracking bugs for this issue:

Affects: fedora-all [bug 1250879]
Comment 14 errata-xmlrpc 2015-09-08 09:10:22 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:1742 https://rhn.redhat.com/errata/RHSA-2015-1742.html
Comment 15 Fedora Update System 2016-02-29 17:21:56 EST
subversion-1.8.15-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.