{"cve": [{"lastseen": "2019-10-10T12:06:53", "bulletinFamily": "NVD", "description": "Unknown vulnerability in apcupsd before 3.8.6, and 3.10.x before 3.10.5, allows remote attackers to gain root privileges, possibly via format strings in a request to a slave server.", "modified": "2018-09-26T15:59:00", "id": "CVE-2003-0098", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2003-0098", "published": "2003-03-03T05:00:00", "title": "CVE-2003-0098", "type": "cve", "cvss": {"score": 10.0, "vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C"}}], "openvas": [{"lastseen": "2017-07-24T12:50:17", "bulletinFamily": "scanner", "description": "The remote host is missing an update to apcupsd\nannounced via advisory DSA 277-1.", "modified": "2017-07-07T00:00:00", "published": "2008-01-17T00:00:00", "href": "http://plugins.openvas.org/nasl.php?oid=53345", "id": "OPENVAS:53345", "title": "Debian Security Advisory DSA 277-1 (apcupsd)", "type": "openvas", "sourceData": "# OpenVAS Vulnerability Test\n# $Id: deb_277_1.nasl 6616 2017-07-07 12:10:49Z cfischer $\n# Description: Auto-generated from advisory DSA 277-1\n#\n# Authors:\n# Thomas Reinke <reinke@securityspace.com>\n#\n# Copyright:\n# Copyright (c) 2007 E-Soft Inc. http://www.securityspace.com\n# Text descriptions are largerly excerpted from the referenced\n# advisory, and are Copyright (c) the respective author(s)\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2,\n# as published by the Free Software Foundation\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n#\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"The controlling and management daemon apcupsd for APC's Unbreakable\nPower Supplies is vulnerable to several buffer overflows and format\nstring attacks. These bugs can be exploited remotely by an attacker to gain root\naccess to the machine apcupsd is running on.\n\nFor the stable distribution (woody) this problem has been fixed in\nversion 3.8.5-1.1.1.\n\nFor the old stable distribution (potato) this problem does not seem to\nexist.\n\nFor the unstable distribution (sid) this problem has been\nfixed in version 3.8.5-1.2.\n\nWe recommend that you upgrade your apcupsd packages immediately.\";\ntag_summary = \"The remote host is missing an update to apcupsd\nannounced via advisory DSA 277-1.\";\n\ntag_solution = \"https://secure1.securityspace.com/smysecure/catid.html?in=DSA%20277-1\";\n\nif(description)\n{\n script_id(53345);\n script_version(\"$Revision: 6616 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-07-07 14:10:49 +0200 (Fri, 07 Jul 2017) $\");\n script_tag(name:\"creation_date\", value:\"2008-01-17 22:28:10 +0100 (Thu, 17 Jan 2008)\");\n script_cve_id(\"CVE-2003-0098\", \"CVE-2003-0099\");\n script_tag(name:\"cvss_base\", value:\"10.0\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:C/I:C/A:C\");\n script_name(\"Debian Security Advisory DSA 277-1 (apcupsd)\");\n\n\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"Copyright (c) 2005 E-Soft Inc. http://www.securityspace.com\");\n script_family(\"Debian Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/debian_linux\", \"ssh/login/packages\");\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n#\n# The script code starts here\n#\n\ninclude(\"pkg-lib-deb.inc\");\n\nres = \"\";\nreport = \"\";\nif ((res = isdpkgvuln(pkg:\"apcupsd\", ver:\"3.8.5-1.1.1\", rls:\"DEB3.0\")) != NULL) {\n report += res;\n}\n\nif (report != \"\") {\n security_message(data:report);\n} else if (__pkg_match) {\n exit(99); # Not vulnerable.\n}\n", "cvss": {"score": 10.0, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}, {"lastseen": "2019-05-29T18:32:02", "bulletinFamily": "scanner", "description": "The remote apcupsd, according to its version number,\n is vulnerable to multiple vulnerabilities.", "modified": "2019-03-17T00:00:00", "published": "2008-10-24T00:00:00", "id": "OPENVAS:136141256231080014", "href": "http://plugins.openvas.org/nasl.php?oid=136141256231080014", "title": "apcupsd < 3.8.6 / 3.10.x < 3.10.5 Multiple Vulnerabilities", "type": "openvas", "sourceData": "# OpenVAS Vulnerability Test\n# $Id: apcupsd_overflows.nasl 14243 2019-03-17 19:29:05Z cfischer $\n# Description: apcupsd overflows\n#\n# Authors:\n# Renaud Deraison\n#\n# Copyright:\n# Copyright (C) 2003 Renaud Deraison\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2,\n# as published by the Free Software Foundation\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n#\n\nCPE = \"cpe:/a:apc:apcupsd\";\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.80014\");\n script_version(\"$Revision: 14243 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2019-03-17 20:29:05 +0100 (Sun, 17 Mar 2019) $\");\n script_tag(name:\"creation_date\", value:\"2008-10-24 19:51:47 +0200 (Fri, 24 Oct 2008)\");\n script_bugtraq_id(2070, 6828, 7200);\n script_cve_id(\"CVE-2001-0040\", \"CVE-2003-0098\", \"CVE-2003-0099\");\n script_xref(name:\"OSVDB\", value:\"1683\");\n script_xref(name:\"SuSE\", value:\"SUSE-SA:2003:022\");\n script_tag(name:\"cvss_base\", value:\"10.0\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:C/I:C/A:C\");\n script_name(\"apcupsd < 3.8.6 / 3.10.x < 3.10.5 Multiple Vulnerabilities\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"This script is Copyright (C) 2003 Renaud Deraison\");\n script_family(\"Gain a shell remotely\");\n script_dependencies(\"apcnisd_detect.nasl\");\n script_mandatory_keys(\"apcupsd/detected\");\n\n script_tag(name:\"vuldetect\", value:\"Check if a vulnerable version is present\n on the target host.\");\n\n script_tag(name:\"summary\", value:\"The remote apcupsd, according to its version number,\n is vulnerable to multiple vulnerabilities.\");\n\n script_tag(name:\"affected\", value:\"Versions before 3.8.6, and 3.10.x before 3.10.5.\");\n\n script_tag(name:\"solution\", value:\"Update to version 3.8.6, 3.10.5 or later.\");\n\n script_tag(name:\"insight\", value:\"Multiple flaws exist:\n\n CVE-2001-0040: APC UPS daemon, apcupsd, saves its process ID in a world-writable file.\n\n CVE-2003-0098: Unknown vulnerability possibly via format strings in a request to a slave server.\n\n CVE-2003-0099: Multiple buffer overflows related to usage of the vsprintf function.\");\n\n script_tag(name:\"impact\", value:\"CVE-2001-0040: allows local users to kill an arbitrary process by\n specifying the target process ID in the apcupsd.pid file.\n\n CVE-2003-0098: allows remote attackers to gain root privileges.\n\n CVE-2003-0099: may allow attackers to cause a denial of service or execute arbitrary code.\");\n\n script_tag(name:\"qod_type\", value:\"remote_banner_unreliable\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n\n exit(0);\n}\n\ninclude(\"host_details.inc\");\ninclude(\"version_func.inc\");\n\nif( ! port = get_app_port( cpe:CPE ) )\n exit( 0 );\n\nif( ! vers = get_app_version( port:port, cpe:CPE ) )\n exit( 0 );\n\nif( version_is_less( installed_version:vers, test_version:\"3.8.6\" ) )\n fix = \"3.8.6\";\nelse if( vers =~ \"^3\\.10\\.\" && version_is_less( installed_version:vers, test_version:\"3.10.5\" ) )\n fix = \"3.10.5\";\n\nif( fix ) {\n report = report_fixed_ver( installed_version:vers, fixed_version:fix );\n security_message( port:port, data:report );\n exit( 0 );\n}\n\nexit( 99 );", "cvss": {"score": 10.0, "vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C"}}, {"lastseen": "2017-07-02T21:10:21", "bulletinFamily": "scanner", "description": "The remote apcupsd, according to its version number,\nis vulnerable to a buffer overflow which could\nallow an attacker to gain a root shell on this host.\n\n*** OpenVAS solely relied on the version number of the \n*** remote server, so this might be a false positive", "modified": "2016-08-18T00:00:00", "published": "2008-10-24T00:00:00", "href": "http://plugins.openvas.org/nasl.php?oid=80014", "id": "OPENVAS:80014", "title": "apcupsd overflows", "type": "openvas", "sourceData": "# OpenVAS Vulnerability Test\n# $Id: apcupsd_overflows.nasl 3854 2016-08-18 13:15:25Z teissa $\n# Description: apcupsd overflows\n#\n# Authors:\n# Renaud Deraison\n#\n# Copyright:\n# Copyright (C) 2003 Renaud Deraison\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2,\n# as published by the Free Software Foundation\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n#\n\ntag_summary = \"The remote apcupsd, according to its version number,\nis vulnerable to a buffer overflow which could\nallow an attacker to gain a root shell on this host.\n\n*** OpenVAS solely relied on the version number of the \n*** remote server, so this might be a false positive\";\n\nif(description)\n{\n script_id(80014);\n script_version(\"$Revision: 3854 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2016-08-18 15:15:25 +0200 (Thu, 18 Aug 2016) $\");\n script_tag(name:\"creation_date\", value:\"2008-10-24 19:51:47 +0200 (Fri, 24 Oct 2008)\");\n script_bugtraq_id(2070, 6828, 7200);\n script_cve_id(\"CVE-2001-0040\", \"CVE-2003-0098\", \"CVE-2003-0099\");\n script_xref(name:\"OSVDB\", value:\"1683\");\n script_xref(name:\"SuSE\", value:\"SUSE-SA:2003:022\");\n\n \n script_tag(name:\"cvss_base\", value:\"10.0\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:C/I:C/A:C\");\n \n script_name(\"apcupsd overflows\");\n \n\n \n \n script_category(ACT_GATHER_INFO);\n script_tag(name:\"qod_type\", value:\"remote_banner\");\n \n script_copyright(\"This script is Copyright (C) 2003 Renaud Deraison\");\n family = \"Gain a shell remotely\";\n script_family(family);\n script_dependencies(\"find_service1.nasl\", \"apcnisd_detect.nasl\");\n script_require_ports(\"Services/apcnisd\", 7000);\n\n script_tag(name : \"summary\" , value : tag_summary);\n exit(0);\n}\n\nport = get_kb_item(\"Services/apcnisd\");\nif (! port) port = 7000;\nif (! get_port_state(port)) exit(0);\n\nsoc = open_sock_tcp(port);\nif(!soc)exit(0);\nreq = raw_string(0x00, 0x06) + \"status\";\nsend(socket:soc, data:req);\nr = recv(socket:soc, length:4096);\nif(\"APC\" >< r && \"MODEL\" >< r)\n{\n r = strstr(r, \"RELEASE\");\n if(ereg(pattern:\"RELEASE.*: (3\\.([0-7]\\..*|8\\.[0-5][^0-9]|10\\.[0-4])|[0-2]\\..*)\", string:r))\n security_message(port);\n\n}\n", "cvss": {"score": 10.0, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}], "suse": [{"lastseen": "2016-09-04T12:26:56", "bulletinFamily": "unix", "description": "The controlling and management daemon apcupsd for APC's Unbreakable Power Supplies is vulnerable to several buffer overflows and format bugs. These bugs can be exploited remotely by an attacker to gain root access to the machine apcupsd is running on.", "modified": "2003-03-26T13:26:49", "published": "2003-03-26T13:26:49", "id": "SUSE-SA:2003:022", "href": "http://lists.opensuse.org/opensuse-security-announce/2003-03/msg00023.html", "type": "suse", "title": "remote system compromise in apcupsd", "cvss": {"score": 10.0, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}], "debian": [{"lastseen": "2019-05-30T02:22:01", "bulletinFamily": "unix", "description": "- --------------------------------------------------------------------------\nDebian Security Advisory DSA 277-1 security@debian.org\nhttp://www.debian.org/security/ Martin Schulze\nApril 3rd, 2003 http://www.debian.org/security/faq\n- --------------------------------------------------------------------------\n\nPackage : apcupsd\nVulnerability : buffer overflows, format string\nProblem-Type : remote\nDebian-specific: no\nCVE Id : CAN-2003-0098 CAN-2003-0099\n\nThe controlling and management daemon apcupsd for APC's Unbreakable\nPower Supplies is vulnerable to several buffer overflows and format\nstring attacks. These bugs can be exploited remotely by an attacker to gain root\naccess to the machine apcupsd is running on.\n\nFor the stable distribution (woody) this problem has been fixed in\nversion 3.8.5-1.1.1.\n\nFor the old stable distribution (potato) this problem does not seem to\nexist.\n\nFor the unstable distribution (sid) this problem has been\nfixed in version 3.8.5-1.2.\n\nWe recommend that you upgrade your apcupsd packages immediately.\n\n\nUpgrade Instructions\n- --------------------\n\nwget url\n will fetch the file for you\ndpkg -i file.deb\n will install the referenced file.\n\nIf you are using the apt-get package manager, use the line for\nsources.list as given below:\n\napt-get update\n will update the internal database\napt-get upgrade\n will install corrected packages\n\nYou may use an automated update by adding the resources from the\nfooter to the proper configuration.\n\n\nDebian GNU/Linux 3.0 alias woody\n- --------------------------------\n\n Source archives:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1.dsc\n Size/MD5 checksum: 605 587bea3cc40a3369e890e913a629d0cc\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1.diff.gz\n Size/MD5 checksum: 9774 926eaad305366ee812117abaae40dd55\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5.orig.tar.gz\n Size/MD5 checksum: 1979485 0fc2fd41899d80ce8e482e3defa49bb2\n\n Alpha architecture:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1_alpha.deb\n Size/MD5 checksum: 950422 4042ffbf37d4d92dd24a8f1e2a56f595\n\n ARM architecture:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1_arm.deb\n Size/MD5 checksum: 884710 418a614cc8c4fc7acc2276e84ac6d958\n\n Intel IA-32 architecture:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1_i386.deb\n Size/MD5 checksum: 879266 2cf3d527d12b8eb2a6644db08e81add4\n\n Intel IA-64 architecture:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1_ia64.deb\n Size/MD5 checksum: 996216 1c05ad644b4cea786483131d411b770c\n\n HP Precision architecture:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1_hppa.deb\n Size/MD5 checksum: 907634 d8a326204e1f78097a9bc1a8698c2229\n\n Motorola 680x0 architecture:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1_m68k.deb\n Size/MD5 checksum: 866560 cad16f503719b0ccca4680a3a56ad92a\n\n Big endian MIPS architecture:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1_mips.deb\n Size/MD5 checksum: 910790 7a8a30add0930d363cd4d8eb784fc19d\n\n Little endian MIPS architecture:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1_mipsel.deb\n Size/MD5 checksum: 911710 ced87139e4ec6053bed1c88fd02017d8\n\n PowerPC architecture:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1_powerpc.deb\n Size/MD5 checksum: 897138 f01fb194d7e3f94e065ef6a75252fe55\n\n IBM S/390 architecture:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1_s390.deb\n Size/MD5 checksum: 882316 b612658855c6f54ea4dcd383f095dfa5\n\n Sun Sparc architecture:\n\n http://security.debian.org/pool/updates/main/a/apcupsd/apcupsd_3.8.5-1.1.1_sparc.deb\n Size/MD5 checksum: 933958 450ea57586ffb954fdecb235fcc24105\n\n\n These files will probably be moved into the stable distribution on\n its next revision.\n\n- ---------------------------------------------------------------------------------\nFor apt-get: deb http://security.debian.org/ stable/updates main\nFor dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main\nMailing list: debian-security-announce@lists.debian.org\nPackage info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>\n\n", "modified": "2003-04-03T00:00:00", "published": "2003-04-03T00:00:00", "id": "DEBIAN:DSA-277-1:7C893", "href": "https://lists.debian.org/debian-security-announce/debian-security-announce-2003/msg00060.html", "title": "[SECURITY] [DSA 277-1] New apcupsd packages fix remote root exploit", "type": "debian", "cvss": {"score": 10.0, "vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C"}}], "securityvulns": [{"lastseen": "2018-08-31T11:10:07", "bulletinFamily": "software", "description": "-----BEGIN PGP SIGNED MESSAGE-----\r\n\r\n______________________________________________________________________________\r\n\r\n SuSE Security Announcement\r\n\r\n Package: apcupsd\r\n Announcement-ID: SuSE-SA:2003:022\r\n Date: Wednesday, Mar 26th 2003 14:00 MET\r\n Affected products: 7.3, 8.0, 8.1\r\n Vulnerability Type: remote system compromise\r\n Severity (1-10): 3\r\n SuSE default package: no\r\n Cross References: CAN-2003-0098\r\n CAN-2003-0099\r\n\r\n Content of this advisory:\r\n 1) security vulnerability resolved:\r\n - several buffer overflows\r\n - several format bugs\r\n problem description, discussion, solution and upgrade information\r\n 2) pending vulnerabilities, solutions, workarounds:\r\n - glibc\r\n - rxvt\r\n - vnc\r\n - openssl\r\n 3) standard appendix (further information)\r\n\r\n______________________________________________________________________________\r\n\r\n1) problem description, brief discussion, solution, upgrade information\r\n\r\n The controlling and management daemon apcupsd for APC's Unbreakable\r\n Power Supplies is vulnerable to several buffer overflows and format\r\n bugs. These bugs can be exploited remotely by an attacker to gain\r\n root access to the machine apcupsd is running on.\r\n\r\n There is no temporary fix known.\r\n\r\n Please download the update package for your distribution and verify its\r\n integrity by the methods listed in section 3) of this announcement.\r\n Then, install the package using the command "rpm -Fhv file.rpm" to apply\r\n the update.\r\n Our maintenance customers are being notified individually. The packages\r\n are being offered to install from the maintenance web.\r\n\r\n\r\n\r\n Intel i386 Platform:\r\n\r\n SuSE-8.1:\r\n ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/apcupsd-3.8.6-17.i586.rpm\r\n 4a6e718edf75219769dcbc8d42d78586\r\n patch rpm(s):\r\n ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/apcupsd-3.8.6-17.i586.patch.rpm\r\n 1e7a3656b82dd626add69b9473b87e1c\r\n source rpm(s):\r\n ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/src/apcupsd-3.8.6-17.src.rpm\r\n 7dd06d1bcefa78bd25eaa512bcbaa67e\r\n\r\n SuSE-8.0:\r\n ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap4/apcupsd-3.8.6-16.i386.rpm\r\n 6ed48e7150f88da8dea856a96ed66cd9\r\n patch rpm(s):\r\n ftp://ftp.suse.com/pub/suse/i386/update/8.0/ap4/apcupsd-3.8.6-16.i386.patch.rpm\r\n 186dc6bc26808bb0d71d697c5b2152ec\r\n source rpm(s):\r\n ftp://ftp.suse.com/pub/suse/i386/update/8.0/zq1/apcupsd-3.8.6-16.src.rpm\r\n d0671be38f7fe29a2c7bfd3950673af3\r\n\r\n SuSE-7.3:\r\n ftp://ftp.suse.com/pub/suse/i386/update/7.3/ap2/apcupsd-3.8.2-70.i386.rpm\r\n 4e19d2e227716a5dbd56eeda5bbe3e3f\r\n source rpm(s):\r\n ftp://ftp.suse.com/pub/suse/i386/update/7.3/zq1/apcupsd-3.8.2-70.src.rpm\r\n 9d80af6c213025944aecf5d08449c552\r\n\r\n\r\n\r\n Sparc Platform:\r\n\r\n SuSE-7.3:\r\n ftp://ftp.suse.com/pub/suse/sparc/update/7.3/ap2/apcupsd-3.8.2-30.sparc.rpm\r\n e76823753f5ae5446be78362d9d0ad47\r\n source rpm(s):\r\n ftp://ftp.suse.com/pub/suse/sparc/update/7.3/zq1/apcupsd-3.8.2-30.src.rpm\r\n 9e1295c038d72e96ae3c68a4755f46e8\r\n\r\n\r\n\r\n PPC Power PC Platform:\r\n\r\n SuSE-7.3:\r\n ftp://ftp.suse.com/pub/suse/ppc/update/7.3/ap2/apcupsd-3.8.2-56.ppc.rpm\r\n c692b7d1fbf221a1f6f714789f32bada\r\n source rpm(s):\r\n ftp://ftp.suse.com/pub/suse/ppc/update/7.3/zq1/apcupsd-3.8.2-56.src.rpm\r\n 65d0a076d147b91133bc1a820711147b\r\n\r\n\r\n______________________________________________________________________________\r\n\r\n2) Pending vulnerabilities in SuSE Distributions and Workarounds:\r\n\r\n - glibc\r\n SuSE Security is working on glibc updates for the RPC XDR integer overflow\r\n security problem in glibc. The central function of the glibc package in a\r\n Linux system requires extensive testing of the update packages. The update\r\n packages will be provided for download at the usual location and\r\n publically announced as soon as the testing is completed successfully.\r\n\r\n - rxvt\r\n A new version of the rxvt packages was put on our FTP servers.\r\n This version fix' the handling of dangerous escape-sequences.\r\n\r\n - vnc\r\n VNC (Virtual Network Computing) uses a weak cookie generation process\r\n which can be exploited by an attacker to bypass authentication.\r\n New packages are currently being tested and will be available on our\r\n FTP servers soon.\r\n\r\n - openssl\r\n A paper regarding remote timing attacks against OpenSSL has been\r\n published by researchers of the Stanford University. It is possible\r\n to extract the private RSA key used by services using OpenSSL by\r\n observing their timing behavior. Fixed packages will be available\r\n on our FTP servers soon.\r\n______________________________________________________________________________\r\n\r\n3) standard appendix: authenticity verification, additional information\r\n\r\n - Package authenticity verification:\r\n\r\n SuSE update packages are available on many mirror ftp servers all over\r\n the world. While this service is being considered valuable and important\r\n to the free and open source software community, many users wish to be\r\n sure about the origin of the package and its content before installing\r\n the package. There are two verification methods that can be used\r\n independently from each other to prove the authenticity of a downloaded\r\n file or rpm package:\r\n 1) md5sums as provided in the (cryptographically signed) announcement.\r\n 2) using the internal gpg signatures of the rpm package.\r\n\r\n 1) execute the command\r\n md5sum <name-of-the-file.rpm>\r\n after you downloaded the file from a SuSE ftp server or its mirrors.\r\n Then, compare the resulting md5sum with the one that is listed in the\r\n announcement. Since the announcement containing the checksums is\r\n cryptographically signed (usually using the key security@suse.de),\r\n the checksums show proof of the authenticity of the package.\r\n We disrecommend to subscribe to security lists which cause the\r\n email message containing the announcement to be modified so that\r\n the signature does not match after transport through the mailing\r\n list software.\r\n Downsides: You must be able to verify the authenticity of the\r\n announcement in the first place. If RPM packages are being rebuilt\r\n and a new version of a package is published on the ftp server, all\r\n md5 sums for the files are useless.\r\n\r\n 2) rpm package signatures provide an easy way to verify the authenticity\r\n of an rpm package. Use the command\r\n rpm -v --checksig <file.rpm>\r\n to verify the signature of the package, where <file.rpm> is the\r\n filename of the rpm package that you have downloaded. Of course,\r\n package authenticity verification can only target an un-installed rpm\r\n package file.\r\n Prerequisites:\r\n a) gpg is installed\r\n b) The package is signed using a certain key. The public part of this\r\n key must be installed by the gpg program in the directory\r\n ~/.gnupg/ under the user's home directory who performs the\r\n signature verification (usually root). You can import the key\r\n that is used by SuSE in rpm packages for SuSE Linux by saving\r\n this announcement to a file ("announcement.txt") and\r\n running the command (do "su -" to be root):\r\n gpg --batch; gpg < announcement.txt | gpg --import\r\n SuSE Linux distributions version 7.1 and thereafter install the\r\n key "build@suse.de" upon installation or upgrade, provided that\r\n the package gpg is installed. The file containing the public key\r\n is placed at the top-level directory of the first CD (pubring.gpg)\r\n and at ftp://ftp.suse.com/pub/suse/pubring.gpg-build.suse.de .\r\n\r\n\r\n - SuSE runs two security mailing lists to which any interested party may\r\n subscribe:\r\n\r\n suse-security@suse.com\r\n - general/linux/SuSE security discussion.\r\n All SuSE security announcements are sent to this list.\r\n To subscribe, send an email to\r\n <suse-security-subscribe@suse.com>.\r\n\r\n suse-security-announce@suse.com\r\n - SuSE's announce-only mailing list.\r\n Only SuSE's security announcements are sent to this list.\r\n To subscribe, send an email to\r\n <suse-security-announce-subscribe@suse.com>.\r\n\r\n For general information or the frequently asked questions (faq)\r\n send mail to:\r\n <suse-security-info@suse.com> or\r\n <suse-security-faq@suse.com> respectively.\r\n\r\n =====================================================================\r\n SuSE's security contact is <security@suse.com> or <security@suse.de>.\r\n The <security@suse.de> public key is listed below.\r\n =====================================================================\r\n______________________________________________________________________________\r\n\r\n The information in this advisory may be distributed or reproduced,\r\n provided that the advisory is not modified in any way. In particular,\r\n it is desired that the clear-text signature shows proof of the\r\n authenticity of the text.\r\n SuSE Linux AG makes no warranties of any kind whatsoever with respect\r\n to the information contained in this security advisory.\r\n\r\nType Bits/KeyID Date User ID\r\npub 2048R/3D25D3D9 1999-03-06 SuSE Security Team <security@suse.de>\r\npub 1024D/9C800ACA 2000-10-19 SuSE Package Signing Key <build@suse.de>\r\n\r\n- -----BEGIN PGP PUBLIC KEY BLOCK-----\r\nVersion: GnuPG v1.0.6 (GNU/Linux)\r\nComment: For info see http://www.gnupg.org\r\n\r\nmQGiBDnu9IERBACT8Y35+2vv4MGVKiLEMOl9GdST6MCkYS3yEKeueNWc+z/0Kvff\r\n4JctBsgs47tjmiI9sl0eHjm3gTR8rItXMN6sJEUHWzDP+Y0PFPboMvKx0FXl/A0d\r\nM+HFrruCgBlWt6FA+okRySQiliuI5phwqkXefl9AhkwR8xocQSVCFxcwvwCglVcO\r\nQliHu8jwRQHxlRE0tkwQQI0D+wfQwKdvhDplxHJ5nf7U8c/yE/vdvpN6lF0tmFrK\r\nXBUX+K7u4ifrZlQvj/81M4INjtXreqDiJtr99Rs6xa0ScZqITuZC4CWxJa9GynBE\r\nD3+D2t1V/f8l0smsuYoFOF7Ib49IkTdbtwAThlZp8bEhELBeGaPdNCcmfZ66rKUd\r\nG5sRA/9ovnc1krSQF2+sqB9/o7w5/q2qiyzwOSTnkjt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s5QXsnd4oFPOnbkAnjYGa1J3em+bmV2aiCdYXdOuGn4ZiQCVAwUQN7c7\r\nwhaQN/7O/JIVAQEB+QP/cYblSAmPXxSFiaHWB+MiUNw8B6ozBLK0QcMQ2YcL6+Vl\r\nD+nSZP20+Ja2nfiKjnibCv5ss83yXoHkYk2Rsa8foz6Y7tHwuPiccvqnIC/c9Cvz\r\ndbIsdxpfsi0qWPfvX/jLMpXqqnPjdIZErgxpwujas1n9016PuXA8K3MJwVjCqSKI\r\nRgQQEQIABgUCOhpCpAAKCRDHUqoysN/3gCt7AJ9adNQMbmA1iSYcbhtgvx9ByLPI\r\nDgCfZ5Wj+f7cnYpFZI6GkAyyczG09sE=\r\n=LRKC\r\n- -----END PGP PUBLIC KEY BLOCK-----\r\n\r\n\r\n-----BEGIN PGP SIGNATURE-----\r\nVersion: 2.6.3i\r\nCharset: noconv\r\n\r\niQEVAwUBPoGpcney5gA9JdPZAQHr5gf+LuhcT2e8/9iFWbIhmuz3R4trje5Xnc+A\r\nwhJgfviqVGpDHc9DbcM55oNBtWJOF1xbG0ZQO99BAQ7f8gR4zln+pU34s0yoCiPm\r\nwVSUg59Ji1EdRm/uVW6iBppdEVg6hVUvduwVPuz4N1MfWOmByhrt50i2tO7mChvW\r\nQLxuf3KmTYIqFmYYRRhe7wM/9yUoKo4cjMekl0tXvmn+aHvp7keC4fKndP7Uwi9T\r\nfZSCUr2BXGWC0rcOdeOeWhm+D75CzFhXw0JZpMWaTE68vwjxYOvcgnzTT4LViLB5\r\nYjPjEzS5gEEyCZSgK44RRQu1ze5UA0Ua6i5qdSbp1NCrZEuDmMi3jQ==\r\n=qgtY\r\n-----END PGP SIGNATURE-----\r\n\r\nBye,\r\n Thomas\r\n-- \r\n Thomas Biege <thomas@suse.de>\r\n SuSE Linux AG,Deutschherrnstr. 15-19,90429 Nuernberg\r\n Function: Security Support & Auditing\r\n "lynx -source http://www.suse.de/~thomas/contact/thomas.asc | gpg --import"\r\n Key fingerprint = 7254 B15D B3C4 943F 485E 0BBD 8ECC D7CB C200 A213\r\n", "modified": "2003-03-26T00:00:00", "published": "2003-03-26T00:00:00", "id": "SECURITYVULNS:DOC:4279", "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:4279", "title": "Security Update: [CSSA-2003-015.0] Linux: apcupsd remote root vulnerability and buffer overflows", "type": "securityvulns", "cvss": {"score": 10.0, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}], "nessus": [{"lastseen": "2019-11-01T02:54:55", "bulletinFamily": "scanner", "description": "A remote root vulnerability in slave setups and some buffer overflows\nin the network information server code were discovered by the apcupsd\ndevelopers. They have been fixed in the latest unstable version,\n3.10.5 which contains additional enhancements like USB support, and\nthe latest stable version, 3.8.6.\n\nThere are a few changes that need to be noted, such as the port has\nchanged from port 7000 to post 3551 for NIS, and the new config only\nallows access from the localhost. Users may need to modify their\nconfiguration files appropriately, depending upon their configuration.", "modified": "2019-11-02T00:00:00", "id": "MANDRAKE_MDKSA-2003-018.NASL", "href": "https://www.tenable.com/plugins/nessus/14003", "published": "2004-07-31T00:00:00", "title": "Mandrake Linux Security Advisory : apcupsd (MDKSA-2003:018)", "type": "nessus", "sourceData": "#%NASL_MIN_LEVEL 80502\n\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Mandrake Linux Security Advisory MDKSA-2003:018. \n# The text itself is copyright (C) Mandriva S.A.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(14003);\n script_version (\"1.18\");\n script_cvs_date(\"Date: 2019/08/02 13:32:46\");\n\n script_cve_id(\"CVE-2003-0098\", \"CVE-2003-0099\");\n script_xref(name:\"MDKSA\", value:\"2003:018\");\n\n script_name(english:\"Mandrake Linux Security Advisory : apcupsd (MDKSA-2003:018)\");\n script_summary(english:\"Checks rpm output for the updated package\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Mandrake Linux host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"A remote root vulnerability in slave setups and some buffer overflows\nin the network information server code were discovered by the apcupsd\ndevelopers. They have been fixed in the latest unstable version,\n3.10.5 which contains additional enhancements like USB support, and\nthe latest stable version, 3.8.6.\n\nThere are a few changes that need to be noted, such as the port has\nchanged from port 7000 to post 3551 for NIS, and the new config only\nallows access from the localhost. Users may need to modify their\nconfiguration files appropriately, depending upon their configuration.\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected apcupsd package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:mandriva:linux:apcupsd\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:mandrakesoft:mandrake_linux:8.1\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:mandrakesoft:mandrake_linux:8.2\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:mandrakesoft:mandrake_linux:9.0\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2003/02/18\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2004/07/31\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2004-2019 Tenable Network Security, Inc.\");\n script_family(english:\"Mandriva Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/cpu\", \"Host/Mandrake/release\", \"Host/Mandrake/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/Mandrake/release\")) audit(AUDIT_OS_NOT, \"Mandriva / Mandake Linux\");\nif (!get_kb_item(\"Host/Mandrake/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (cpu !~ \"^(amd64|i[3-6]86|x86_64)$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Mandriva / Mandrake Linux\", cpu);\n\n\nflag = 0;\nif (rpm_check(release:\"MDK8.1\", cpu:\"i386\", reference:\"apcupsd-3.10.5-1.1mdk\", yank:\"mdk\")) flag++;\n\nif (rpm_check(release:\"MDK8.2\", cpu:\"i386\", reference:\"apcupsd-3.10.5-1.1mdk\", yank:\"mdk\")) flag++;\n\nif (rpm_check(release:\"MDK9.0\", cpu:\"i386\", reference:\"apcupsd-3.10.5-1.1mdk\", yank:\"mdk\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());\n else security_hole(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 10.0, "vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C"}}, {"lastseen": "2019-11-01T02:21:15", "bulletinFamily": "scanner", "description": "The controlling and management daemon apcupsd for APC", "modified": "2019-11-02T00:00:00", "id": "DEBIAN_DSA-277.NASL", "href": "https://www.tenable.com/plugins/nessus/15114", "published": "2004-09-29T00:00:00", "title": "Debian DSA-277-1 : apcupsd - buffer overflows, format string", "type": "nessus", "sourceData": "#%NASL_MIN_LEVEL 80502\n\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Debian Security Advisory DSA-277. The text \n# itself is copyright (C) Software in the Public Interest, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(15114);\n script_version(\"1.22\");\n script_cvs_date(\"Date: 2019/08/02 13:32:17\");\n\n script_cve_id(\"CVE-2003-0098\", \"CVE-2003-0099\");\n script_bugtraq_id(7200);\n script_xref(name:\"DSA\", value:\"277\");\n\n script_name(english:\"Debian DSA-277-1 : apcupsd - buffer overflows, format string\");\n script_summary(english:\"Checks dpkg output for the updated package\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Debian host is missing a security-related update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"The controlling and management daemon apcupsd for APC's Unbreakable\nPower Supplies is vulnerable to several buffer overflows and format\nstring attacks. These bugs can be exploited remotely by an attacker to\ngain root access to the machine apcupsd is running on.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.debian.org/security/2003/dsa-277\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\n\"Upgrade the apcupsd packages immediately.\n\nFor the stable distribution (woody) this problem has been fixed in\nversion 3.8.5-1.1.1.\n\nFor the old stable distribution (potato) this problem does not seem to\nexist.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:debian:debian_linux:apcupsd\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:debian:debian_linux:3.0\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2003/04/03\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2004/09/29\");\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2003/02/15\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2004-2019 Tenable Network Security, Inc.\");\n script_family(english:\"Debian Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/Debian/release\", \"Host/Debian/dpkg-l\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"debian_package.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/Debian/release\")) audit(AUDIT_OS_NOT, \"Debian\");\nif (!get_kb_item(\"Host/Debian/dpkg-l\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\nflag = 0;\nif (deb_check(release:\"3.0\", prefix:\"apcupsd\", reference:\"3.8.5-1.1.1\")) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_hole(port:0, extra:deb_report_get());\n else security_hole(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 10.0, "vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C"}}, {"lastseen": "2019-11-03T12:18:09", "bulletinFamily": "scanner", "description": "The remote host is missing the patch for the advisory SUSE-SA:2003:022 (apcupsd).\n\n\nThe controlling and management daemon apcupsd for APC", "modified": "2019-11-02T00:00:00", "id": "SUSE_SA_2003_022.NASL", "href": "https://www.tenable.com/plugins/nessus/13792", "published": "2004-07-25T00:00:00", "title": "SUSE-SA:2003:022: apcupsd", "type": "nessus", "sourceData": "#%NASL_MIN_LEVEL 80502\n#\n# (C) Tenable Network Security, Inc.\n#\n# This plugin text was extracted from SuSE Security Advisory SUSE-SA:2003:022\n#\n\n\nif ( ! defined_func(\"bn_random\") ) exit(0);\n\ninclude(\"compat.inc\");\n\nif(description)\n{\n script_id(13792);\n script_bugtraq_id(7200);\n script_version (\"1.15\");\n script_cve_id(\"CVE-2003-0098\", \"CVE-2003-0099\");\n \n name[\"english\"] = \"SUSE-SA:2003:022: apcupsd\";\n \n script_name(english:name[\"english\"]);\n \n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote host is missing a vendor-supplied security patch\" );\n script_set_attribute(attribute:\"description\", value:\n\"The remote host is missing the patch for the advisory SUSE-SA:2003:022 (apcupsd).\n\n\nThe controlling and management daemon apcupsd for APC's Unbreakable\nPower Supplies is vulnerable to several buffer overflows and format\nbugs. These bugs can be exploited remotely by an attacker to gain\nroot access to the machine apcupsd is running on.\n\nThere is no temporary fix known.\n\nPlease download the update package for your distribution and verify its\nintegrity by the methods listed in section 3) of this announcement.\nThen, install the package using the command 'rpm -Fhv file.rpm' to apply\nthe update.\" );\n script_set_attribute(attribute:\"solution\", value:\n\"http://www.suse.de/security/2003_022_apcupsd.html\" );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n\n\n\n\n script_set_attribute(attribute:\"plugin_publication_date\", value: \"2004/07/25\");\n script_cvs_date(\"Date: 2019/10/25 13:36:27\");\n script_end_attributes();\n\n \n summary[\"english\"] = \"Check for the version of the apcupsd package\";\n script_summary(english:summary[\"english\"]);\n \n script_category(ACT_GATHER_INFO);\n \n script_copyright(english:\"This script is Copyright (C) 2004-2019 Tenable Network Security, Inc.\");\n family[\"english\"] = \"SuSE Local Security Checks\";\n script_family(english:family[\"english\"]);\n \n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/SuSE/rpm-list\");\n exit(0);\n}\n\ninclude(\"rpm.inc\");\nif ( rpm_check( reference:\"apcupsd-3.8.2-70\", release:\"SUSE7.3\") )\n{\n security_hole(0);\n exit(0);\n}\nif ( rpm_check( reference:\"apcupsd-3.8.6-16\", release:\"SUSE8.0\") )\n{\n security_hole(0);\n exit(0);\n}\nif ( rpm_check( reference:\"apcupsd-3.8.6-17\", release:\"SUSE8.1\") )\n{\n security_hole(0);\n exit(0);\n}\nif (rpm_exists(rpm:\"apcupsd-\", release:\"SUSE7.3\")\n || rpm_exists(rpm:\"apcupsd-\", release:\"SUSE8.0\")\n || rpm_exists(rpm:\"apcupsd-\", release:\"SUSE8.1\") )\n{\n set_kb_item(name:\"CVE-2003-0098\", value:TRUE);\n set_kb_item(name:\"CVE-2003-0099\", value:TRUE);\n}\n", "cvss": {"score": 10.0, "vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C"}}, {"lastseen": "2019-11-01T02:14:38", "bulletinFamily": "scanner", "description": "The remote host is running the apcupsd client which, according to its\nversion number, is affected by multiple vulnerabilities :\n\n - The configuration file ", "modified": "2019-11-02T00:00:00", "id": "APCUPSD_OVERFLOWS.NASL", "href": "https://www.tenable.com/plugins/nessus/11484", "published": "2003-03-26T00:00:00", "title": "APC < 3.8.0 apcupsd Multiple Vulnerabilities", "type": "nessus", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\n\ninclude(\"compat.inc\");\n\nif(description)\n{\n script_id(11484);\n script_bugtraq_id(2070, 6828, 7200);\n script_cve_id(\"CVE-2001-0040\", \"CVE-2003-0098\", \"CVE-2003-0099\");\n \n script_version (\"1.20\");\n \n script_name(english:\"APC < 3.8.0 apcupsd Multiple Vulnerabilities\");\n script_summary(english:\"Checks the version of apcupsd\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote host is running an application which is affected by\nmultiple vulnerabilities.\" );\n script_set_attribute(attribute:\"description\", value:\n\"The remote host is running the apcupsd client which, according to its\nversion number, is affected by multiple vulnerabilities :\n\n - The configuration file '/var/run/apcupsd.pid' is by\n default world-writable. A local attacker could re-write \n this file with other process IDs in order to crash the\n affected system.\n\n - An issue exists in the 'log_event' function which a\n local attacker could exploit in order to execute\n arbitrary code.\n\n - Several buffer overflow vulnerabilities have been\n reported which a remote attacker could exploit in order\n to execute arbitrary code on the remote host.\n\n*** Nessus solely relied on the version number of the \n*** remote server, so this might be a false positive\" );\n script_set_attribute(attribute:\"see_also\", value:\"https://seclists.org/bugtraq/2000/Dec/102\" );\n script_set_attribute(attribute:\"see_also\", value:\"http://www.novell.com/linux/security/advisories/2003_022_apcupsd.html\" );\n script_set_attribute(attribute:\"solution\", value:\n\"Upgrading to acpupsd version 3.8.0 or newer reportedly fixes the issue.\" );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C\");\n script_set_cvss_temporal_vector(\"CVSS2#E:POC/RL:OF/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"Exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"true\");\n\n script_set_attribute(attribute:\"plugin_publication_date\", value: \"2003/03/26\");\n script_set_attribute(attribute:\"vuln_publication_date\", value: \"2000/12/06\");\n script_cvs_date(\"Date: 2018/11/15 20:50:22\");\nscript_set_attribute(attribute:\"plugin_type\", value:\"remote\");\nscript_end_attributes();\n\n \n script_category(ACT_GATHER_INFO);\n \n script_copyright(english:\"This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.\");\n script_family(english:\"Gain a shell remotely\");\n script_dependencie(\"find_service1.nasl\", \"apcnisd_detect.nasl\");\n script_require_ports(\"Services/apcnisd\", 7000);\n\n exit(0);\n}\n\nport = get_kb_item(\"Services/apcnisd\");\nif (! port) port = 7000;\nif (! get_port_state(port)) exit(0);\n\nsoc = open_sock_tcp(port);\nif(!soc)exit(0);\nreq = raw_string(0x00, 0x06) + \"status\";\nsend(socket:soc, data:req);\nr = recv(socket:soc, length:4096);\nif(\"APC\" >< r && \"MODEL\" >< r)\n{\n r = strstr(r, \"RELEASE\");\n if(ereg(pattern:\"RELEASE.*: (3\\.([0-7]\\..*|8\\.[0-5][^0-9]|10\\.[0-4])|[0-2]\\..*)\", string:r))\n security_hole(port);\n\n}\n", "cvss": {"score": 10.0, "vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C"}}]}