Symantec pcAnywhere Service Unrestricted Access - Nessus

Critical   Plugin ID: 10798

This page contains detailed information about the Symantec pcAnywhere Service Unrestricted Access Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 10798
Name: Symantec pcAnywhere Service Unrestricted Access
Filename: DDI_Unprotected_PCanywhere.nasl
Vulnerability Published: N/A
This Plugin Published: 2001-11-07
Last Modification Time: 2012-08-15
Plugin Version: 1.27
Plugin Type: remote
Plugin Family: Windows
Dependencies: find_service1.nasl, PC_anywhere_tcp.nasl

Vulnerability Information


Severity: Critical
Vulnerability Published: N/A
Patch Published: N/A
CVE [?]: CVE-1999-0508
CPE [?]: N/A

Synopsis

The remote access service on this port allows unrestricted access.

Description

The pcAnywhere service does not require a password to access the desktop of this system. If this machine is running Windows 95, 98, or ME, gaining full control of the machine is trivial. If this system is running NT or 2000 and is currently logged out, an attacker can still spy on and hijack a legitimate user's session when they login.

Solution

1. Open the PC Anywhere application as an Administrator. 2. Right click on the Host object you are using and select Properties. 3. Select the Caller Access tab. 4. Switch the authentication type to Windows or PC Anywhere. 5. If you are using PC Anywhere authentication, set a strong password.

Public Exploits


Target Network Port(s): 5631
Target Asset(s): Services/pcanywheredata
Exploit Available: True (Metasploit Framework)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Symantec pcAnywhere Service Unrestricted Access vulnerability:

  1. Metasploit: auxiliary/scanner/snmp/snmp_login
    [SNMP Community Scanner]
  2. Metasploit: auxiliary/scanner/snmp/snmp_login
    [SNMP Community Login Scanner]

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.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:NA (None)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:10.0 (High)

Go back to menu.

Plugin Source


This is the DDI_Unprotected_PCanywhere.nasl nessus plugin source code. This script is Copyright (C) 2002-2012 Digital Defense Incorporated

#
# This script was written by H D Moore
#

# Changes by Tenable:
# - Revised plugin title, changed family (1/22/09)
# - Revised plugin title, output formatting, family change (9/08/09)
# - Revised plugin title (1/29/11)

include("compat.inc");

