CVE-2015-0251: Medium severity Apache subversion vulnerability

Published Mar 24, 2015
·
Updated

Summary: ========

Subversion's moddavsvn server allows setting arbitrary svn:author property values when committing new revisions. This can be accomplished using a specially crafted sequence of requests. An evil-doer can fake svn:author values on his commits. However, as authorization rules are applied to the evil-doer's true username, forged svn:author values can only happen on commits that touch the paths the evil-doer has write access to.

Doing so does not grant any additional access and does not circumvent the standard Apache authentication or authorization mechanisms. Still, an ability to spoof svn:author property values can impact data integrity in environments that rely on these values.

There are no known instances of the problem being exploited in the wild, but an exploit has been tested.

Details: ========

The Subversion http://-based protocol used for communicating with a Subversion moddavsvn server has two versions, v1 and v2. The v2 protocol was added in Subversion 1.7.0, but the server allows using both protocol versions for compatibility reasons. When a commit happens, the client sends a sequence of requests (POST, PUT, MERGE, etc.) that depend on the negotiated protocol version.

Usually, a server uses the name of the authenticated user as the svn:author value for a new revision. However, with a specially handcrafted v1 request sequence, a client can instruct the server to use the svn:author property that she/he provided. In this case, the server will use an arbitrary value coming from the client instead of the svn:author value originating from the authentication mechanism.

Severity: =========

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

We consider this to be a medium risk vulnerability.

An attacker needs to have commit access to the repository to exploit the vulnerability. The ability to spoof svn:author property values can impact data integrity in environments that expect the values to denote the actual commit author. The real ID of the author could still be determined using server access logs. However, it is also possible that a spoofed change could go in unnoticed.

Subversion's repository hooks might see the real ID of the author or the forged value, depending on the hook type and the hook contents:

- A start-commit hook will see the real username in the USER argument - A start-commit hook will see the real username when performing 'svnlook propget --revprop -t TXNNAME' - A pre-commit hook will see the forged username when performing 'svnlook propget --revprop -t TXNNAME' - A post-commit hook will see the forged username when performing 'svnlook propget --revprop -r REV'

Unfortunately, no special configuration is required and all moddavsvn servers are vulnerable.

Recommendations: ================

No workaround is 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 moddavsvn server in Subversion 1.5.0 through 1.7.19 and 1.8.0 through 1.8.11 allows remote authenticated users to spoof the svn:author property via a crafted v1 HTTP protocol request sequences.

— MITRE

Affected Software

75 affected componentsFixes available
Apache subversion=1.5.0
Apache subversion=1.5.1
Apache subversion=1.5.2
Apache subversion=1.5.3
Apache subversion=1.5.4
Apache subversion=1.5.5
Apache subversion=1.5.6
Apache subversion=1.5.7
Apache subversion=1.5.8
Apache subversion=1.6.0
Apache subversion=1.6.1
Apache subversion=1.6.2
Apache subversion=1.6.3
Apache subversion=1.6.4
Apache subversion=1.6.5
Apache subversion=1.6.6
Apache subversion=1.6.7
Apache subversion=1.6.8
Apache subversion=1.6.9
Apache subversion=1.6.10
Apache subversion=1.6.11
Apache subversion=1.6.12
Apache subversion=1.6.13
Apache subversion=1.6.14
Apache subversion=1.6.15
Apache subversion=1.6.16
Apache subversion=1.6.17
Apache subversion=1.6.18
Apache subversion=1.6.19
Apache subversion=1.6.20
Apache subversion=1.6.21
Apache subversion=1.6.23
Apache subversion=1.7.0
Apache subversion=1.7.1
Apache subversion=1.7.2
Apache subversion=1.7.3
Apache subversion=1.7.4
Apache subversion=1.7.5
Apache subversion=1.7.6
Apache subversion=1.7.7
Apache subversion=1.7.8
Apache subversion=1.7.9
Apache subversion=1.7.10
Apache subversion=1.7.11
Apache subversion=1.7.12
Apache subversion=1.7.13
Apache subversion=1.7.14
Apache subversion=1.7.15
Apache subversion=1.7.16
Apache subversion=1.7.17
Apache subversion=1.7.18
Apache subversion=1.7.19
Apache subversion=1.8.0
Apache subversion=1.8.1
Apache subversion=1.8.2
Apache subversion=1.8.3
Apache subversion=1.8.4
Apache subversion=1.8.5
Apache subversion=1.8.6
Apache subversion=1.8.7
Apache subversion=1.8.8
Apache subversion=1.8.9
Apache subversion=1.8.10
Apache subversion=1.8.11
openSUSE openSUSE=13.1
openSUSE openSUSE=13.2
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Hpc Node=6.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server Eus=6.7.z
redhat Enterprise Linux Workstation=6.0
Oracle Solaris=11.3
Apple Xcode=7.0
redhat/subversion<1.7.20
1.7.20
redhat/subversion<1.8.13
1.8.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/Subversion to a version that resolves this vulnerability.

    Fixed in 1.7.20
  2. Upgrade

    Upgrade redhat/Subversion to a version that resolves this vulnerability.

    Fixed in 1.8.13

Event History

Mar 24, 2015
Data Sourced
via Red Hat·10:18 AM
DescriptionSeverityAffected Software
Apr 8, 2015
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
06:59 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2015-0251?

CVE-2015-0251 has a medium severity rating due to its ability to allow remote authenticated users to spoof the svn:author property.

2

How do I fix CVE-2015-0251?

To fix CVE-2015-0251, upgrade to Subversion version 1.8.12 or later, or apply patches as recommended by your vendor.

3

What versions of Subversion are affected by CVE-2015-0251?

CVE-2015-0251 affects Subversion versions 1.5.0 through 1.7.19 and 1.8.0 through 1.8.11.

4

Can CVE-2015-0251 lead to unauthorized changes?

Yes, CVE-2015-0251 can lead to unauthorized changes by allowing attackers to spoof the author of commits.

5

Who is at risk of CVE-2015-0251?

Remote authenticated users of Subversion who are using affected versions are at risk of the CVE-2015-0251 vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203