CVE Vulnerabilities

CVE-2010-2431

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

Published: Jun 22, 2010 | Modified: May 15, 2013
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
2.6 LOW
AV:L/AC:H/Au:N/C:N/I:P/A:P
RedHat/V2
3.2 LOW
AV:A/AC:H/Au:N/C:N/I:P/A:P
RedHat/V3
Ubuntu
LOW

The cupsFileOpen function in CUPS before 1.4.4 allows local users, with lp group membership, to overwrite arbitrary files via a symlink attack on the (1) /var/cache/cups/remote.cache or (2) /var/cache/cups/job.cache file.

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

Name Vendor Start Version End Version
Cups Apple * 1.4.3 (including)
Cups Apple 1.1 (including) 1.1 (including)
Cups Apple 1.1.1 (including) 1.1.1 (including)
Cups Apple 1.1.2 (including) 1.1.2 (including)
Cups Apple 1.1.3 (including) 1.1.3 (including)
Cups Apple 1.1.4 (including) 1.1.4 (including)
Cups Apple 1.1.5 (including) 1.1.5 (including)
Cups Apple 1.1.5-1 (including) 1.1.5-1 (including)
Cups Apple 1.1.5-2 (including) 1.1.5-2 (including)
Cups Apple 1.1.6 (including) 1.1.6 (including)
Cups Apple 1.1.6-1 (including) 1.1.6-1 (including)
Cups Apple 1.1.6-2 (including) 1.1.6-2 (including)
Cups Apple 1.1.6-3 (including) 1.1.6-3 (including)
Cups Apple 1.1.7 (including) 1.1.7 (including)
Cups Apple 1.1.8 (including) 1.1.8 (including)
Cups Apple 1.1.9 (including) 1.1.9 (including)
Cups Apple 1.1.9-1 (including) 1.1.9-1 (including)
Cups Apple 1.1.10 (including) 1.1.10 (including)
Cups Apple 1.1.10-1 (including) 1.1.10-1 (including)
Cups Apple 1.1.11 (including) 1.1.11 (including)
Cups Apple 1.1.12 (including) 1.1.12 (including)
Cups Apple 1.1.13 (including) 1.1.13 (including)
Cups Apple 1.1.14 (including) 1.1.14 (including)
Cups Apple 1.1.15 (including) 1.1.15 (including)
Cups Apple 1.1.16 (including) 1.1.16 (including)
Cups Apple 1.1.17 (including) 1.1.17 (including)
Cups Apple 1.1.18 (including) 1.1.18 (including)
Cups Apple 1.1.19 (including) 1.1.19 (including)
Cups Apple 1.1.19-rc1 (including) 1.1.19-rc1 (including)
Cups Apple 1.1.19-rc2 (including) 1.1.19-rc2 (including)
Cups Apple 1.1.19-rc3 (including) 1.1.19-rc3 (including)
Cups Apple 1.1.19-rc4 (including) 1.1.19-rc4 (including)
Cups Apple 1.1.19-rc5 (including) 1.1.19-rc5 (including)
Cups Apple 1.1.20 (including) 1.1.20 (including)
Cups Apple 1.1.20-rc1 (including) 1.1.20-rc1 (including)
Cups Apple 1.1.20-rc2 (including) 1.1.20-rc2 (including)
Cups Apple 1.1.20-rc3 (including) 1.1.20-rc3 (including)
Cups Apple 1.1.20-rc4 (including) 1.1.20-rc4 (including)
Cups Apple 1.1.20-rc5 (including) 1.1.20-rc5 (including)
Cups Apple 1.1.20-rc6 (including) 1.1.20-rc6 (including)
Cups Apple 1.1.21 (including) 1.1.21 (including)
Cups Apple 1.1.21-rc1 (including) 1.1.21-rc1 (including)
Cups Apple 1.1.21-rc2 (including) 1.1.21-rc2 (including)
Cups Apple 1.1.22 (including) 1.1.22 (including)
Cups Apple 1.1.22-rc1 (including) 1.1.22-rc1 (including)
Cups Apple 1.1.22-rc2 (including) 1.1.22-rc2 (including)
Cups Apple 1.1.23 (including) 1.1.23 (including)
Cups Apple 1.1.23-rc1 (including) 1.1.23-rc1 (including)
Cups Apple 1.2-b1 (including) 1.2-b1 (including)
Cups Apple 1.2-b2 (including) 1.2-b2 (including)
Cups Apple 1.2-rc1 (including) 1.2-rc1 (including)
Cups Apple 1.2-rc2 (including) 1.2-rc2 (including)
Cups Apple 1.2-rc3 (including) 1.2-rc3 (including)
Cups Apple 1.2.0 (including) 1.2.0 (including)
Cups Apple 1.2.1 (including) 1.2.1 (including)
Cups Apple 1.2.2 (including) 1.2.2 (including)
Cups Apple 1.2.3 (including) 1.2.3 (including)
Cups Apple 1.2.4 (including) 1.2.4 (including)
Cups Apple 1.2.5 (including) 1.2.5 (including)
Cups Apple 1.2.6 (including) 1.2.6 (including)
Cups Apple 1.2.7 (including) 1.2.7 (including)
Cups Apple 1.2.8 (including) 1.2.8 (including)
Cups Apple 1.2.9 (including) 1.2.9 (including)
Cups Apple 1.2.10 (including) 1.2.10 (including)
Cups Apple 1.2.11 (including) 1.2.11 (including)
Cups Apple 1.2.12 (including) 1.2.12 (including)
Cups Apple 1.3-b1 (including) 1.3-b1 (including)
Cups Apple 1.3-rc1 (including) 1.3-rc1 (including)
Cups Apple 1.3-rc2 (including) 1.3-rc2 (including)
Cups Apple 1.3.0 (including) 1.3.0 (including)
Cups Apple 1.3.1 (including) 1.3.1 (including)
Cups Apple 1.3.2 (including) 1.3.2 (including)
Cups Apple 1.3.3 (including) 1.3.3 (including)
Cups Apple 1.3.4 (including) 1.3.4 (including)
Cups Apple 1.3.5 (including) 1.3.5 (including)
Cups Apple 1.3.6 (including) 1.3.6 (including)
Cups Apple 1.3.7 (including) 1.3.7 (including)
Cups Apple 1.3.8 (including) 1.3.8 (including)
Cups Apple 1.3.9 (including) 1.3.9 (including)
Cups Apple 1.3.10 (including) 1.3.10 (including)
Cups Apple 1.3.11 (including) 1.3.11 (including)
Cups Apple 1.4.0 (including) 1.4.0 (including)
Cups Apple 1.4.1 (including) 1.4.1 (including)
Cups Apple 1.4.2 (including) 1.4.2 (including)
Cups Ubuntu jaunty *
Cups Ubuntu karmic *
Cups Ubuntu lucid *
Cups Ubuntu upstream *
Cupsys Ubuntu dapper *
Cupsys Ubuntu hardy *
Cupsys Ubuntu upstream *
Red Hat Enterprise Linux 5 RedHat cups-1:1.3.7-18.el5_5.8 *

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