CVE-2015-0248: Medium severity Apache subversion vulnerability
Summary: ========
Subversion's moddavsvn and svnserve servers will trigger an assertion while processing some requests with special parameters, which are evaluated on the server side. Assertion will cause svnserve process or the process hosting moddavsvn module (Apache) to abort.
This can lead to a DoS. There are no known instances of this problem being exploited in the wild, but an exploit has been tested.
Details: ========
Subversion's http:// and svn:// protocol support includes certain request types with parameters, which are evaluated on the server side. As an example, sometimes clients need to trace the history of the object to its origin, while not knowing the exact value of the origin (revision number) prior to issuing the request.
Certain parameter combinations can exploit this behavior and force a server into attempting an operation with invalid arguments. Subversion servers guard against these situations with assertion statements, and the default behavior for a failed assertion is to abort the current process.
Severity: =========
CVSSv2 Base Score: 5.0 CVSSv2 Base Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P
We consider this to be a medium risk vulnerability.
Apache HTTPD servers with repositories that allow anonymous reads will be vulnerable without authentication. Many Apache servers will respawn the listener processes, but a determined attacker will be able to crash these processes as they appear, denying service to legitimate users. Servers using threaded MPMs will close the connection on other clients being served by the same process that services the request from the attacker. In either case there is an increased processing impact of restarting a process and the cost of per process caches being lost.
Exploiting this behavior against svnserve does not require an attacker to authenticate. A remote attacker can cause svnserve process to terminate and thus deny service to users of the server.
Unfortunately, no special configuration is required and all moddavsvn and svnserve servers are vulnerable.
Recommendations: ================
No known workarounds are available.
Acknowledgements:
Red Hat would like to thank the Apache Software Foundation for reporting this issue. Upstream acknowledges Evgeny Kotkov of VisualSVN as the original reporter.
Other sources
The (1) moddavsvn and (2) svnserve servers in Subversion 1.6.0 through 1.7.19 and 1.8.0 through 1.8.11 allow remote attackers to cause a denial of service (assertion failure and abort) via crafted parameter combinations related to dynamically evaluated revision numbers.
— MITRE
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.7.20 - Upgrade
Upgrade
redhat/Subversionto a version that resolves this vulnerability.Fixed in 1.8.13
Event History
Frequently Asked Questions
What is the severity of CVE-2015-0248?
CVE-2015-0248 has a severity rating that indicates it can lead to a denial of service due to assertion failures.
How do I fix CVE-2015-0248?
To mitigate CVE-2015-0248, upgrade to a fixed version of Subversion, specifically version 1.8.12 or later.
Which versions of Subversion are affected by CVE-2015-0248?
CVE-2015-0248 affects Subversion versions from 1.6.0 to 1.8.11.
What types of servers are impacted by CVE-2015-0248?
CVE-2015-0248 impacts mod_dav_svn and svnserve servers used in Subversion.
Can CVE-2015-0248 be exploited remotely?
Yes, CVE-2015-0248 can be exploited by remote attackers to cause a denial of service.