Vulnerabilities > CVE-2009-4032 - Cross-site Scripting vulnerability in Cacti 0.8.7E

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
cacti
CWE-79
nessus
exploit available

Summary

Multiple cross-site scripting (XSS) vulnerabilities in Cacti 0.8.7e allow remote attackers to inject arbitrary web script or HTML via vectors related to (1) graph.php, (2) include/top_graph_header.php, (3) lib/html_form.php, and (4) lib/timespan_settings.php, as demonstrated by the (a) graph_end or (b) graph_start parameters to graph.php; (c) the date1 parameter in a tree action to graph_view.php; and the (d) page_refresh and (e) default_dual_pane_width parameters to graph_settings.php.

Vulnerable Configurations

Part Description Count
Application
Cacti
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Embedding Scripts in Non-Script Elements
    This attack is a form of Cross-Site Scripting (XSS) where malicious scripts are embedded in elements that are not expected to host scripts such as image tags (<img>), comments in XML documents (< !-CDATA->), etc. These tags may not be subject to the same input validation, output validation, and other content filtering and checking routines, so this can create an opportunity for an attacker to tunnel through the application's elements and launch a XSS attack through other elements. As with all remote attacks, it is important to differentiate the ability to launch an attack (such as probing an internal network for unpatched servers) and the ability of the remote attacker to collect and interpret the output of said attack.
  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Cross-Site Scripting in Error Pages
    An attacker distributes a link (or possibly some other query structure) with a request to a third party web server that is malformed and also contains a block of exploit code in order to have the exploit become live code in the resulting error page. When the third party web server receives the crafted request and notes the error it then creates an error message that echoes the malformed message, including the exploit. Doing this converts the exploit portion of the message into to valid language elements that are executed by the viewing browser. When a victim executes the query provided by the attacker the infected error message error message is returned including the exploit code which then runs in the victim's browser. XSS can result in execution of code as well as data leakage (e.g. session cookies can be sent to the attacker). This type of attack is especially dangerous since the exploit appears to come from the third party web server, who the victim may trust and hence be more vulnerable to deception.
  • Cross-Site Scripting Using Alternate Syntax
    The attacker uses alternate forms of keywords or commands that result in the same action as the primary form but which may not be caught by filters. For example, many keywords are processed in a case insensitive manner. If the site's web filtering algorithm does not convert all tags into a consistent case before the comparison with forbidden keywords it is possible to bypass filters (e.g., incomplete black lists) by using an alternate case structure. For example, the "script" tag using the alternate forms of "Script" or "ScRiPt" may bypass filters where "script" is the only form tested. Other variants using different syntax representations are also possible as well as using pollution meta-characters or entities that are eventually ignored by the rendering engine. The attack can result in the execution of otherwise prohibited functionality.

Exploit-Db

  • descriptionCacti 0.8.7e: Multiple Security Issues. CVE-2009-4032,CVE-2010-2543. Webapps exploit for php platform
    idEDB-ID:10234
    last seen2016-02-01
    modified2009-11-26
    published2009-11-26
    reporterMoritz Naumann
    sourcehttps://www.exploit-db.com/download/10234/
    titleCacti 0.8.7e: Multiple Security Issues
  • descriptionCacti 0.8.x graph.php Multiple Parameter XSS. CVE-2009-4032 . Webapps exploit for php platform
    idEDB-ID:33374
    last seen2016-02-03
    modified2009-11-21
    published2009-11-21
    reporterMoritz Naumann
    sourcehttps://www.exploit-db.com/download/33374/
    titleCacti 0.8.x graph.php Multiple Parameter XSS

