CVE Vulnerabilities

CVE-2013-0200

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

Published: Mar 06, 2013 | Modified: Feb 13, 2023
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
1.9 LOW
AV:L/AC:M/Au:N/C:N/I:P/A:N
RedHat/V2
1.9 LOW
AV:L/AC:M/Au:N/C:N/I:P/A:N
RedHat/V3
Ubuntu
MEDIUM

HP Linux Imaging and Printing (HPLIP) through 3.12.4 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/hpcupsfilterc_#.bmp, (2) /tmp/hpcupsfilterk_#.bmp, (3) /tmp/hpcups_job#.out, (4) /tmp/hpijs_#####.out, or (5) /tmp/hpps_job#.out temporary file, a different vulnerability than CVE-2011-2722.

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
Linux_imaging_and_printing_project Hp * 3.12.4 (including)
Linux_imaging_and_printing_project Hp 1.0 (including) 1.0 (including)
Linux_imaging_and_printing_project Hp 2.0 (including) 2.0 (including)
Linux_imaging_and_printing_project Hp 2.7.10 (including) 2.7.10 (including)
Linux_imaging_and_printing_project Hp 3.9.2 (including) 3.9.2 (including)
Linux_imaging_and_printing_project Hp 3.9.4 (including) 3.9.4 (including)
Linux_imaging_and_printing_project Hp 3.9.4b (including) 3.9.4b (including)
Linux_imaging_and_printing_project Hp 3.9.6 (including) 3.9.6 (including)
Linux_imaging_and_printing_project Hp 3.9.8 (including) 3.9.8 (including)
Linux_imaging_and_printing_project Hp 3.9.10 (including) 3.9.10 (including)
Linux_imaging_and_printing_project Hp 3.9.12 (including) 3.9.12 (including)
Linux_imaging_and_printing_project Hp 3.10.2 (including) 3.10.2 (including)
Linux_imaging_and_printing_project Hp 3.10.5 (including) 3.10.5 (including)
Linux_imaging_and_printing_project Hp 3.10.6 (including) 3.10.6 (including)
Linux_imaging_and_printing_project Hp 3.10.9 (including) 3.10.9 (including)
Linux_imaging_and_printing_project Hp 3.11.1 (including) 3.11.1 (including)
Linux_imaging_and_printing_project Hp 3.11.3 (including) 3.11.3 (including)
Linux_imaging_and_printing_project Hp 3.11.3a (including) 3.11.3a (including)
Linux_imaging_and_printing_project Hp 3.11.5 (including) 3.11.5 (including)
Linux_imaging_and_printing_project Hp 3.11.7 (including) 3.11.7 (including)
Linux_imaging_and_printing_project Hp 3.11.10 (including) 3.11.10 (including)
Red Hat Enterprise Linux 6 RedHat hplip-0:3.12.4-4.el6 *
Hplip Ubuntu hardy *
Hplip Ubuntu lucid *
Hplip Ubuntu oneiric *
Hplip Ubuntu precise *
Hplip Ubuntu quantal *

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