Lucene search

K
openvasCopyright (C) 2010 SecPodOPENVAS:902017
HistoryFeb 02, 2010 - 12:00 a.m.

SystemTap 'stap-server' Remote Shell Command Injection Vulnerability

2010-02-0200:00:00
Copyright (C) 2010 SecPod
plugins.openvas.org
7

0.099 Low

EPSS

Percentile

94.3%

This host has SystemTap installed and is prone to Arbitrary Command
Execution vulnerability

###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_systemtap_shell_cmd_injection_vuln.nasl 5401 2017-02-23 09:46:07Z teissa $
#
# SystemTap 'stap-server' Remote Shell Command Injection Vulnerability
#
# Authors:
# Madhuri D <[email protected]>
#
# Copyright:
# Copyright (c) 2010 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# 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.
###############################################################################

tag_impact = "Successful exploitation could allow rmote attackers to inject and execute
malicious shell commands or compromise a system.

Impact Level: System.";
tag_affected = "SystemTap versions prior to 1.1";
tag_insight = "The flaw is due to input validation error in the 'stap-server' component
when processing user-supplied requests.";
tag_solution = "Upgrade to version 1.1 or later
For updates refer to http://sourceware.org/systemtap/";
tag_summary = "This host has SystemTap installed and is prone to Arbitrary Command
Execution vulnerability";

if(description)
{
  script_id(902017);
  script_version("$Revision: 5401 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-23 10:46:07 +0100 (Thu, 23 Feb 2017) $");
  script_tag(name:"creation_date", value:"2010-02-02 07:26:26 +0100 (Tue, 02 Feb 2010)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_cve_id("CVE-2009-4273");
  script_name("SystemTap 'stap-server' Remote Shell Command Injection Vulnerability");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/38154");
  script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2010/0169");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2010 SecPod");
  script_dependencies("secpod_systemtap_detect.nasl");
  script_family("General");
  script_require_keys("SystemTap/Ver");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


include("version_func.inc");

systapVer = get_kb_item("SystemTap/Ver");
if(systapVer != NULL)
{
  if(version_is_less(version:systapVer, test_version:"1.1")){
    security_message(0);
  }
}