ID CVE-2013-0200
Summary 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.
References
Vulnerable Configurations
  • HP Linux Imaging and Printing Project 1.0
    cpe:2.3:a:hp:linux_imaging_and_printing_project:1.0
  • HP Linux Imaging and Printing Project 2.0
    cpe:2.3:a:hp:linux_imaging_and_printing_project:2.0
  • HP Linux Imaging and Printing Project 2.7.10
    cpe:2.3:a:hp:linux_imaging_and_printing_project:2.7.10
  • HP Linux Imaging and Printing Project 3.9.2
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.2
  • HP Linux Imaging and Printing Project 3.9.4
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.4
  • HP Linux Imaging and Printing Project 3.9.4b
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.4b
  • HP Linux Imaging and Printing Project 3.9.6
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.6
  • HP Linux Imaging and Printing Project 3.9.8
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.8
  • HP Linux Imaging and Printing Project 3.9.10
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.10
  • HP Linux Imaging and Printing Project 3.9.12
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.12
  • HP Linux Imaging and Printing Project 3.10.2
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.2
  • HP Linux Imaging and Printing Project 3.10.5
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.5
  • HP Linux Imaging and Printing Project 3.10.6
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.6
  • HP Linux Imaging and Printing Project 3.10.9
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.9
  • HP Linux Imaging and Printing Project 3.11.1
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.1
  • HP Linux Imaging and Printing Project 3.11.3
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.3
  • HP Linux Imaging and Printing Project 3.11.3a
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.3a
  • HP Linux Imaging and Printing Project 3.11.5
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.5
  • HP Linux Imaging and Printing Project 3.11.7
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.7
  • HP Linux Imaging and Printing Project 3.11.10
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.10
  • HP Linux Imaging and Printing Project 3.12.4
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.12.4
  • Red Hat Enterprise Linux 6.0
    cpe:2.3:o:redhat:enterprise_linux:6.0
