FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

svnserve is vulnerable to a local privilege escalation vulnerability via symlink attack.

Affected packages
1.4.0 <= subversion < 1.6.23_2
1.7.0 <= subversion < 1.7.13
1.8.0 <= subversion < 1.8.3

Details

VuXML ID f8a913cc-1322-11e3-8ffa-20cf30e32f6d
Discovery 2013-08-30
Entry 2013-09-02

Subversion Project reports:

svnserve takes a --pid-file option which creates a file containing the process id it is running as. It does not take steps to ensure that the file it has been directed at is not a symlink. If the pid file is in a directory writeable by unprivileged users, the destination could be replaced by a symlink allowing for privilege escalation. svnserve does not create a pid file by default.

All versions are only vulnerable when the --pid-file=ARG option is used.

References

CVE Name CVE-2013-4277
URL http://subversion.apache.org/security/CVE-2013-4277-advisory.txt