Lucene search
+L

Tenable PVS Proxy Detection

🗓️ 29 Apr 2010 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 33 Views

Tenable PVS Proxy Detection on Remote Hos

Refs
Code
##
# (C) Tenable, Inc.
##

include("compat.inc");

if (description)
{
  script_id(46212);
  script_version("1.13");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/11/03");

  script_name(english:"Tenable PVS Proxy Detection");

  script_set_attribute(attribute:"synopsis", value:
"A Tenable PVS Proxy service was detected on the remote host.");
  script_set_attribute(attribute:"description", value:
"A Tenable PVS Proxy service was detected on the remote host.");
  script_set_attribute(attribute:"see_also", value:"https://www.tenable.com/products/nessus/nessus-network-monitor");
  script_set_attribute(attribute:"solution", value:
"Limit incoming traffic to this port if desired.");
  script_set_attribute(attribute:"risk_factor", value:"None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2010/04/29");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"asset_inventory", value:"True");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:tenable:pvs");
  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) 2010-2025 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("find_service2.nasl", "http_version.nasl");
  script_require_ports("Services/unknown", "Services/www", 8835, 1243);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("webapp_func.inc");

# PVS >= 4.0

var port_list = get_kb_list("Services/www");
for(var port of port_list)
{
  version = NULL;
  install = NULL;

  if(!get_port_state(port))
    continue;

  if(get_one_kb_item("Services/www/" + port + "/embedded"))
    continue;

  if(http_is_broken(port:port))
    continue;

  http::auth_with_form(port:port, save_cookies:TRUE);

  server_header = http_server_header(port:port);
  if ('PVS Web Server' >< server_header)
  {
    version = NULL;
    res = http_send_recv3(method:"GET", item:'/feed', port:port);
    if (!isnull(res))
    {
      if ('<server_version>' >< res[2])
      {
        version = strstr(res[2], '<server_version>') - '<server_version>';
        version = version - strstr(version, '</server_version>');
      }
      install = add_install(appname:'pvs', ver:version, port:port, dir:'/', cpe: "cpe:/a:tenable:pvs");
    }
  }

  if(!isnull(install))
  {
    if (report_verbosity > 0)
    {
      report = get_install_report(
        display_name:'PVS',
        installs:install,
        port:port,
        item:'/'
      );
      security_note(port:port, extra:report);
    }
    else security_note(port);
  }
}

# PVS < 4.0
if (
  thorough_tests &&
  !get_kb_item("global_settings/disable_service_discovery")
)
{
  port = get_unknown_svc(1243);
  if (!port) audit(AUDIT_SVC_KNOWN);
  if (silent_service(port)) audit(AUDIT_SVC_SILENT, port);
}
else port = 1243;
if (!get_port_state(port)) audit(AUDIT_PORT_CLOSED, port);
if (known_service(port:port)) audit(AUDIT_SVC_ALREADY_KNOWN, port);
if (get_port_transport(port) == ENCAPS_IP) exit(0, "The service listening on "+port+" does not encrypt traffic.");


soc = open_sock_tcp(port);
if (!soc) audit(AUDIT_SOCK_FAIL, port);

# Send an NTP message asking if it's a proxy.
req = '< NTP/1.2 >< is_proxy >\n';
send(socket:soc, data:req);
res = recv_line(socket:soc, length:1024);
if (strlen(res) == 0) audit(AUDIT_RESP_NOT, port);

if (req == res)
{
  res = recv(socket:soc, length:7);
  if (strlen(res) && "User : " >< res)
  {
    # Register and report the service.
    register_service(port:port, proto:"pvs_proxy");
    security_note(port);

    close(soc);
    exit(0);
  }
}
close(soc);
exit(0, "The response from the service listening on port "+port+" does not look like PVS Proxy.");

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

03 Nov 2025 00:00Current
7.1High risk
Vulners AI Score7.1
33