Vulnerabilities > CVE-1999-1479 - Unspecified vulnerability in Matt Wright Textcounter 1.2

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
matt-wright
critical
nessus
exploit available

Summary

The textcounter.pl by Matt Wright allows remote attackers to execute arbitrary commands via shell metacharacters.

Vulnerable Configurations

Part Description Count
Application
Matt_Wright
1

Exploit-Db

descriptiontextcounter.pl 1.2 Arbitrary Command Execution Vulnerability. CVE-1999-1479. Remote exploit for cgi platform
idEDB-ID:20583
last seen2016-02-02
modified1998-06-24
published1998-06-24
reporterDoru Petrescu
sourcehttps://www.exploit-db.com/download/20583/
titletextcounter.pl 1.2 - Arbitrary Command Execution Vulnerability

Nessus

NASL familyCGI abuses
NASL idTEXTCOUNTER_PL.NASL
descriptionThe CGI
last seen2020-06-01
modified2020-06-02
plugin id11451
published2003-03-23
reporterThis script is Copyright (C) 2003-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/11451
titleMatt Wright textcounter.pl Arbitrary Command Execution
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
 script_id(11451);
 script_version("1.22");
 script_cvs_date("Date: 2018/08/01 17:36:12");

 script_cve_id("CVE-1999-1479");
 script_bugtraq_id(2265);

 script_name(english:"Matt Wright textcounter.pl Arbitrary Command Execution");
 script_summary(english:"Checks for the presence of /cgi-bin/textcounter.pl");

 script_set_attribute(attribute:"synopsis", value:
"The remote host has a CGI installed that may allow arbitrary code
execution on the remote system.");
 script_set_attribute(attribute:"description", value:
"The CGI 'textcounter' is installed. This CGI has a well known security
flaw that lets an attacker execute arbitrary commands with the
privileges of the http daemon (usually root or nobody).");
 script_set_attribute(attribute:"solution", value:"remove it from /cgi-bin.");
 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:POC/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:"vuln_publication_date", value:"1998/06/24");
 script_set_attribute(attribute:"plugin_publication_date", value:"2003/03/23");

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

 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.");
 script_family(english:"CGI abuses");

 script_dependencie("http_version.nasl", "find_service1.nasl", "no404.nasl");
 script_exclude_keys("Settings/disable_cgi_scanning");
 script_require_keys("Settings/ParanoidReport");
 script_require_ports("Services/www", 80);

 exit(0);
}

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

if (report_paranoia < 2) audit(AUDIT_PARANOID);

port = get_http_port(default:80);
if (get_kb_item("www/no404/" + port)) exit(0);

foreach dir (cgi_dirs())
{
  res = is_cgi_installed3(item:strcat(dir, '/textcounter.pl'), port:port);
  if (res) security_hole(port);
}