Nessus

  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_0_CACTI-091202.NASL
    descriptionThe package cacti was updated to fix four cross-site-scripting vulnerabilities (CVE-2009-4032: CVSS v2 Base Score: 4.9) and one privilege escalation bug (CVE-2009-4112).
    last seen2020-06-01
    modified2020-06-02
    plugin id43025
    published2009-12-07
    reporterThis script is Copyright (C) 2009-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/43025
    titleopenSUSE Security Update : cacti (cacti-1627)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update cacti-1627.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(43025);
      script_version("1.9");
      script_cvs_date("Date: 2019/10/25 13:36:33");
    
      script_cve_id("CVE-2009-4032", "CVE-2009-4112");
    
      script_name(english:"openSUSE Security Update : cacti (cacti-1627)");
      script_summary(english:"Check for the cacti-1627 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The package cacti was updated to fix four cross-site-scripting
    vulnerabilities (CVE-2009-4032: CVSS v2 Base Score: 4.9) and one
    privilege escalation bug (CVE-2009-4112)."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=558664"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected cacti package.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C");
      script_cwe_id(79, 264);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cacti");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:11.0");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2009/12/02");
      script_set_attribute(attribute:"plugin_publication_date", value:"2009/12/07");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2009-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");
    
      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 !~ "^(SUSE11\.0)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "11.0", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE11.0", reference:"cacti-0.8.7e-0.1") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cacti");
    }
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2009-12575.NASL
    descriptionThis fix contains several official patches from cacti: Command Line Add Graphs Syntax SNMP Invalid Responses Template Import/Export Duplication Cross-Site Scripting Fixes http://www.cacti.net/download_patches.php 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 id43602
    published2009-12-28
    reporterThis script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/43602
    titleFedora 11 : cacti-0.8.7e-3.fc11 (2009-12575)
    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 2009-12575.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(43602);
      script_version("1.15");
      script_cvs_date("Date: 2019/08/02 13:32:29");
    
      script_cve_id("CVE-2009-4032");
      script_bugtraq_id(37109);
      script_xref(name:"FEDORA", value:"2009-12575");
    
      script_name(english:"Fedora 11 : cacti-0.8.7e-3.fc11 (2009-12575)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This fix contains several official patches from cacti: Command Line
    Add Graphs Syntax SNMP Invalid Responses Template Import/Export
    Duplication Cross-Site Scripting Fixes
    http://www.cacti.net/download_patches.php
    
    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."
      );
      # http://www.cacti.net/download_patches.php
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.cacti.net/download_patches.php"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=541279"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2009-December/033199.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?23f97cc2"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected cacti package.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
      script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_cwe_id(79);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:cacti");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:11");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2009/12/03");
      script_set_attribute(attribute:"plugin_publication_date", value:"2009/12/28");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      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:"^11([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 11.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:"FC11", reference:"cacti-0.8.7e-3.fc11")) 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, "cacti");
    }
    
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_04104985D84611DE84E400215AF774F0.NASL
    descriptionThe cacti development team reports : The Cross-Site Scripting patch has been posted. This patch addresses cross-site scripting issues reported by Moritz Naumann.
    last seen2020-06-01
    modified2020-06-02
    plugin id42874
    published2009-11-24
    reporterThis script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/42874
    titleFreeBSD : cacti -- XSS issues (04104985-d846-11de-84e4-00215af774f0)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from the FreeBSD VuXML database :
    #
    # Copyright 2003-2018 Jacques Vidrine and contributors
    #
    # Redistribution and use in source (VuXML) and 'compiled' forms (SGML,
    # HTML, PDF, PostScript, RTF and so forth) with or without modification,
    # are permitted provided that the following conditions are met:
    # 1. Redistributions of source code (VuXML) must retain the above
    #    copyright notice, this list of conditions and the following
    #    disclaimer as the first lines of this file unmodified.
    # 2. Redistributions in compiled form (transformed to other DTDs,
    #    published online in any format, converted to PDF, PostScript,
    #    RTF and other formats) must reproduce the above copyright
    #    notice, this list of conditions and the following disclaimer
    #    in the documentation and/or other materials provided with the
    #    distribution.
    # 
    # THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS"
    # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
    # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
    # OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
    # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
    # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
    # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,
    # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(42874);
      script_version("1.12");
      script_cvs_date("Date: 2019/08/02 13:32:39");
    
      script_cve_id("CVE-2009-4032");
    
      script_name(english:"FreeBSD : cacti -- XSS issues (04104985-d846-11de-84e4-00215af774f0)");
      script_summary(english:"Checks for updated package in pkg_info output");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote FreeBSD host is missing a security-related update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The cacti development team reports :
    
    The Cross-Site Scripting patch has been posted.
    
    This patch addresses cross-site scripting issues reported by Moritz
    Naumann."
      );
      # http://docs.cacti.net/#cross-site_scripting_fixes
      script_set_attribute(
        attribute:"see_also",
        value:"https://docs.cacti.net/#cross-site_scripting_fixes"
      );
      # https://vuxml.freebsd.org/freebsd/04104985-d846-11de-84e4-00215af774f0.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?609061dd"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected package.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
      script_cwe_id(79);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:cacti");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:freebsd:freebsd");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2009/11/21");
      script_set_attribute(attribute:"patch_publication_date", value:"2009/11/23");
      script_set_attribute(attribute:"plugin_publication_date", value:"2009/11/24");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"FreeBSD Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/FreeBSD/release", "Host/FreeBSD/pkg_info");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("freebsd_package.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/FreeBSD/release")) audit(AUDIT_OS_NOT, "FreeBSD");
    if (!get_kb_item("Host/FreeBSD/pkg_info")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    
    if (pkg_test(save_report:TRUE, pkg:"cacti<0.8.7e4")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:pkg_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-1954.NASL
    descriptionSeveral vulnerabilities have been found in cacti, a frontend to rrdtool for monitoring systems and services. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2007-3112, CVE-2007-3113 It was discovered that cacti is prone to a denial of service via the graph_height, graph_width, graph_start and graph_end parameters. This issue only affects the oldstable (etch) version of cacti. - CVE-2009-4032 It was discovered that cacti is prone to several cross-site scripting attacks via different vectors. - CVE-2009-4112 It has been discovered that cacti allows authenticated administrator users to gain access to the host system by executing arbitrary commands via the
    last seen2020-06-01
    modified2020-06-02
    plugin id44819
    published2010-02-24
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/44819
    titleDebian DSA-1954-1 : cacti - insufficient input sanitising
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Debian Security Advisory DSA-1954. The text 
    # itself is copyright (C) Software in the Public Interest, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(44819);
      script_version("1.11");
      script_cvs_date("Date: 2019/08/02 13:32:22");
    
      script_cve_id("CVE-2007-3112", "CVE-2007-3113", "CVE-2009-4032", "CVE-2010-2543");
      script_bugtraq_id(37109);
      script_xref(name:"DSA", value:"1954");
    
      script_name(english:"Debian DSA-1954-1 : cacti - insufficient input sanitising");
      script_summary(english:"Checks dpkg output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Debian host is missing a security-related update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Several vulnerabilities have been found in cacti, a frontend to
    rrdtool for monitoring systems and services. The Common
    Vulnerabilities and Exposures project identifies the following
    problems :
    
      - CVE-2007-3112, CVE-2007-3113
        It was discovered that cacti is prone to a denial of
        service via the graph_height, graph_width, graph_start
        and graph_end parameters. This issue only affects the
        oldstable (etch) version of cacti.
    
      - CVE-2009-4032
        It was discovered that cacti is prone to several
        cross-site scripting attacks via different vectors.
    
      - CVE-2009-4112
        It has been discovered that cacti allows authenticated
        administrator users to gain access to the host system by
        executing arbitrary commands via the 'Data Input Method'
        for the 'Linux - Get Memory Usage' setting.
    
      There is no fix for this issue at this stage. Upstream will
      implement a whitelist policy to only allow certain 'safe' commands.
      For the moment, we recommend that such access is only given to
      trusted users and that the options 'Data Input' and 'User
      Administration' are otherwise deactivated."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=429224"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2007-3112"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2007-3113"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2009-4032"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2009-4112"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.debian.org/security/2009/dsa-1954"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "Upgrade the cacti packages.
    
    For the oldstable distribution (etch), these problems have been fixed
    in version 0.8.6i-3.6.
    
    For the stable distribution (lenny), this problem has been fixed in
    version 0.8.7b-2.1+lenny1."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_cwe_id(79);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cacti");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:4.0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:5.0");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2009/12/16");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/02/24");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Debian Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("debian_package.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian");
    if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    if (deb_check(release:"4.0", prefix:"cacti", reference:"0.8.6i-3.6")) flag++;
    if (deb_check(release:"5.0", prefix:"cacti", reference:"0.8.7b-2.1+lenny1")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:deb_report_get());
      else security_hole(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2009-12560.NASL
    descriptionThis fix contains several official patches from cacti: Command Line Add Graphs Syntax SNMP Invalid Responses Template Import/Export Duplication Cross-Site Scripting Fixes http://www.cacti.net/download_patches.php 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 id44878
    published2010-02-25
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/44878
    titleFedora 12 : cacti-0.8.7e-3.fc12 (2009-12560)

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/83264/cacti087e-xss.txt
idPACKETSTORM:83264
last seen2016-12-05
published2009-11-27
reporterMoritz Naumann
sourcehttps://packetstormsecurity.com/files/83264/Cacti-0.8.7e-Cross-Site-Scripting.html
titleCacti 0.8.7e Cross Site Scripting

Redhat

advisories
rhsa
idRHSA-2010:0635
rpms
  • GeoIP-0:1.4.7-0.1.20090931cvs.el5
  • GeoIP-debuginfo-0:1.4.7-0.1.20090931cvs.el5
  • GeoIP-devel-0:1.4.7-0.1.20090931cvs.el5
  • blacs-mvapich1-gnu-0:20000224-7
  • blacs-mvapich1-gnu-debuginfo-0:20000224-7
  • blacs-openmpi-gnu-0:20000224-9
  • blacs-openmpi-gnu-debuginfo-0:20000224-9
  • cacti-0:0.8.7g-1.1.el5
  • component-RHEL-OFED-0:5.5-2
  • component-RHEL-OFED-devel-0:5.5-1
  • component-base-installer-0:5.5-1
  • component-base-node-0:5.5-1
  • component-cacti-0:0.1-49
  • component-ganglia-agent-v3_0-0:3.0-3.el5
  • component-ganglia-server-v3_0-0:3.0-3
  • component-gnome-desktop-0:5.5-1
  • component-icr-facilitator-0:5.5-1
  • component-lava-compute-v1_0-0:1.0-6
  • component-mvapich1-libraries-0:0.1-4
  • component-nagios-installer-v2_12-0:2.12-4
  • component-ntop-v3_3-0:3.3-12
  • environment-modules-0:3.2.7b-7.el5
  • environment-modules-debuginfo-0:3.2.7b-7.el5
  • initrd-templates-0:5.5-1
  • iozone-0:3-5.el5
  • iozone-debuginfo-0:3-5.el5
  • kit-base-0:5.5-1
  • kit-cacti-0:0.8.7-47
  • kit-ganglia-0:3.0-8
  • kit-hpc-0:0.1-5
  • kit-lava-0:1.0-11
  • kit-nagios-0:2.12-6
  • kit-ntop-0:3.3-13
  • kit-rhel-ofed-0:5.5-1
  • kit-rhel_java-0:1.6.0-3.el5
  • kusu-appglobals-tool-0:5.5-1.el5
  • kusu-autoinstall-0:5.5-1
  • kusu-base-installer-0:5.5-2
  • kusu-base-node-0:5.5-1
  • kusu-base-node-debuginfo-0:5.5-1
  • kusu-boot-0:5.5-1
  • kusu-buildkit-0:5.5-1
  • kusu-core-0:5.5-1
  • kusu-driverpatch-0:5.5-1
  • kusu-hardware-0:5.5-1
  • kusu-installer-0:5.5-1
  • kusu-kitops-0:5.5-1
  • kusu-md5crypt-0:5.5-1
  • kusu-net-tool-0:5.5-1
  • kusu-networktool-0:5.5-1
  • kusu-nodeinstaller-0:5.5-1
  • kusu-nodeinstaller-patchfiles-0:5.5-1
  • kusu-path-0:5.5-1
  • kusu-release-0:5.5-1
  • kusu-repoman-0:5.5-1
  • kusu-ui-0:5.5-1
  • kusu-util-0:5.5-1
  • lava-0:1.0-10
  • lava-debuginfo-0:1.0-10
  • lava-devel-0:1.0-10
  • lava-master-config-0:1.0-10
  • lava-static-0:1.0-10
  • linpack-mvapich1-gnu-0:1.0a-7
  • linpack-openmpi-gnu-0:1.0a-6
  • nagios-plugins-0:1.4.14-1.1.el5
  • nagios-plugins-all-0:1.4.14-1.1.el5
  • nagios-plugins-apt-0:1.4.14-1.1.el5
  • nagios-plugins-breeze-0:1.4.14-1.1.el5
  • nagios-plugins-by_ssh-0:1.4.14-1.1.el5
  • nagios-plugins-cluster-0:1.4.14-1.1.el5
  • nagios-plugins-debuginfo-0:1.4.14-1.1.el5
  • nagios-plugins-dhcp-0:1.4.14-1.1.el5
  • nagios-plugins-dig-0:1.4.14-1.1.el5
  • nagios-plugins-disk-0:1.4.14-1.1.el5
  • nagios-plugins-disk_smb-0:1.4.14-1.1.el5
  • nagios-plugins-dns-0:1.4.14-1.1.el5
  • nagios-plugins-dummy-0:1.4.14-1.1.el5
  • nagios-plugins-file_age-0:1.4.14-1.1.el5
  • nagios-plugins-flexlm-0:1.4.14-1.1.el5
  • nagios-plugins-fping-0:1.4.14-1.1.el5
  • nagios-plugins-hpjd-0:1.4.14-1.1.el5
  • nagios-plugins-http-0:1.4.14-1.1.el5
  • nagios-plugins-icmp-0:1.4.14-1.1.el5
  • nagios-plugins-ide_smart-0:1.4.14-1.1.el5
  • nagios-plugins-ifoperstatus-0:1.4.14-1.1.el5
  • nagios-plugins-ifstatus-0:1.4.14-1.1.el5
  • nagios-plugins-ircd-0:1.4.14-1.1.el5
  • nagios-plugins-ldap-0:1.4.14-1.1.el5
  • nagios-plugins-linux_raid-0:1.4.14-1.1.el5
  • nagios-plugins-load-0:1.4.14-1.1.el5
  • nagios-plugins-log-0:1.4.14-1.1.el5
  • nagios-plugins-mailq-0:1.4.14-1.1.el5
  • nagios-plugins-mrtg-0:1.4.14-1.1.el5
  • nagios-plugins-mrtgtraf-0:1.4.14-1.1.el5
  • nagios-plugins-mysql-0:1.4.14-1.1.el5
  • nagios-plugins-nagios-0:1.4.14-1.1.el5
  • nagios-plugins-nrpe-0:2.12-12.1.el5
  • nagios-plugins-nt-0:1.4.14-1.1.el5
  • nagios-plugins-ntp-0:1.4.14-1.1.el5
  • nagios-plugins-nwstat-0:1.4.14-1.1.el5
  • nagios-plugins-oracle-0:1.4.14-1.1.el5
  • nagios-plugins-overcr-0:1.4.14-1.1.el5
  • nagios-plugins-perl-0:1.4.14-1.1.el5
  • nagios-plugins-pgsql-0:1.4.14-1.1.el5
  • nagios-plugins-ping-0:1.4.14-1.1.el5
  • nagios-plugins-procs-0:1.4.14-1.1.el5
  • nagios-plugins-radius-0:1.4.14-1.1.el5
  • nagios-plugins-real-0:1.4.14-1.1.el5
  • nagios-plugins-rpc-0:1.4.14-1.1.el5
  • nagios-plugins-sensors-0:1.4.14-1.1.el5
  • nagios-plugins-smtp-0:1.4.14-1.1.el5
  • nagios-plugins-snmp-0:1.4.14-1.1.el5
  • nagios-plugins-ssh-0:1.4.14-1.1.el5
  • nagios-plugins-swap-0:1.4.14-1.1.el5
  • nagios-plugins-tcp-0:1.4.14-1.1.el5
  • nagios-plugins-time-0:1.4.14-1.1.el5
  • nagios-plugins-udp-0:1.4.14-1.1.el5
  • nagios-plugins-ups-0:1.4.14-1.1.el5
  • nagios-plugins-users-0:1.4.14-1.1.el5
  • nagios-plugins-wave-0:1.4.14-1.1.el5
  • netcdf-0:3.6.2-7.el5
  • netcdf-debuginfo-0:3.6.2-7.el5
  • netcdf-devel-0:3.6.2-7.el5
  • nrpe-0:2.12-12.1.el5
  • nrpe-debuginfo-0:2.12-12.1.el5
  • ntop-0:3.3.9-7.1.el5
  • ntop-debuginfo-0:3.3.9-7.1.el5
  • pcm-0:1.2-6
  • pcm-kit-base-0:1.2-4
  • pcm-kit-hpc-0:1.0-22
  • pcm-kit-ntop-0:1.1-2
  • platform_mvapich-0:1.2.0-0.3635.1.el5
  • primitive-0:0.1.1-2
  • python-IPy-0:0.70-1.el5
  • python-psycopg2-0:2.0.14-1.el5
  • python-psycopg2-debuginfo-0:2.0.14-1.el5
  • python-psycopg2-doc-0:2.0.14-1.el5
  • python-psycopg2-zope-0:2.0.14-1.el5
  • scalapack-mvapich1-gnu-0:1.8.0-9
  • scalapack-mvapich1-gnu-debuginfo-0:1.8.0-9
  • scalapack-openmpi-gnu-0:1.8.0-9
  • scalapack-openmpi-gnu-debuginfo-0:1.8.0-9

Seebug

  • bulletinFamilyexploit
    descriptionNo description provided by source.
    idSSV:15105
    last seen2017-11-19
    modified2009-12-17
    published2009-12-17
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-15105
    titleNew cacti packages fix insufficient input sanitising
  • bulletinFamilyexploit
    descriptionNo description provided by source.
    idSSV:18336
    last seen2017-11-19
    modified2009-11-26
    published2009-11-26
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-18336
    titleCacti 0.8.7e: Multiple Security Issues