Lucene search
K

apcupsd overflows

🗓️ 24 Oct 2008 00:00:00Reported by This script is Copyright (C) 2003 Renaud DeraisonType 
openvas
 openvas
🔗 plugins.openvas.org👁 33 Views

apcupsd buffer overflow vulnerability allows remote attackers to gain root shell acces

Related
Refs
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
apcupsd Overflow
20 Aug 200400:00
nessus
Tenable Nessus
APC < 3.8.0 apcupsd Multiple Vulnerabilities
26 Mar 200300:00
nessus
Tenable Nessus
Debian DSA-277-1 : apcupsd - buffer overflows, format string
29 Sep 200400:00
nessus
Tenable Nessus
Mandrake Linux Security Advisory : apcupsd (MDKSA-2000:077)
6 Sep 201200:00
nessus
Tenable Nessus
Mandrake Linux Security Advisory : apcupsd (MDKSA-2003:018)
31 Jul 200400:00
nessus
Tenable Nessus
SUSE-SA:2003:022: apcupsd
25 Jul 200400:00
nessus
CVE
CAN-2003-0098
6 Aug 202410:39
cve
CVE
CAN-2003-0099
6 Aug 202410:40
cve
CVE
CVE-2001-0040
7 May 200104:00
cve
CVE
CVE-2003-0098
26 Feb 200305:00
cve
Rows per page
SourceLink
www.2003:022
# OpenVAS Vulnerability Test
# $Id: apcupsd_overflows.nasl 3854 2016-08-18 13:15:25Z teissa $
# Description: apcupsd overflows
#
# Authors:
# Renaud Deraison
#
# Copyright:
# Copyright (C) 2003 Renaud Deraison
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# 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_summary = "The remote apcupsd, according to its version number,
is vulnerable to a buffer overflow which could
allow an attacker to gain a root shell on this host.

*** OpenVAS solely relied on the version number of the 
*** remote server, so this might be a false positive";

if(description)
{
  script_id(80014);
  script_version("$Revision: 3854 $");
  script_tag(name:"last_modification", value:"$Date: 2016-08-18 15:15:25 +0200 (Thu, 18 Aug 2016) $");
  script_tag(name:"creation_date", value:"2008-10-24 19:51:47 +0200 (Fri, 24 Oct 2008)");
  script_bugtraq_id(2070, 6828, 7200);
  script_cve_id("CVE-2001-0040", "CVE-2003-0098", "CVE-2003-0099");
  script_xref(name:"OSVDB", value:"1683");
  script_xref(name:"SuSE", value:"SUSE-SA:2003:022");

  
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
 
  script_name("apcupsd overflows");
 

 
 
  script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"remote_banner");
 
  script_copyright("This script is Copyright (C) 2003 Renaud Deraison");
  family = "Gain a shell remotely";
  script_family(family);
  script_dependencies("find_service1.nasl", "apcnisd_detect.nasl");
  script_require_ports("Services/apcnisd", 7000);

  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}

port = get_kb_item("Services/apcnisd");
if (! port) port = 7000;
if (! get_port_state(port)) exit(0);

soc = open_sock_tcp(port);
if(!soc)exit(0);
req = raw_string(0x00, 0x06) + "status";
send(socket:soc, data:req);
r = recv(socket:soc, length:4096);
if("APC" >< r && "MODEL" >< r)
{
  r = strstr(r, "RELEASE");
  if(ereg(pattern:"RELEASE.*: (3\.([0-7]\..*|8\.[0-5][^0-9]|10\.[0-4])|[0-2]\..*)", string:r))
       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