Lucene search

K
openvasCopyright (C) 2009 Greenbone Networks GmbHOPENVAS:1361412562310900429
HistoryJan 23, 2009 - 12:00 a.m.

HP Linux Imaging and Printing System Security Bypass Vulnerability

2009-01-2300:00:00
Copyright (C) 2009 Greenbone Networks GmbH
plugins.openvas.org
13

CVSS2

6.9

Attack Vector

LOCAL

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:M/Au:N/C:C/I:C/A:C

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

5.1%

HP Linux Imaging and Printing System is prone to a security bypass vulnerability.

# Copyright (C) 2009 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.900429");
  script_version("2022-05-09T13:48:18+0000");
  script_tag(name:"last_modification", value:"2022-05-09 13:48:18 +0000 (Mon, 09 May 2022)");
  script_tag(name:"creation_date", value:"2009-01-23 16:33:16 +0100 (Fri, 23 Jan 2009)");
  script_tag(name:"cvss_base", value:"6.9");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
  script_cve_id("CVE-2009-0122");
  script_name("HP Linux Imaging and Printing System Security Bypass Vulnerability");

  script_tag(name:"qod_type", value:"executable_version_unreliable");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
  script_family("Privilege escalation");
  script_dependencies("secpod_hplip_detect_lin.nasl");
  script_mandatory_keys("HP-LIP/Linux/Ver");
  script_tag(name:"impact", value:"Successful exploitation will let the attacker gain unauthorized privileges
  and escalate the privileges in a malicious way.");
  script_tag(name:"affected", value:"HP Linux Imaging and Printing System version 2.7.7 or 2.8.2");
  script_tag(name:"insight", value:"This flaw is due to the 'postinst' script of the hplip package which tries
  to change the permissions of user config files in an insecure manner.");
  script_tag(name:"summary", value:"HP Linux Imaging and Printing System is prone to a security bypass vulnerability.");
  script_tag(name:"solution", value:"Upgrade to a later version.");
  script_xref(name:"URL", value:"http://secunia.com/advisories/33539");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/33249");
  script_xref(name:"URL", value:"http://www.ubuntu.com/usn/usn-708-1");
  script_xref(name:"URL", value:"https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/191299");

  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

hplipVer = get_kb_item("HP-LIP/Linux/Ver");
if(!hplipVer)
  exit(0);

if(hplipVer =~ "(2\.7\.7|2\.8\.2)"){
  security_message( port: 0, data: "The target host was found to be vulnerable" );
}

CVSS2

6.9

Attack Vector

LOCAL

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:M/Au:N/C:C/I:C/A:C

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

5.1%