A Subversion repository can be broken by SHA-1 colliding files.
Impact
An attacker with commit rights to a repo can prevent access to legitimate users.
CVSS3 score: 6.5 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Exploitation
The issue can be demonstrated this way:
- Create a new repository
- Checkout this repository
- Create a directory named d1 and add the two attached files of this request into this directory
- Add the directory d1 to the repo and commit (svn add d1 && svn commit)
- Try to checkout the repository
References
First publicly known issue due to this vulnerability (Webkit repo): https://bugs.webkit.org/show_bug.cgi?id=168774&comment=c27#c27
How SHA-1 collisions can be generated: https://shattered.it/