CVE Vulnerabilities

CVE-2013-7393

Improper Link Resolution Before File Access ('Link Following')

Published: Jul 28, 2014 | Modified: Apr 12, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
2.4 LOW
AV:L/AC:H/Au:S/C:N/I:P/A:P
RedHat/V2
2.6 LOW
AV:L/AC:H/Au:N/C:N/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The daemonize.py module in Subversion 1.8.0 before 1.8.2 allows local users to gain privileges via a symlink attack on the pid file created for (1) svnwcsub.py or (2) irkerbridge.py when the –pidfile option is used. NOTE: this issue was SPLIT from CVE-2013-4262 based on different affected versions (ADT3).

Weakness

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Affected Software

NameVendorStart VersionEnd Version
SubversionApache1.8.0 (including)1.8.0 (including)
SubversionApache1.8.1 (including)1.8.1 (including)
SubversionUbuntulucid*
SubversionUbuntuupstream*

Potential Mitigations

  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

References