TrackerCam Multiple Remote Vulnerabilities - Nessus

High   Plugin ID: 17160

This page contains detailed information about the TrackerCam Multiple Remote Vulnerabilities Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 17160
Name: TrackerCam Multiple Remote Vulnerabilities
Filename: trackercam_multiple_vulnerabilities.nasl
Vulnerability Published: 2005-02-18
This Plugin Published: 2005-02-21
Last Modification Time: 2021-01-19
Plugin Version: 1.18
Plugin Type: remote
Plugin Family: CGI abuses
Dependencies: http_version.nasl

Vulnerability Information


Severity: High
Vulnerability Published: 2005-02-18
Patch Published: N/A
CVE [?]: CVE-2005-0478, CVE-2005-0479, CVE-2005-0480, CVE-2005-0481, CVE-2005-0482
CPE [?]: N/A

Synopsis

The remote web server is affected by multiple vulnerabilities.

Description

The remote host is running TrackerCam, a HTTP software that allows a user to publish a webcam feed thru a website.

The remote version of this software is affected by multiple vulnerabilities :

- Buffer overflows which may allow an attacker to execute arbitrary code on the remote host.

- A directory traversal bug that may allow an attacker to read arbitrary files on the remote host with the privileges of the web server daemon.

- A cross-site scripting issue that may allow an attacker to use the remote host to perform a cross-site scripting attack.

Solution

Unknown at this time.

Public Exploits


Target Network Port(s): 8090
Target Asset(s): Services/www
Exploit Available: True (Metasploit Framework, Exploit-DB)
Exploit Ease: No exploit is required

Here's the list of publicly known exploits and PoCs for verifying the TrackerCam Multiple Remote Vulnerabilities vulnerability:

  1. Metasploit: exploit/windows/http/trackercam_phparg_overflow
    [TrackerCam PHP Argument Buffer Overflow]
  2. Exploit-DB: exploits/windows/remote/16811.rb
    [EDB-16811: TrackerCam - PHP Argument Buffer Overflow (Metasploit)]

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:P/A:P/E:F/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:6.2 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.2 (Medium)

Go back to menu.

Plugin Source


This is the trackercam_multiple_vulnerabilities.nasl nessus plugin source code. This script is Copyright (C) 2005-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(17160);
  script_version("1.18");
  script_cve_id("CVE-2005-0478", "CVE-2005-0479", "CVE-2005-0480", "CVE-2005-0481", "CVE-2005-0482");
  script_bugtraq_id(12592);
 
  script_name(english:"TrackerCam Multiple Remote Vulnerabilities");
 
  script_set_attribute(
    attribute:"synopsis",
    value:"The remote web server is affected by multiple vulnerabilities."
  );
  script_set_attribute(  attribute:"description",   value:
"The remote host is running TrackerCam, a HTTP software that allows a
user to publish a webcam feed thru a website.

The remote version of this software is affected by multiple
vulnerabilities :

  - Buffer overflows which may allow an attacker to execute
    arbitrary code on the remote host.

  - A directory traversal bug that may allow an attacker to
    read arbitrary files on the remote host with the 
    privileges of the web server daemon.

  - A cross-site scripting issue that may allow an attacker
    to use the remote host to perform a cross-site scripting
    attack."  );
  script_set_attribute(
    attribute:"see_also", 
    value:"https://www.securityfocus.com/archive/1/390918/30/0/threaded"
  );
  script_set_attribute(
    attribute:"solution", 
    value:"Unknown at this time."
  );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
 script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
 script_set_attribute(attribute:"exploit_available", value:"false");
 script_set_attribute(attribute:"metasploit_name", value:'TrackerCam PHP Argument Buffer Overflow');
 script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
 script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);

 script_set_attribute(attribute:"plugin_publication_date", value: "2005/02/21");
 script_set_attribute(attribute:"vuln_publication_date", value: "2005/02/18");

 script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_end_attributes();
 
  script_summary(english:"Checks for flaws in TrackerCam");
 
  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2005-2021 Tenable Network Security, Inc.");

  script_family(english:"CGI abuses");

  script_dependencie("http_version.nasl");
  script_require_ports("Services/www", 8090);

  exit(0);
}

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

port = get_http_port(default:8090);

banner = get_http_banner(port:port);
if ( "Server: TrackerCam/" >!< banner ) exit(0);

w = http_send_recv3(method:"GET", item:"/tuner/ComGetLogFile.php3?fn=../HTTPRoot/tuner/ComGetLogFile.php3", port:port);
if (isnull(w)) exit(1, "the web server did not answer");
res = strcat(w[0], w[1], '\r\n', w[2]);
if ( "$fcontents = file ('../../log/'.$fn);" >< res )
{
	security_hole(port);
	set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
}

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

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

Go back to menu.

How to Run


Here is how to run the TrackerCam Multiple Remote Vulnerabilities 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 TrackerCam Multiple Remote Vulnerabilities plugin ID 17160.
  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 trackercam_multiple_vulnerabilities.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: CWE | Common Weakness Enumeration:
  • CWE-20 (Weakness) Improper Input Validation
  • CWE-74 (Weakness) Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-79 (Weakness) Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-442 (Category) DEPRECATED: Web Problems
  • CWE-629 (View) Weaknesses in OWASP Top Ten (2007)
  • CWE-711 (View) Weaknesses in OWASP Top Ten (2004)
  • CWE-712 (Category) OWASP Top Ten 2007 Category A1 - Cross Site Scripting (XSS)
  • CWE-722 (Category) OWASP Top Ten 2004 Category A1 - Unvalidated Input
  • CWE-725 (Category) OWASP Top Ten 2004 Category A4 - Cross-Site Scripting (XSS) Flaws
  • CWE-750 (View) Weaknesses in the 2009 CWE/SANS Top 25 Most Dangerous Programming Errors
  • CWE-751 (Category) 2009 Top 25 - Insecure Interaction Between Components
  • CWE-800 (View) Weaknesses in the 2010 CWE/SANS Top 25 Most Dangerous Programming Errors
  • CWE-801 (Category) 2010 Top 25 - Insecure Interaction Between Components
  • CWE-809 (View) Weaknesses in OWASP Top Ten (2010)
  • CWE-811 (Category) OWASP Top Ten 2010 Category A2 - Cross-Site Scripting (XSS)
  • CWE-864 (Category) 2011 Top 25 - Insecure Interaction Between Components
  • CWE-900 (View) Weaknesses in the 2011 CWE/SANS Top 25 Most Dangerous Software Errors
  • CWE-928 (View) Weaknesses in OWASP Top Ten (2013)
  • CWE-931 (Category) OWASP Top Ten 2013 Category A3 - Cross-Site Scripting (XSS)
  • CWE-990 (Category) SFP Secondary Cluster: Tainted Input to Command
See also:

Version


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

Go back to menu.