The host is running VMware vFabric tc Server and is prone to
security bypass vulnerability.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_vmware_vfabric_tc_server_security_bypass_vuln.nasl 7052 2017-09-04 11:50:51Z teissa $
#
# VMware vFabric tc Server JMX Authentication Security Bypass Vulnerability
#
# Authors:
# Sooraj KS <[email protected]>
#
# Copyright:
# Copyright (c) 2011 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 an attacker to bypass certain security
restrictions and gain unauthorized access, which may lead to further attacks.
Impact Level: Application";
tag_affected = "vFabric tc Server versions 2.0.0 through 2.0.5.SR01
vFabric tc Server versions 2.1.0 through 2.1.1.SR01";
tag_insight = "The flaw is caused by the storing of passwords for JMX authentication in an
obfuscated form, which makes it easier for context-dependent attackers to
obtain access by leveraging an ability to read stored passwords.";
tag_solution = "Upgrade to vFabric tc Server version 2.0.6.RELEASE or 2.1.2.RELEASE,
For updates refer to http://www.vmware.com/products/vfabric-tcserver/";
tag_summary = "The host is running VMware vFabric tc Server and is prone to
security bypass vulnerability.";
if(description)
{
script_id(902565);
script_version("$Revision: 7052 $");
script_tag(name:"last_modification", value:"$Date: 2017-09-04 13:50:51 +0200 (Mon, 04 Sep 2017) $");
script_tag(name:"creation_date", value:"2011-08-31 13:40:07 +0200 (Wed, 31 Aug 2011)");
script_bugtraq_id(49122);
script_cve_id("CVE-2011-0527");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:N");
script_name("VMware vFabric tc Server JMX Authentication Security Bypass Vulnerability");
script_xref(name : "URL" , value : "http://securitytracker.com/id?1025923");
script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/69156");
script_xref(name : "URL" , value : "http://www.springsource.com/security/cve-2011-0527");
script_tag(name:"qod_type", value:"remote_banner");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2011 SecPod");
script_family("Web Servers");
script_dependencies("secpod_vmware_springsource_tc_server_detect.nasl");
script_require_ports("Services/www", 8080);
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("http_func.inc");
include("version_func.inc");
## Get HTTP Port
port = get_http_port(default:8080);
if(!port){
exit(0);
}
## Get Version from KB
sstcVer = get_kb_item(string("www/", port, "Vmaware/SSTC/Runtime"));
if(isnull(sstcVer)){
exit(0);
}
sstcVer = eregmatch(pattern:"^(.+) under (/.*)$", string:sstcVer);
if(isnull(sstcVer[1])){
exit(0);
}
## Check for vFabric tc Server versions
if(version_in_range(version:sstcVer[1], test_version:"2.0.0", test_version2:"2.0.5.SR01") ||
version_in_range(version:sstcVer[1], test_version:"2.1.0", test_version2:"2.1.1.SR01")) {
security_message(port);
}