CVSS
Base: 1.9 (as of 07-03-2013 - 09:42)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
nessus via4
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_HPLIP-140116.NASL
    description hplip was updated to fix three security issues : - Some local file overwrite problems via predictable /tmp filenames were fixed. (CVE-2013-0200) - hplip used an insecure polkit DBUS API (polkit-process subject race condition) which could lead to local privilege escalation. (CVE-2013-4325) - hplip uses arbitrary file creation/overwrite (via hard-coded file name /tmp/hp-pkservice.log). (CVE-2013-6402)
    last seen 2019-02-21
    modified 2014-05-02
    plugin id 72277
    published 2014-02-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=72277
    title SuSE 11.2 / 11.3 Security Update : hplip (SAT Patch Numbers 8775 / 8777)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2829.NASL
    description Multiple vulnerabilities have been found in the HP Linux Printing and Imaging System: Insecure temporary files, insufficient permission checks in PackageKit and the insecure hp-upgrade service has been disabled.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 71769
    published 2013-12-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71769
    title Debian DSA-2829-1 : hplip - several vulnerabilities
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1981-1.NASL
    description It was discovered that HPLIP incorrectly handled temporary files when using the fax capabilities. A local attacker could possibly use this issue to overwrite arbitrary files. This issue only applied to Ubuntu 10.04 LTS. (CVE-2011-2722) Tim Waugh discovered that HPLIP incorrectly handled temporary files when printing. A local attacker could possibly use this issue to overwrite arbitrary files. In the default installation of Ubuntu 12.04 LTS and Ubuntu 12.10, this should be prevented by the Yama link restrictions. (CVE-2013-0200). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-12-01
    plugin id 70256
    published 2013-10-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70256
    title Ubuntu 10.04 LTS / 12.04 LTS / 12.10 : hplip vulnerabilities (USN-1981-1)
  • NASL family Solaris Local Security Checks
    NASL id SOLARIS11_HPLIP_20140522.NASL
    description The remote Solaris system is missing necessary patches to address security updates : - 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. (CVE-2013-0200)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 80639
    published 2015-01-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80639
    title Oracle Solaris Third-Party Patch Update : hplip (cve_2013_0200_link_following)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20130221_HPLIP_ON_SL6_X.NASL
    description Several temporary file handling flaws were found in HPLIP. A local attacker could use these flaws to perform a symbolic link attack, overwriting arbitrary files accessible to a process using HPLIP. (CVE-2013-0200, CVE-2011-2722) The hplip packages have been upgraded to upstream version 3.12.4, which provides a number of bug fixes and enhancements over the previous version. This update also fixes the following bugs : - Previously, the hpijs package required the obsolete cupsddk-drivers package, which was provided by the cups package. Under certain circumstances, this dependency caused hpijs installation to fail. This bug has been fixed and hpijs no longer requires cupsddk-drivers. - The configuration of the Scanner Access Now Easy (SANE) back end is located in the /etc/sane.d/dll.d/ directory, however, the hp-check utility checked only the /etc/sane.d/dll.conf file. Consequently, hp-check checked for correct installation, but incorrectly reported a problem with the way the SANE back end was installed. With this update, hp-check properly checks for installation problems in both locations as expected.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 65011
    published 2013-03-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=65011
    title Scientific Linux Security Update : hplip on SL6.x i386/x86_64
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2013-0500.NASL
    description Updated hplip packages that fix several security issues, multiple bugs, and add various enhancements are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. The hplip packages contain the Hewlett-Packard Linux Imaging and Printing Project (HPLIP), which provides drivers for Hewlett-Packard printers and multi-function peripherals. Several temporary file handling flaws were found in HPLIP. A local attacker could use these flaws to perform a symbolic link attack, overwriting arbitrary files accessible to a process using HPLIP. (CVE-2013-0200, CVE-2011-2722) The CVE-2013-0200 issues were discovered by Tim Waugh of Red Hat. The hplip packages have been upgraded to upstream version 3.12.4, which provides a number of bug fixes and enhancements over the previous version. (BZ#731900) This update also fixes the following bugs : * Previously, the hpijs package required the obsolete cupsddk-drivers package, which was provided by the cups package. Under certain circumstances, this dependency caused hpijs installation to fail. This bug has been fixed and hpijs no longer requires cupsddk-drivers. (BZ#829453) * The configuration of the Scanner Access Now Easy (SANE) back end is located in the /etc/sane.d/dll.d/ directory, however, the hp-check utility checked only the /etc/sane.d/dll.conf file. Consequently, hp-check checked for correct installation, but incorrectly reported a problem with the way the SANE back end was installed. With this update, hp-check properly checks for installation problems in both locations as expected. (BZ#683007) All users of hplip are advised to upgrade to these updated packages, which fix these issues and add these enhancements.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 64752
    published 2013-02-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64752
    title RHEL 6 : hplip (RHSA-2013:0500)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2013-0500.NASL
    description From Red Hat Security Advisory 2013:0500 : Updated hplip packages that fix several security issues, multiple bugs, and add various enhancements are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. The hplip packages contain the Hewlett-Packard Linux Imaging and Printing Project (HPLIP), which provides drivers for Hewlett-Packard printers and multi-function peripherals. Several temporary file handling flaws were found in HPLIP. A local attacker could use these flaws to perform a symbolic link attack, overwriting arbitrary files accessible to a process using HPLIP. (CVE-2013-0200, CVE-2011-2722) The CVE-2013-0200 issues were discovered by Tim Waugh of Red Hat. The hplip packages have been upgraded to upstream version 3.12.4, which provides a number of bug fixes and enhancements over the previous version. (BZ#731900) This update also fixes the following bugs : * Previously, the hpijs package required the obsolete cupsddk-drivers package, which was provided by the cups package. Under certain circumstances, this dependency caused hpijs installation to fail. This bug has been fixed and hpijs no longer requires cupsddk-drivers. (BZ#829453) * The configuration of the Scanner Access Now Easy (SANE) back end is located in the /etc/sane.d/dll.d/ directory, however, the hp-check utility checked only the /etc/sane.d/dll.conf file. Consequently, hp-check checked for correct installation, but incorrectly reported a problem with the way the SANE back end was installed. With this update, hp-check properly checks for installation problems in both locations as expected. (BZ#683007) All users of hplip are advised to upgrade to these updated packages, which fix these issues and add these enhancements.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 68741
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68741
    title Oracle Linux 6 : hplip (ELSA-2013-0500)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2013-0500.NASL
    description Updated hplip packages that fix several security issues, multiple bugs, and add various enhancements are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. The hplip packages contain the Hewlett-Packard Linux Imaging and Printing Project (HPLIP), which provides drivers for Hewlett-Packard printers and multi-function peripherals. Several temporary file handling flaws were found in HPLIP. A local attacker could use these flaws to perform a symbolic link attack, overwriting arbitrary files accessible to a process using HPLIP. (CVE-2013-0200, CVE-2011-2722) The CVE-2013-0200 issues were discovered by Tim Waugh of Red Hat. The hplip packages have been upgraded to upstream version 3.12.4, which provides a number of bug fixes and enhancements over the previous version. (BZ#731900) This update also fixes the following bugs : * Previously, the hpijs package required the obsolete cupsddk-drivers package, which was provided by the cups package. Under certain circumstances, this dependency caused hpijs installation to fail. This bug has been fixed and hpijs no longer requires cupsddk-drivers. (BZ#829453) * The configuration of the Scanner Access Now Easy (SANE) back end is located in the /etc/sane.d/dll.d/ directory, however, the hp-check utility checked only the /etc/sane.d/dll.conf file. Consequently, hp-check checked for correct installation, but incorrectly reported a problem with the way the SANE back end was installed. With this update, hp-check properly checks for installation problems in both locations as expected. (BZ#683007) All users of hplip are advised to upgrade to these updated packages, which fix these issues and add these enhancements.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 65136
    published 2013-03-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=65136
    title CentOS 6 : hplip (CESA-2013:0500)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2013-088.NASL
    description This hplip update addresses the folloving issues : Print/Fax queues can now be analyzed by running hp-diagnose-queues fixes some issues and duplex scanning support with newer AIO devices fixes Wireless configuration using hp-wificonfig command for HP Deskjet 3000 J310 series and HP Deskjet 3050 J610 series fixes the blurry printing issue on HP LaserJet CP1025 and CP1025nw Full changelog is available upstream: http://hplipopensource.com/hplip-web/release_notes.html Also note there were several issues fixed upstream. Some HP printers / multi-function devices require plugins additionally to hplip to function correctly. This update makes the installation of such plugins possible again. Several temporary file handling flaws were found in HPLIP. A local attacker could use these flaws to perform a symbolic link attack, overwriting arbitrary files accessible to a process using HPLIP (CVE-2013-0200).
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 66100
    published 2013-04-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66100
    title Mandriva Linux Security Advisory : hplip (MDVSA-2013:088)
redhat via4
advisories
bugzilla
id 902163
title CVE-2013-0200 hplip: insecure temporary file handling flaws
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhba:tst:20111656001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhba:tst:20111656002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhba:tst:20111656004
  • OR
    • AND
      • comment hpijs is earlier than 1:3.12.4-4.el6
        oval oval:com.redhat.rhsa:tst:20130500011
      • comment hpijs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110154016
    • AND
      • comment hplip is earlier than 0:3.12.4-4.el6
        oval oval:com.redhat.rhsa:tst:20130500005
      • comment hplip is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110154006
    • AND
      • comment hplip-common is earlier than 0:3.12.4-4.el6
        oval oval:com.redhat.rhsa:tst:20130500013
      • comment hplip-common is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110154010
    • AND
      • comment hplip-gui is earlier than 0:3.12.4-4.el6
        oval oval:com.redhat.rhsa:tst:20130500007
      • comment hplip-gui is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110154014
    • AND
      • comment hplip-libs is earlier than 0:3.12.4-4.el6
        oval oval:com.redhat.rhsa:tst:20130500009
      • comment hplip-libs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110154012
    • AND
      • comment libsane-hpaio is earlier than 0:3.12.4-4.el6
        oval oval:com.redhat.rhsa:tst:20130500015
      • comment libsane-hpaio is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110154008
rhsa
id RHSA-2013:0500
released 2013-02-21
severity Low
title RHSA-2013:0500: hplip security, bug fix and enhancement update (Low)
rpms
  • hpijs-1:3.12.4-4.el6
  • hplip-0:3.12.4-4.el6
  • hplip-common-0:3.12.4-4.el6
  • hplip-gui-0:3.12.4-4.el6
  • hplip-libs-0:3.12.4-4.el6
  • libsane-hpaio-0:3.12.4-4.el6
refmap via4
confirm
debian DSA-2829
mandriva MDVSA-2013:088
misc http://hplipopensource.com/hplip-web/release_notes.html
secunia 55083
ubuntu USN-1981-1
Last major update 06-02-2014 - 23:44
Published 06-03-2013 - 15:55
Last modified 22-04-2019 - 13:48
Back to Top