ID CVE-2011-2722
Summary The send_data_to_stdout function in prnt/hpijs/hpcupsfax.cpp in HP Linux Imaging and Printing (HPLIP) 3.x before 3.11.10 allows local users to overwrite arbitrary files via a symlink attack on the /tmp/hpcupsfax.out temporary file.
References
Vulnerable Configurations
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.2:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.2:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.4:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.4:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.4b:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.4b:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.6:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.6:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.8:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.8:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.10:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.10:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.12:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.9.12:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.2:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.5:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.5:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.6:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.6:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.9:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.9:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.1:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.1:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.3:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.3:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.3a:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.3a:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:-:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:-:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:2.0:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:2.7.10:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:2.7.10:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.5:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.5:*:*:*:*:*:*:*
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.7:*:*:*:*:*:*:*
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.11.7:*:*:*:*:*:*:*
CVSS
Base: 1.2 (as of 11-10-2013 - 03:36)
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.
  • Using Malicious 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.
  • Manipulating Web 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 HIGH NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
cvss-vector via4 AV:L/AC:H/Au:N/C:N/I:P/A:N
redhat via4
advisories
bugzilla
id 725830
title CVE-2011-2722 hplip: insecure temporary file handling
oval
AND
  • comment Red Hat Enterprise Linux 5 is installed
    oval oval:com.redhat.rhba:tst:20070331001
  • OR
    • AND
      • comment hpijs3 is earlier than 0:3.9.8-15.el5
        oval oval:com.redhat.rhsa:tst:20130133012
      • comment hpijs3 is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20130133013
    • AND
      • comment hplip3 is earlier than 0:3.9.8-15.el5
        oval oval:com.redhat.rhsa:tst:20130133002
      • comment hplip3 is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20130133003
    • AND
      • comment hplip3-common is earlier than 0:3.9.8-15.el5
        oval oval:com.redhat.rhsa:tst:20130133006
      • comment hplip3-common is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20130133007
    • AND
      • comment hplip3-gui is earlier than 0:3.9.8-15.el5
        oval oval:com.redhat.rhsa:tst:20130133010
      • comment hplip3-gui is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20130133011
    • AND
      • comment hplip3-libs is earlier than 0:3.9.8-15.el5
        oval oval:com.redhat.rhsa:tst:20130133008
      • comment hplip3-libs is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20130133009
    • AND
      • comment libsane-hpaio3 is earlier than 0:3.9.8-15.el5
        oval oval:com.redhat.rhsa:tst:20130133004
      • comment libsane-hpaio3 is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20130133005
rhsa
id RHSA-2013:0133
released 2013-01-08
severity Low
title RHSA-2013:0133: hplip3 security and bug fix update (Low)
rpms
  • hpijs3-0:3.9.8-15.el5
  • hplip3-0:3.9.8-15.el5
  • hplip3-common-0:3.9.8-15.el5
  • hplip3-gui-0:3.9.8-15.el5
  • hplip3-libs-0:3.9.8-15.el5
  • libsane-hpaio3-0:3.9.8-15.el5
  • 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
gentoo GLSA-201203-17
mlist [oss-security] 20110726 Re: CVE request: hplip: insecure tmp file handling
secunia
  • 48441
  • 55083
ubuntu USN-1981-1
Last major update 11-10-2013 - 03:36
Published 25-05-2012 - 20:55
Back to Top