#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(40876);
script_version("1.7");
script_name(english:"Citrix Licensing Service Detection");
script_summary(english:"Checks for Citrix Licensing Service");
script_set_attribute(
attribute:"synopsis",
value:"A Citrix Licensing Service (lmgrd.exe) is listening on this port."
);
script_set_attribute(
attribute:"description",
value:"The remote host is running Citrix Licensing Service."
);
script_set_attribute( attribute:"solution", value:
"If this service is not needed, disable it or filter incoming traffic
to this port." );
script_set_attribute(
attribute:"risk_factor",
value:"None"
);
script_set_attribute(attribute:"plugin_publication_date", value: "2009/09/04");
script_cvs_date("Date: 2019/11/22");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe",value:"cpe:/a:citrix:licensing_administration_console");
script_set_attribute(attribute:"asset_inventory", value:"True");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Service detection");
script_copyright(english:"This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("find_service2.nasl");
script_require_ports("Services/unknown", 27000);
exit(0);
}
include("global_settings.inc");
include("misc_func.inc");
port = 27000;
if (!get_tcp_port_state(port)) exit(0, "Port "+port+" is not open.");
if (known_service(port:port)) exit(0, "Service on port "+port+" is already known.");
soc = open_sock_tcp(port);
if (!soc) exit(1, "Can't connect to port "+port+".");
req = crap(data:'\x2f', length:0x14);;
send(socket:soc, data:req);
buf = recv(socket:soc, length:88);
if (strlen(buf) == 0) exit(0, "No response on port "+port+".");
if ("57ea2d36300000" >< hexstr(buf))
{
register_service (port:port, proto:"lmgrd");
security_note(port);
}
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