| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| OpenVAS Manager Command Injection Vulnerability | 1 Feb 201100:00 | – | zdt | |
| CVE-2011-0018 | 31 Jan 201100:00 | – | circl | |
| CVE-2011-0018 | 28 Jan 201115:00 | – | cve | |
| CVE-2011-0018 | 28 Jan 201115:00 | – | cvelist | |
| OpenVAS Manager - Command Injection | 31 Jan 201100:00 | – | exploitdb | |
| EUVD-2011-0044 | 7 Oct 202500:30 | – | euvd | |
| OpenVAS Manager - Command Injection | 31 Jan 201100:00 | – | exploitpack | |
| CVE-2011-0018 | 28 Jan 201116:00 | – | nvd | |
| OpenVAS Manager OMP Request Handling Command Injection Vulnerability | 22 Apr 201100:00 | – | openvas | |
| Cross site request forgery (csrf) | 28 Jan 201116:00 | – | prion |
| Source | Link |
|---|---|
| xforce | www.xforce.iss.net/xforce/xfdb/65011 |
| vupen | www.vupen.com/english/advisories/2011/0208 |
| exploit-db | www.exploit-db.com/exploits/16086/ |
| openvas | www.openvas.org/OVSA20110118.html |
| secunia | www.secunia.com/advisories/43037 |
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_openvas_manager_command_exec_vuln.nasl 7823 2017-11-20 08:54:04Z cfischer $
#
# OpenVAS Manager OMP Request Handling Command Injection Vulnerability
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# 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_solution = "Apply the patch or upgrade to OpenVAS Manager 1.0.4, 2.0.2 or later,
For update refer,
http://www.openvas.org/
http://www.openvas.org/OVSA20110118.html
*****
NOTE : Ignore this warning, if above mentioned patch is already applied.
*****";
tag_impact = "Successful exploitation will allow attacker to execute arbitrary commands
with the privileges of the OpenVAS Manager (typically root).";
tag_affected = "OpenVAS Manager versions prior to 1.0.4 and prior to 2.0.2";
tag_insight = "The flaw is due to an input validation error in the 'email()' function
in 'manage_sql.c' while processing OMP (OpenVAS Management Protocol) requests
sent by authenticated users of the GSA (Greenbone Security Assistant) web
application.";
tag_summary = "This host is installed with OpenVAS Manager and is prone command
injection vulnerability.";
if(description)
{
script_id(801920);
script_version("$Revision: 7823 $");
script_tag(name:"last_modification", value:"$Date: 2017-11-20 09:54:04 +0100 (Mon, 20 Nov 2017) $");
script_tag(name:"creation_date", value:"2011-04-22 16:38:12 +0200 (Fri, 22 Apr 2011)");
script_cve_id("CVE-2011-0018");
script_bugtraq_id(45987);
script_tag(name:"cvss_base", value:"9.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:C/I:C/A:C");
script_name("OpenVAS Manager OMP Request Handling Command Injection Vulnerability");
script_xref(name : "URL" , value : "http://secunia.com/advisories/43037");
script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/65011");
script_xref(name : "URL" , value : "http://www.openvas.org/OVSA20110118.html");
script_xref(name : "URL" , value : "http://www.exploit-db.com/exploits/16086/");
script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2011/0208");
script_tag(name:"qod_type", value:"executable_version");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
script_family("General");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("login/SSH/success");
script_exclude_keys("ssh/no_linux_shell");
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "summary" , value : tag_summary);
script_tag(name : "solution" , value : tag_solution);
exit(0);
}
include("ssh_func.inc");
include("version_func.inc");
sock = ssh_login_or_reuse_connection();
if(!sock){
exit(0);
}
## Check for the possible paths
paths = find_bin(prog_name:"openvasmd", sock:sock);
foreach stardictbin (paths)
{
## Get the version by executing the command gsad
omVer = get_bin_version(full_prog_name:chomp(stardictbin),
sock:sock, version_argv:"--version",
ver_pattern:"OpenVAS Manager.*");
if(omVer[0] != NULL)
{
omVer = eregmatch(pattern:"OpenVAS Manager ([0-9]\.[0-9]\.[0-9]+).?(rc[0-9]+)?",
string:omVer[0]);
if(omVer[1] != NULL && omVer[2] != NULL)
{
ver = omVer[1] + "." + omVer[2];
}
else if(omVer [1]!= NULL && omVer[2] == NULL){
ver =omVer[1];
}
}
if(ver)
{
## Grep for version 1.0.3 or prior
if(version_in_range(version:ver, test_version:"1.0", test_version2:"1.0.3") ||
version_in_range(version:ver, test_version:"2.0", test_version2:"2.0.1"))
{
security_message(0);
close(sock);
exit(0);
}
}
}
close(sock);
ssh_close_connection();
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation