Vulnerabilities > CVE-2007-5623 - Buffer Errors vulnerability in Nagios Plugins 1.4.10

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
PARTIAL
network
low complexity
nagios
CWE-119
nessus

Summary

Buffer overflow in the check_snmp function in Nagios Plugins (nagios-plugins) 1.4.10 allows remote attackers to cause a denial of service (crash) via crafted snmpget replies.

Vulnerable Configurations

Part Description Count
Application
Nagios
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Nessus

  • NASL familySuSE Local Security Checks
    NASL idSUSE_NAGIOS-PLUGINS-4621.NASL
    descriptionfix possible buffer overflow during HTTP Location header parsing in check_http (CVE-2007-5198) fix possible buffer overflow during snmpget parsing in check_snmp (CVE-2007-5623)
    last seen2020-06-01
    modified2020-06-02
    plugin id28356
    published2007-11-29
    reporterThis script is Copyright (C) 2007-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/28356
    titleopenSUSE 10 Security Update : nagios-plugins (nagios-plugins-4621)
    code
    if (
        !defined_func("nasl_level") ||
        nasl_level() < 61201 ||
        (nasl_level() >= 70000 && nasl_level() < 70105) ||
        (nasl_level() >= 70200 && nasl_level() < 70203) ||
        (nasl_level() >= 80000 && nasl_level() < 80502)
        ) exit(0);
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update nagios-plugins-4621.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(28356);
      script_version ("1.9");
      script_cvs_date("Date: 2019/10/24 13:56:42");
    
      script_cve_id("CVE-2007-5198", "CVE-2007-5623");
    
      script_name(english:"openSUSE 10 Security Update : nagios-plugins (nagios-plugins-4621)");
      script_summary(english:"Check for the nagios-plugins-4621 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "fix possible buffer overflow during HTTP Location header parsing in
    check_http (CVE-2007-5198) fix possible buffer overflow during snmpget
    parsing in check_snmp (CVE-2007-5623)"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected nagios-plugins packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
      script_cwe_id(119);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:nagios-plugins");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:nagios-plugins-extras");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:10.1");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:10.2");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:10.3");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2007/11/06");
      script_set_attribute(attribute:"plugin_publication_date", value:"2007/11/29");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2007-2019 Tenable Network Security, Inc.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE10\.1|SUSE10\.2|SUSE10\.3)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "10.1 / 10.2 / 10.3", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE10.1", reference:"nagios-plugins-1.4.2-16.6") ) flag++;
    if ( rpm_check(release:"SUSE10.1", reference:"nagios-plugins-extras-1.4.2-16.6") ) flag++;
    if ( rpm_check(release:"SUSE10.2", reference:"nagios-plugins-1.4.5-8") ) flag++;
    if ( rpm_check(release:"SUSE10.2", reference:"nagios-plugins-extras-1.4.5-8") ) flag++;
    if ( rpm_check(release:"SUSE10.3", reference:"nagios-plugins-1.4.9-19.3") ) flag++;
    if ( rpm_check(release:"SUSE10.3", reference:"nagios-plugins-extras-1.4.9-19.3") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "nagios-plugins / nagios-plugins-extras");
    }
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2007-2713.NASL
    description - Fri Oct 26 2007 Mike McGrath <mmcgrath at redhat.com> 1.4.8-9 - Fix for Bug 348731 and CVE-2007-5623 - Wed Aug 22 2007 Mike McGrath <mmcgrath at redhat.com> 1.4.8-7 - Rebuild for BuildID - License change - Fri Aug 10 2007 Mike McGrath <mmcgrath at redhat.com> 1.4.8-6 - Fix for check_linux_raid - #234416 - Fix for check_ide_disk - #251635 - Tue Aug 7 2007 Mike McGrath <mmcgrath at redhat.com> 1.4.8-2 - Fix for check_smtp - #251049 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id27795
    published2007-11-06
    reporterThis script is Copyright (C) 2007-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/27795
    titleFedora 7 : nagios-plugins-1.4.8-9.fc7 (2007-2713)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory 2007-2713.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(27795);
      script_version ("1.14");
      script_cvs_date("Date: 2019/08/02 13:32:25");
    
      script_cve_id("CVE-2007-5623");
      script_bugtraq_id(26215);
      script_xref(name:"FEDORA", value:"2007-2713");
    
      script_name(english:"Fedora 7 : nagios-plugins-1.4.8-9.fc7 (2007-2713)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "  - Fri Oct 26 2007 Mike McGrath <mmcgrath at redhat.com>
        1.4.8-9
    
        - Fix for Bug 348731 and CVE-2007-5623
    
        - Wed Aug 22 2007 Mike McGrath <mmcgrath at redhat.com>
          1.4.8-7
    
        - Rebuild for BuildID
    
        - License change
    
        - Fri Aug 10 2007 Mike McGrath <mmcgrath at redhat.com>
          1.4.8-6
    
        - Fix for check_linux_raid - #234416
    
        - Fix for check_ide_disk - #251635
    
        - Tue Aug 7 2007 Mike McGrath <mmcgrath at redhat.com>
          1.4.8-2
    
        - Fix for check_smtp - #251049
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=348731"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2007-November/004414.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?75b4df62"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:ND/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
      script_cwe_id(119);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-all");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-apt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-breeze");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-by_ssh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-dhcp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-dig");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-disk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-disk_smb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-dns");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-dummy");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-file_age");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-flexlm");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-fping");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-game");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-hpjd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-http");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-icmp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ide_smart");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ifoperstatus");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ifstatus");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ircd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ldap");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-linux_raid");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-load");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-log");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-mailq");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-mrtg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-mrtgtraf");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-mysql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-nagios");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-nt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ntp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-nwstat");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-oracle");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-overcr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-perl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-pgsql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ping");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-procs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-radius");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-real");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-rpc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-sensors");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-smtp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-snmp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ssh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-swap");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-tcp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-time");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-udp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ups");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-users");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-wave");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:7");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2007/11/01");
      script_set_attribute(attribute:"plugin_publication_date", value:"2007/11/06");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2007-2019 Tenable Network Security, Inc.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 7.x", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    flag = 0;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-all-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-apt-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-breeze-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-by_ssh-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-debuginfo-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-dhcp-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-dig-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-disk-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-disk_smb-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-dns-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-dummy-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-file_age-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-flexlm-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-fping-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-game-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-hpjd-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-http-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-icmp-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-ide_smart-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-ifoperstatus-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-ifstatus-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-ircd-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-ldap-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-linux_raid-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-load-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-log-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-mailq-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-mrtg-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-mrtgtraf-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-mysql-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-nagios-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-nt-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-ntp-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-nwstat-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-oracle-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-overcr-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-perl-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-pgsql-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-ping-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-procs-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-radius-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-real-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-rpc-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-sensors-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-smtp-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-snmp-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-ssh-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-swap-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-tcp-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-time-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-udp-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-ups-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-users-1.4.8-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"nagios-plugins-wave-1.4.8-9.fc7")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "nagios-plugins / nagios-plugins-all / nagios-plugins-apt / etc");
    }
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2007-2876.NASL
    description - Fri Oct 26 2007 Mike McGrath <mmcgrath at redhat.com> 1.4.8-9 - Fix for Bug 348731 and CVE-2007-5623 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id27811
    published2007-11-07
    reporterThis script is Copyright (C) 2007-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/27811
    titleFedora 8 : nagios-plugins-1.4.8-9.fc8 (2007-2876)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory 2007-2876.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(27811);
      script_version ("1.13");
      script_cvs_date("Date: 2019/08/02 13:32:25");
    
      script_cve_id("CVE-2007-5623");
      script_xref(name:"FEDORA", value:"2007-2876");
    
      script_name(english:"Fedora 8 : nagios-plugins-1.4.8-9.fc8 (2007-2876)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "  - Fri Oct 26 2007 Mike McGrath <mmcgrath at redhat.com>
        1.4.8-9
    
        - Fix for Bug 348731 and CVE-2007-5623
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=348731"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2007-November/004543.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?cb1dcbd3"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
      script_cwe_id(119);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-all");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-apt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-breeze");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-by_ssh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-dhcp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-dig");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-disk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-disk_smb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-dns");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-dummy");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-file_age");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-flexlm");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-fping");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-game");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-hpjd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-http");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-icmp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ide_smart");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ifoperstatus");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ifstatus");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ircd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ldap");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-linux_raid");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-load");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-log");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-mailq");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-mrtg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-mrtgtraf");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-mysql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-nagios");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-nt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ntp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-nwstat");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-oracle");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-overcr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-perl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-pgsql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ping");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-procs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-radius");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-real");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-rpc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-sensors");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-smtp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-snmp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ssh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-swap");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-tcp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-time");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-udp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-ups");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-users");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:nagios-plugins-wave");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:8");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2007/11/06");
      script_set_attribute(attribute:"plugin_publication_date", value:"2007/11/07");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2007-2019 Tenable Network Security, Inc.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^8([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 8.x", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    flag = 0;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-all-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-apt-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-breeze-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-by_ssh-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-debuginfo-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-dhcp-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-dig-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-disk-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-disk_smb-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-dns-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-dummy-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-file_age-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-flexlm-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-fping-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-game-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-hpjd-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-http-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-icmp-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-ide_smart-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-ifoperstatus-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-ifstatus-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-ircd-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-ldap-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-linux_raid-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-load-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-log-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-mailq-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-mrtg-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-mrtgtraf-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-mysql-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-nagios-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-nt-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-ntp-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-nwstat-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-oracle-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-overcr-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-perl-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-pgsql-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-ping-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-procs-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-radius-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-real-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-rpc-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-sensors-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-smtp-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-snmp-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-ssh-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-swap-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-tcp-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-time-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-udp-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-ups-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-users-1.4.8-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"nagios-plugins-wave-1.4.8-9.fc8")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "nagios-plugins / nagios-plugins-all / nagios-plugins-apt / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_NAGIOS-PLUGINS-4624.NASL
    descriptionfix possible buffer overflow during HTTP Location header parsing in check_http (CVE-2007-5198) fix possible buffer overflow during snmpget parsing in check_snmp. (CVE-2007-5623)
    last seen2020-06-01
    modified2020-06-02
    plugin id29526
    published2007-12-13
    reporterThis script is Copyright (C) 2007-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/29526
    titleSuSE 10 Security Update : nagios plugins (ZYPP Patch Number 4624)
    code
    if (
        !defined_func("nasl_level") ||
        nasl_level() < 61201 ||
        (nasl_level() >= 70000 && nasl_level() < 70105) ||
        (nasl_level() >= 70200 && nasl_level() < 70203) ||
        (nasl_level() >= 80000 && nasl_level() < 80502)
        ) exit(0);
    #
    # (C) Tenable Network Security, Inc.
    #
    # The text description of this plugin is (C) Novell, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(29526);
      script_version ("1.12");
      script_cvs_date("Date: 2019/10/24 13:56:42");
    
      script_cve_id("CVE-2007-5198", "CVE-2007-5623");
    
      script_name(english:"SuSE 10 Security Update : nagios plugins (ZYPP Patch Number 4624)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SuSE 10 host is missing a security-related patch."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "fix possible buffer overflow during HTTP Location header parsing in
    check_http (CVE-2007-5198) fix possible buffer overflow during snmpget
    parsing in check_snmp. (CVE-2007-5623)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://support.novell.com/security/cve/CVE-2007-5198.html"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://support.novell.com/security/cve/CVE-2007-5623.html"
      );
      script_set_attribute(attribute:"solution", value:"Apply ZYPP patch number 4624.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
      script_cwe_id(119);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:suse:suse_linux");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2007/11/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2007/12/13");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2007-2019 Tenable Network Security, Inc.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list");
    
      exit(0);
    }
    
    
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) exit(0, "Local checks are not enabled.");
    if (!get_kb_item("Host/SuSE/release")) exit(0, "The host is not running SuSE.");
    if (!get_kb_item("Host/SuSE/rpm-list")) exit(1, "Could not obtain the list of installed packages.");
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) exit(1, "Failed to determine the architecture type.");
    if (cpu >!< "x86_64" && cpu !~ "^i[3-6]86$") exit(1, "Local checks for SuSE 10 on the '"+cpu+"' architecture have not been implemented.");
    
    
    flag = 0;
    if (rpm_check(release:"SLES10", sp:1, reference:"nagios-plugins-1.4.5-16.13")) flag++;
    if (rpm_check(release:"SLES10", sp:1, reference:"nagios-plugins-extras-1.4.5-16.13")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else exit(0, "The host is not affected.");
    
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-1495.NASL
    descriptionSeveral local/remote vulnerabilities have been discovered in two of the plugins for the Nagios network monitoring and management system. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2007-5198 A buffer overflow has been discovered in the parser for HTTP Location headers (present in the check_http module). - CVE-2007-5623 A buffer overflow has been discovered in the check_snmp module.
    last seen2020-06-01
    modified2020-06-02
    plugin id31055
    published2008-02-14
    reporterThis script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/31055
    titleDebian DSA-1495-1 : nagios-plugins - buffer overflows
  • NASL familySuSE Local Security Checks
    NASL idSUSE9_11953.NASL
    descriptionfix possible buffer overflow during HTTP Location header parsing in check_http (CVE-2007-5198) fix possible buffer overflow during snmpget parsing in check_snmp. (CVE-2007-5623)
    last seen2020-06-01
    modified2020-06-02
    plugin id41162
    published2009-09-24
    reporterThis script is Copyright (C) 2009-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/41162
    titleSuSE9 Security Update : nagios plugins (YOU Patch Number 11953)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-200711-11.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-200711-11 (Nagios Plugins: Two buffer overflows) fabiodds reported a boundary checking error in the
    last seen2020-06-01
    modified2020-06-02
    plugin id27846
    published2007-11-09
    reporterThis script is Copyright (C) 2007-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/27846
    titleGLSA-200711-11 : Nagios Plugins: Two buffer overflows