if(description)
{
 script_id(10798);
 script_version ("$Revision: 1.27 $");
 script_cvs_date("$Date: 2012/08/15 21:05:11 $");

 script_cve_id("CVE-1999-0508");

 script_name(english:"Symantec pcAnywhere Service Unrestricted Access");
 script_summary(english:"Unprotected PC Anywhere Service");

 script_set_attribute(attribute:"synopsis", value:
"The remote access service on this port allows unrestricted access.");
 script_set_attribute(attribute:"description", value:
"The pcAnywhere service does not require a password to access the
desktop of this system.  If this machine is running Windows 95, 98, or
ME, gaining full control of the machine is trivial.  If this system is
running NT or 2000 and is currently logged out, an attacker can still
spy on and hijack a legitimate user's session when they login.");
 script_set_attribute(attribute:"solution", value:
"1. Open the PC Anywhere application as an Administrator. 
2. Right click on the Host object you are using and select Properties.
3. Select the Caller Access tab. 
4. Switch the authentication type to Windows or PC Anywhere.
5. If you are using PC Anywhere authentication, set a strong password.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'SNMP Community Scanner');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
 script_set_attribute(attribute:"plugin_publication_date", value:
"2001/11/07");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_end_attributes();

 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2002-2012 Digital Defense Incorporated");
 script_family(english:"Windows");
 script_dependencies("find_service1.nasl", "PC_anywhere_tcp.nasl");
 script_require_ports("Services/pcanywheredata", 5631);
 exit(0);
}

#
# The script code starts here
#

debug = 0;

cl[0] = raw_string (0x00, 0x00, 0x00, 0x00);
sv[0] = "nter";

cl[1] = raw_string (0x6f, 0x06, 0xff);
sv[1] = raw_string (0x1b, 0x61);

cl[2] = raw_string (0x6f, 0x61, 0x00, 0x09, 0x00, 0xfe, 0x00,
                    0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00);
                            
sv[2] = raw_string (0x1b, 0x62);

cl[3] = raw_string (0x6f, 0x62, 0x01, 0x02, 0x00, 0x00, 0x00);         
sv[3] = raw_string (0x65, 0x6e);

cl[4] = raw_string(0x6f, 0x49, 0x00, 0x4c, 0x20, 0x20, 0x20, 0x20,
                   0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00,
                   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                   0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00,
                   0x00, 0x00, 0x09, 0xff, 0x05, 0x00, 0x00, 0x00,
                   0x60, 0x24, 0x00, 0x09, 0x00, 0x00, 0x00, 0x06,
                   0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
                   0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                   0x31);
sv[4] = raw_string(0x1b, 0x16);

cl[5] = raw_string(0x6f, 0x73, 0x02, 0x01, 0x00, 0x02);
sv[5] = "Service Pack";

port = get_kb_item("Services/pcanywheredata");
if(!port)port = 5631;

if(get_port_state(port))
{
    soc = open_sock_tcp(port);
    if(soc)
    {

        for(d=0;cl[d];d=d+1)
        {
            if(debug)display(":: entering level ", d, "\n");
            send(socket:soc, data:cl[d]);
            r  = recv(socket:soc, length:2048);
	    if(!r)exit(0);
            
            # no minimum encryption level set
            if(d == 2)
            {
                if(("Reducing" >< r) && ("encryption" >< r))
                {
                    if(debug)display("Warning: no minimum encryption level set.\n");
                }
                if(("denying" >< r) && ("cannot connect at level" >< r))
                {
                   if(debug)display("Warning: plugin exiting because a minimum encryption level has been set.\n");
                   exit(0);                   
                }
            }
            
            # user authentication
            if(d == 3)
            {
                if(("Enter user name" >< r) || ("Enter login name" >< r))
                {
                    if(debug)display("Warning: plugin exiting because user authentication needed.\n");
                    exit(0); 
                }
            }
                       
            if( sv[d] >!< r)
            {
            
                close(soc);
                if(debug)display("exiting at level ", d, "\n");
                exit(0);
            }
        }
        security_hole(port:port);
	close(soc);
    }
}

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

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

Go back to menu.

How to Run


Here is how to run the Symantec pcAnywhere Service Unrestricted Access 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 Windows plugin family.
  6. On the right side table select Symantec pcAnywhere Service Unrestricted Access plugin ID 10798.
  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 DDI_Unprotected_PCanywhere.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

/opt/nessus/bin/nasl -T - DDI_Unprotected_PCanywhere.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 DDI_Unprotected_PCanywhere.nasl -t <IP/HOST>

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 10747 - 3Com Superstack 3 Switch Multiple Default Accounts
  • 18415 - Bay Networks Accelar 1200 Switch Default Password (password) for 'usrname' Account
  • 18414 - Allied Telesyn Router/Switch Default Password
  • 18413 - Allied Telesyn Router/Switch Web Interface Default Password
  • 17638 - Avaya P330 Stackable Switch Default Password
  • 10961 - AirConnect Default Password
  • 11202 - Enhydra Multiserver Default Password
  • 10820 - F5 Device Default Support Password
  • 10995 - Sun JavaServer Default Admin Password
  • 10998 - Shiva LanRover Blank Password
  • 10999 - Linksys Router Default Password
  • 11203 - Motorola Vanguard with No Password (telnet check)
  • 10778 - SiteScope Web Service Unpassworded Access
  • 11004 - Ipswitch WhatsUp Gold Default Admin Account
  • 30213 - MikroTik RouterOS with Blank Password (telnet check)
  • 40354 - OpenWrt Router with a Blank Password (telnet check)
  • 10345 - Cayman DSL Router Unauthenticated Access
  • 10483 - PostgreSQL Default Unpassworded Account
  • 10500 - Shiva Integrator Default Password
  • 11000 - MPEi/X Default FTP Accounts
  • 11208 - Netscape Enterprise Default Administrative Password
  • 11205 - WarFTPd CWD/MKD Command Overflow
  • 11207 - WarFTPd USER/PASS Command Remote Overflow

Version


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

Go back to menu.