Bug 1397403 (CVE-2016-8734) - CVE-2016-8734 subversion: unrestricted XML entity expansion in mod_dontdothat and Subversion clients using http(s)://
Summary: CVE-2016-8734 subversion: unrestricted XML entity expansion in mod_dontdothat...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2016-8734
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1399871
Blocks: 1397404
TreeView+ depends on / blocked
 
Reported: 2016-11-22 13:04 UTC by Martin Prpič
Modified: 2021-02-17 03:00 UTC (History)
3 users (show)

Fixed In Version: subversion 1.8.17, subversion 1.9.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-29 23:39:48 UTC
Embargoed:


Attachments (Terms of Use)
CVE-2016-8734-1.8.16.patch (6.25 KB, text/plain)
2016-11-22 13:07 UTC, Martin Prpič
no flags Details
CVE-2016-8734-1.9.4.patch (6.25 KB, text/plain)
2016-11-22 13:07 UTC, Martin Prpič
no flags Details

Description Martin Prpič 2016-11-22 13:04:31 UTC
It was discovered that Subversion's mod_dontdothat module and Subversion clients using http(s):// are vulnerable to a denial-of-service attack caused by exponential XML entity expansion. 

An authenticated remote attacker can cause denial-of-service conditions on the server using mod_dontdothat by sending a specially crafted REPORT request. The attack does not require access to a particular repository.

If an attacker has control over HTTP responses sent to a Subversion client, they can cause denial-of-service conditions on the client by injecting an XML bomb into the response.

Upstream bug:

https://issues.apache.org/jira/browse/SVN-4630

Comment 1 Martin Prpič 2016-11-22 13:04:36 UTC
Acknowledgments:

Name: Florian Weimer (Red Hat)

Comment 3 Martin Prpič 2016-11-22 13:07:13 UTC
Created attachment 1222728 [details]
CVE-2016-8734-1.8.16.patch

Comment 4 Martin Prpič 2016-11-22 13:07:16 UTC
Created attachment 1222729 [details]
CVE-2016-8734-1.9.4.patch

Comment 5 Doran Moppert 2016-11-25 03:35:08 UTC
There are two parts to this vulnerability:  server-side and client-side.

The client side vulnerability only affects subversion when built with the Serf WebDav library, not with the Neon WebDav library. Subversion for Red Hat Enterprise Linux 5, 6 and 7 is built with Neon, so it is not affected by the client-side vulnerability.

The server side vulnerability exists in mod_dontdothat, which was only moved from contrib into the standard release in subversion 1.7.3.  Red Hat Enterprise Linux 5 and 6 do not build or ship mod_dontdothat.

Comment 6 Doran Moppert 2016-11-25 04:56:09 UTC
Mitigation:

Only Apache+Subversion servers that have the "DontDoThatConfigFile" configuration option present are affected by this flaw. This option is not enabled in default httpd or mod_dav_svn configuration as shipped with Red Hat Enterprise Linux.

Comment 8 Doran Moppert 2016-11-29 23:39:33 UTC
Created subversion tracking bugs for this issue:

Affects: fedora-all [bug 1399871]


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