Lucene search
K

Oracle WebLogic T3 Protocol Detection

🗓️ 03 May 2018 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 752 Views

The remote host is running the WebLogic t3 Protoco

Code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(109552);
  script_version("1.4");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/06/01");

  script_name(english:"Oracle WebLogic T3 Protocol Detection");

  script_set_attribute(attribute:"synopsis", value:
"A server that understands T3 was detected on the remote host.");
  script_set_attribute(attribute:"description", value:
"The remote host is running the WebLogic t3 Protocol.");
  script_set_attribute(attribute:"solution", value:
"n/a");
  script_set_attribute(attribute:"risk_factor", value:"None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2018/05/03");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"asset_inventory", value:"True");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:bea:weblogic_server");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:weblogic_server");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Service detection");

  script_copyright(english:"This script is Copyright (C) 2018-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("find_service2.nasl");
  script_require_ports("Services/unknown", "www/possible_wls", 7001, 7002);

  exit(0);
}

include("global_settings.inc");
include("misc_func.inc");
include("audit.inc");
include("t3.inc");

# default port list
ports = make_list(7001,7002);

if (thorough_tests && !get_kb_item("global_settings/disable_service_discovery"))
{
  additional_ports = get_unknown_svc_list();
  if (!empty_or_null(additional_ports))
  {
    ports = make_list(ports, additional_ports);
  }
}

# add the weblogic ports to the search
possible_wls_ports = get_kb_list('www/possible_wls');
if (!empty_or_null(possible_wls_ports))
{
  ports = make_list(ports, possible_wls_ports);
}

# remove duplicates and fork!
ports = list_uniq(ports);
port = branch(ports);

if (!get_port_state(port))
{
  audit(AUDIT_PORT_CLOSED, port);
}

sock = open_sock_tcp(port);
if (!sock)
{
  audit(AUDIT_SOCK_FAIL, port);
}

version = t3_connect(sock:sock, port:port);
close(sock);

if (empty_or_null(version))
{
  audit(AUDIT_NOT_DETECT, "t3", port);
}

# register and save the version for downstream
register_service(port:port, ipproto:"tcp", proto:"t3");
replace_kb_item(name:"t3/" + port + "/version", value: version);

info = '\nVersion : ' + version + '\n';
security_report_v4(severity:SECURITY_NOTE, port:port, extra:info);

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

01 Jun 2022 00:00Current
6.9Medium risk
Vulners AI Score6.9
752