Polycom SoundPoint IP Phones reg_1.html SIP Information Disclosure - Nessus

Medium   Plugin ID: 55402

This page contains detailed information about the Polycom SoundPoint IP Phones reg_1.html SIP Information Disclosure Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 55402
Name: Polycom SoundPoint IP Phones reg_1.html SIP Information Disclosure
Filename: polycom_sip_password_disclosure.nasl
Vulnerability Published: 2011-06-09
This Plugin Published: 2011-06-22
Last Modification Time: 2021-01-19
Plugin Version: 1.5
Plugin Type: remote
Plugin Family: CGI abuses
Dependencies: http_version.nasl
Excluded KB Items [?]: Settings/disable_cgi_scanning

Vulnerability Information


Severity: Medium
Vulnerability Published: 2011-06-09
Patch Published: 2009-12-03
CVE [?]: N/A
CPE [?]: N/A

Synopsis

The remote telephone device discloses sensitive information.

Description

The remote Polycom SoundPoint IP phone hosts a page, 'reg_1.htm', that discloses the SIP account password for the associated phone line. A remote attacker could use this information to mount further attacks.

Solution

Upgrade the firmware to version 3.2.2 or greater.

Public Exploits


Target Network Port(s): 80
Target Asset(s): Services/www
Exploit Available: True (Exploit-DB)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Polycom SoundPoint IP Phones reg_1.html SIP Information Disclosure vulnerability:

  1. Exploit-DB: exploits/hardware/webapps/17377.txt
    [EDB-17377: Polycom IP Phone - Web Interface Data Disclosure]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:N/C:P/I:N/A:N/E:F/RL:OF/RC:C
CVSS Base Score:5.0 (Medium)
Impact Subscore:2.9
Exploitability Subscore:10.0
CVSS Temporal Score:4.1 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:4.1 (Medium)

Go back to menu.

Plugin Source


This is the polycom_sip_password_disclosure.nasl nessus plugin source code. This script is Copyright (C) 2011-2021 Tenable Network Security, Inc.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(55402);
  script_version("1.5");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");

  script_bugtraq_id(48316);
  script_xref(name:"EDB-ID", value:"17377");
  script_xref(name:"Secunia", value:"44835");

  script_name(english:"Polycom SoundPoint IP Phones reg_1.html SIP Information Disclosure");
  script_summary(english:"Tries to obtain the phone's SIP password.");

  script_set_attribute(
    attribute:"synopsis",
    value:"The remote telephone device discloses sensitive information."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The remote Polycom SoundPoint IP phone hosts a page, 'reg_1.htm',
that discloses the SIP account password for the associated phone line. 
A remote attacker could use this information to mount further
attacks."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://www.nessus.org/u?119851ff"
  );
  script_set_attribute(
    attribute:"solution",
    value:"Upgrade the firmware to version 3.2.2 or greater."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2011/06/09");
  script_set_attribute(attribute:"patch_publication_date", value:"2009/12/03");
  script_set_attribute(attribute:"plugin_publication_date", value:"2011/06/22");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2011-2021 Tenable Network Security, Inc.");

  script_dependencies("http_version.nasl");
  script_exclude_keys("Settings/disable_cgi_scanning");
  script_require_ports("Services/www", 80);

  exit(0);
}


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


port   = get_http_port(default:80, embedded:TRUE);
banner = get_http_banner(port:port, exit_on_fail:TRUE);

if ("Server: Polycom SoundPoint" >!< banner)
  exit(0, "The web server on port "+port+" does not appear to be from a Polycom SoundPoint device.");

res = http_send_recv3(
  method       : "GET", 
  item         : '/reg_1.htm', 
  port         : port, 
  exit_on_fail : TRUE
);

sip_password = NULL;
if ('name="reg.1.auth.userId"' >< res[2] && 'name="reg.1.auth.password"' >< res[2])
{
  sip_password_pat  = '^.*<input value="([^"]+)" type="password" name="reg\\.1\\.auth\\.password\"';

  foreach line (split(res[2], keep:FALSE))
  {
    matches = eregmatch(string:line, pattern:sip_password_pat);
    if (matches) 
    {
      sip_password = matches[1];
      break;
    }
  }
}

if (!isnull(sip_password))
{
  if (report_verbosity > 0)
  {
    report = '\n  SIP Password : ' + sip_password + '\n';
    security_warning(port:port, extra:report);
  } 
  else security_warning(port);
}
else exit(0, "The remote Polycom device is not affected.");

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/polycom_sip_password_disclosure.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\polycom_sip_password_disclosure.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/polycom_sip_password_disclosure.nasl

Go back to menu.

How to Run


Here is how to run the Polycom SoundPoint IP Phones reg_1.html SIP Information Disclosure as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select CGI abuses plugin family.
  6. On the right side table select Polycom SoundPoint IP Phones reg_1.html SIP Information Disclosure plugin ID 55402.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl polycom_sip_password_disclosure.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a polycom_sip_password_disclosure.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - polycom_sip_password_disclosure.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state polycom_sip_password_disclosure.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: Secunia Advisory: See also: Similar and related Nessus plugins:
  • 70068 - Polycom HDX < 3.1.1.2 Multiple Vulnerabilities

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file polycom_sip_password_disclosure.nasl version 1.5. For more plugins, visit the Nessus Plugin Library.

Go back to menu.