ID CVE-2010-4267
Summary Stack-based buffer overflow in the hpmud_get_pml function in io/hpmud/pml.c in Hewlett-Packard Linux Imaging and Printing (HPLIP) 1.6.7, 3.9.8, 3.10.9, and probably other versions allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted SNMP response with a large length value.
References
Vulnerable Configurations
  • cpe:2.3:a:hp:linux_imaging_and_printing_project:1.6.7
    cpe:2.3:a:hp:linux_imaging_and_printing_project:1.6.7
  • 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.10.9
    cpe:2.3:a:hp:linux_imaging_and_printing_project:3.10.9
CVSS
Base: 7.5 (as of 21-01-2011 - 11:47)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2011-0154.NASL
    description From Red Hat Security Advisory 2011:0154 : Updated hplip packages that fix one security issue are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Hewlett-Packard Linux Imaging and Printing (HPLIP) provides drivers for Hewlett-Packard printers and multifunction peripherals, and tools for installing, using, and configuring them. A flaw was found in the way certain HPLIP tools discovered devices using the SNMP protocol. If a user ran certain HPLIP tools that search for supported devices using SNMP, and a malicious user is able to send specially crafted SNMP responses, it could cause those HPLIP tools to crash or, possibly, execute arbitrary code with the privileges of the user running them. (CVE-2010-4267) Red Hat would like to thank Sebastian Krahmer of the SuSE Security Team for reporting this issue. Users of hplip should upgrade to these updated packages, which contain a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-08-13
    plugin id 68181
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68181
    title Oracle Linux 5 / 6 : hplip (ELSA-2011-0154)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2011-0525.NASL
    description Applied patch to fix CVE-2010-4267, remote stack overflow vulnerability (bug #670252). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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-07-12
    plugin id 51681
    published 2011-01-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=51681
    title Fedora 13 : hplip-3.10.9-14.fc13 (2011-0525)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2011-0154.NASL
    description Updated hplip packages that fix one security issue are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Hewlett-Packard Linux Imaging and Printing (HPLIP) provides drivers for Hewlett-Packard printers and multifunction peripherals, and tools for installing, using, and configuring them. A flaw was found in the way certain HPLIP tools discovered devices using the SNMP protocol. If a user ran certain HPLIP tools that search for supported devices using SNMP, and a malicious user is able to send specially crafted SNMP responses, it could cause those HPLIP tools to crash or, possibly, execute arbitrary code with the privileges of the user running them. (CVE-2010-4267) Red Hat would like to thank Sebastian Krahmer of the SuSE Security Team for reporting this issue. Users of hplip should upgrade to these updated packages, which contain a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-12-27
    plugin id 51563
    published 2011-01-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=51563
    title RHEL 5 / 6 : hplip (RHSA-2011:0154)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_HPLIP-101222.NASL
    description Specially crafted SNMP replies could cause a buffer overflow in hplip's sane backend (CVE-2010-4267). This has been fixed.
    last seen 2019-02-21
    modified 2013-10-25
    plugin id 51661
    published 2011-01-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=51661
    title SuSE 11.1 Security Update : hplip (SAT Patch Number 3735)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2152.NASL
    description Sebastian Krahmer discovered a buffer overflow in the SNMP discovery code of the HP Linux Printing and Imaging System, which could result in the execution of arbitrary code.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 51817
    published 2011-01-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=51817
    title Debian DSA-2152-1 : hplip - buffer overflow
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2011-0154.NASL
    description Updated hplip packages that fix one security issue are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Hewlett-Packard Linux Imaging and Printing (HPLIP) provides drivers for Hewlett-Packard printers and multifunction peripherals, and tools for installing, using, and configuring them. A flaw was found in the way certain HPLIP tools discovered devices using the SNMP protocol. If a user ran certain HPLIP tools that search for supported devices using SNMP, and a malicious user is able to send specially crafted SNMP responses, it could cause those HPLIP tools to crash or, possibly, execute arbitrary code with the privileges of the user running them. (CVE-2010-4267) Red Hat would like to thank Sebastian Krahmer of the SuSE Security Team for reporting this issue. Users of hplip should upgrade to these updated packages, which contain a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 53413
    published 2011-04-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53413
    title CentOS 5 : hplip / hplip3 (CESA-2011:0154)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_2_HPLIP-110117.NASL
    description Specially crafted SNMP replies could cause a buffer overflow in hplip's sane backend (CVE-2010-4267).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 53730
    published 2011-05-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53730
    title openSUSE Security Update : hplip (openSUSE-SU-2011:0068-1)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201203-17.NASL
    description The remote host is affected by the vulnerability described in GLSA-201203-17 (HPLIP: Multiple vulnerabilities) Two vulnerabilities have been found in HPLIP: The 'hpmud_get_pml()' function in pml.c contains a boundary error which could cause a stack-based buffer overflow (CVE-2010-4267). The 'send_data_to_stdout()' function in hpcupsfax.cpp creates insecure temporary files (CVE-2011-2722). Impact : A remote attacker might send specially crafted SNMP reponses, possibly resulting in execution of arbitrary code or a Denial of Service condition. Furthermore, a local attacker could perform symlink attacks to overwrite arbitrary files. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-11
    plugin id 58382
    published 2012-03-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58382
    title GLSA-201203-17 : HPLIP: Multiple vulnerabilities
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_3_HPLIP-110117.NASL
    description Specially crafted SNMP replies could cause a buffer overflow in hplip's sane backend (CVE-2010-4267).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75525
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75525
    title openSUSE Security Update : hplip (openSUSE-SU-2011:0068-1)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2011-013.NASL
    description A vulnerability has been found and corrected in hplip : A flaw was found in the way certain HPLIP tools discovered devices using the SNMP protocol. If a user ran certain HPLIP tools that search for supported devices using SNMP, and a malicious user is able to send specially crafted SNMP responses, it could cause those HPLIP tools to crash or, possibly, execute arbitrary code with the privileges of the user running them (CVE-2010-4267). Packages for 2009.0 are provided as of the Extended Maintenance Program. Please visit this link to learn more: http://store.mandriva.com/product_info.php?cPath=149 products_id=490 The updated packages have been patched to correct this issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 51805
    published 2011-01-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=51805
    title Mandriva Linux Security Advisory : hplip (MDVSA-2011:013)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20110117_HPLIP_ON_SL5_X.NASL
    description A flaw was found in the way certain HPLIP tools discovered devices using the SNMP protocol. If a user ran certain HPLIP tools that search for supported devices using SNMP, and a malicious user is able to send specially crafted SNMP responses, it could cause those HPLIP tools to crash or, possibly, execute arbitrary code with the privileges of the user running them. (CVE-2010-4267)
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 60937
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60937
    title Scientific Linux Security Update : hplip on SL5.x i386/x86_64
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2013-233-01.NASL
    description New hplip packages are available for Slackware 12.1, 12.2, 13.0, 13.1, 13.37, 14.0, and -current to fix a security issue.
    last seen 2019-02-21
    modified 2016-05-12
    plugin id 69431
    published 2013-08-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69431
    title Slackware 12.1 / 12.2 / 13.0 / 13.1 / 13.37 / 14.0 / current : hplip (SSA:2013-233-01)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2011-0524.NASL
    description Applied patch to fix CVE-2010-4267, remote stack overflow vulnerability (bug #670252). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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-07-12
    plugin id 51680
    published 2011-01-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=51680
    title Fedora 14 : hplip-3.10.9-14.fc14 (2011-0524)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1051-1.NASL
    description Sebastian Krahmer discovered that HPLIP incorrectly handled certain long SNMP responses. A remote attacker could send malicious SNMP replies to certain HPLIP tools and cause them to crash or possibly execute arbitrary code. 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 51673
    published 2011-01-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=51673
    title Ubuntu 8.04 LTS / 9.10 / 10.04 LTS / 10.10 : hplip vulnerability (USN-1051-1)
redhat via4
advisories
bugzilla
id 662740
title CVE-2010-4267 hplip: remote stack overflow vulnerability
oval
OR
  • AND
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhsa:tst:20100842001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhsa:tst:20100842002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhsa:tst:20100842003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhsa:tst:20100842004
    • OR
      • AND
        • comment hpijs is earlier than 0:3.9.8-33.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110154015
        • comment hpijs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110154016
      • AND
        • comment hplip is earlier than 0:3.9.8-33.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110154005
        • 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.9.8-33.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110154009
        • 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.9.8-33.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110154013
        • 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.9.8-33.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110154011
        • 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.9.8-33.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110154007
        • comment libsane-hpaio is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110154008
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhsa:tst:20070055001
    • OR
      • AND
        • comment hpijs is earlier than 0:1.6.7-6.el5_6.1
          oval oval:com.redhat.rhsa:tst:20110154020
        • comment hpijs is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070960005
      • AND
        • comment hplip is earlier than 0:1.6.7-6.el5_6.1
          oval oval:com.redhat.rhsa:tst:20110154018
        • comment hplip is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070960003
      • AND
        • comment libsane-hpaio is earlier than 0:1.6.7-6.el5_6.1
          oval oval:com.redhat.rhsa:tst:20110154022
        • comment libsane-hpaio is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070960007
rhsa
id RHSA-2011:0154
released 2011-01-17
severity Moderate
title RHSA-2011:0154: hplip security update (Moderate)
rpms
  • hpijs-0:3.9.8-33.el6_0.1
  • hplip-0:3.9.8-33.el6_0.1
  • hplip-common-0:3.9.8-33.el6_0.1
  • hplip-gui-0:3.9.8-33.el6_0.1
  • hplip-libs-0:3.9.8-33.el6_0.1
  • libsane-hpaio-0:3.9.8-33.el6_0.1
  • hpijs-0:1.6.7-6.el5_6.1
  • hplip-0:1.6.7-6.el5_6.1
  • libsane-hpaio-0:1.6.7-6.el5_6.1
refmap via4
bid 45833
confirm https://bugzilla.redhat.com/show_bug.cgi?id=662740
debian DSA-2152
fedora
  • FEDORA-2011-0524
  • FEDORA-2011-0525
gentoo GLSA-201203-17
mandriva MDVSA-2011:013
misc https://bugzilla.redhat.com/attachment.cgi?id=468455&action=diff
osvdb 70498
sectrack 1024967
secunia
  • 42939
  • 42956
  • 43022
  • 43068
  • 43083
  • 43102
  • 48441
suse
  • SUSE-SR:2011:002
  • SUSE-SR:2011:005
ubuntu USN-1051-1
vupen
  • ADV-2011-0136
  • ADV-2011-0160
  • ADV-2011-0211
  • ADV-2011-0212
  • ADV-2011-0228
  • ADV-2011-0243
xf hplip-hpmudgetpml-bo(64738)
Last major update 11-02-2014 - 23:24
Published 20-01-2011 - 14:00
Last modified 16-08-2017 - 21:33
Back to Top