Lucene search
K

Cfingerd 'search' Command Information Disclosure Vulnerability

🗓️ 12 Aug 2011 00:00:00Reported by Copyright (C) 2011 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 26 Views

Cfingerd 'search' Command Information Disclosure Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
cfingerd Wildcard Argument Information Disclosure
22 Jun 199900:00
nessus
CVE
CVE-1999-0259
18 Jan 200005:00
cve
Cvelist
CVE-1999-0259
18 Jan 200005:00
cvelist
EUVD
EUVD-1999-0259
7 Oct 202500:30
euvd
NVD
CVE-1999-0259
23 May 199704:00
nvd
OpenVAS
Cfingerd 'search' Command Information Disclosure Vulnerability
12 Aug 201100:00
openvas
Positive Technologies
PT-1997-1113 · Cfingerd · Cfingerd
23 May 199700:00
ptsecurity
RedhatCVE
CVE-1999-0259
7 Jan 202609:38
redhatcve
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_cfingerd_search_cmd_info_disc_vuln.nasl 7024 2017-08-30 11:51:43Z teissa $
#
# Cfingerd 'search' Command Information Disclosure Vulnerability
#
# Authors:
# Rachana Shetty <[email protected]>
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_impact = "Successful exploitation will allow attacker to obtain sensitive information
  that could aid in further attacks.
  Impact Level: Application";
tag_affected = "Cfingerd version 1.2.2";
tag_insight = "The flaw exists due to an error in the finger service which allows to list
  all usernames on the host via 'search.**' command.";
tag_solution = "Upgrade to Cfingerd version 1.2.3 or later
  For updates refer to http://www.infodrom.org/projects/cfingerd/finger.php";
tag_summary = "This host is running Cfingerd service and is prone to information
  disclosure vulnerability.";

if(description)
{
  script_id(802323);
  script_version("$Revision: 7024 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-30 13:51:43 +0200 (Wed, 30 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-08-12 14:44:50 +0200 (Fri, 12 Aug 2011)");
  script_cve_id("CVE-1999-0259");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_name("Cfingerd 'search' Command Information Disclosure Vulnerability");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/1811");
  script_xref(name : "URL" , value : "http://archives.neohapsis.com/archives/bugtraq/1997_2/0328.html");

  script_tag(name:"qod_type", value:"remote_vul");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
  script_family("Finger abuses");
  script_dependencies("find_service.nasl");
  script_require_ports("Services/finger", 79);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


## Get Finger Port
port = get_kb_item("Services/finger");
if(!port){
  port = 79;
}

## Check Port Status
if(! get_port_state(port)){
  exit(0);
}

## Open TCP Socket
soc = open_sock_tcp(port);
if(! soc){
  exit(0);
}

## Confirm Finger
banner = recv(socket:soc, length:2048, timeout:5);
if(banner) {
  exit(0);
}

## Send And Receive The Response
send(socket: soc, data: string("search.**\r\n"));
fingRes = recv(socket:soc, length:2048);
close(soc);

## Confirm Vulnerability
if("Finger" >< fingRes && "Username" >< fingRes && "root" >< fingRes){
  security_message(port);
}

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