Bug 541279 - (CVE-2009-4032, CVE-2010-2543) CVE-2009-4032 CVE-2010-2543 cacti: Multiple cross-site scripting flaws
CVE-2009-4032 CVE-2010-2543 cacti: Multiple cross-site scripting flaws
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
http://www.cacti.net/downloads/patche...
impact=moderate,source=gentoo,reporte...
: Security
Depends On: 541684 541962
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-25 08:19 EST by Jan Lieskovsky
Modified: 2016-03-04 07:44 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2009-11-25 08:19:30 EST
Moritz Naumann reported multiple cross-site scripting (XSS)
flaws, present in the way Cacti web interface used to process
HTML form content. If a remote attacker could trick a local user
who is logged into Cacti into visiting a specially-crafted HTML
page, the attacker could retrieve and potentially modify
confidential Cacti data.

References:
-----------
http://www.cacti.net/download_patches.php
http://www.securityfocus.com/bid/37109/info
http://docs.cacti.net/#cross-site_scripting_fixes

Upstream patch:
---------------
http://www.cacti.net/downloads/patches/0.8.7e/cross_site_fix.patch

CVE Request:
------------
http://www.openwall.com/lists/oss-security/2009/11/25/2
Comment 1 Jan Lieskovsky 2009-11-25 08:21:32 EST
This issue affects the versions of the cacti package, as shipped with
Fedora releases of 10, 11, and 12 and as shipped within Extra Packages
for Enterprise Linux 4 (EPEL-4) and 5 (EPEL-5) projects.

Please fix.
Comment 2 Jan Lieskovsky 2009-11-25 14:10:16 EST
This is CVE-2009-4032.
Comment 3 Jan Lieskovsky 2009-11-26 07:27:41 EST
More elaborated description of each particular issue (including reproducers)
by Moritz Naumann is here:

  http://seclists.org/fulldisclosure/2009/Nov/291
Comment 6 Jan Lieskovsky 2009-11-30 08:56:54 EST
Mitre's CVE-2009-4032 record:
-----------------------------

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.
Comment 7 Fedora Update System 2009-12-01 11:17:25 EST
cacti-0.8.7e-3.el4 has been submitted as an update for Fedora EPEL 4.
http://admin.fedoraproject.org/updates/cacti-0.8.7e-3.el4
Comment 8 Fedora Update System 2009-12-01 11:17:35 EST
cacti-0.8.7e-3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/cacti-0.8.7e-3.fc11
Comment 9 Fedora Update System 2009-12-01 11:17:44 EST
cacti-0.8.7e-3.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/cacti-0.8.7e-3.el5
Comment 10 Fedora Update System 2009-12-01 11:17:53 EST
cacti-0.8.7e-3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/cacti-0.8.7e-3.fc10
Comment 11 Fedora Update System 2009-12-01 11:18:03 EST
cacti-0.8.7e-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/cacti-0.8.7e-3.fc12
Comment 12 Fedora Update System 2009-12-27 15:29:59 EST
cacti-0.8.7e-3.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 13 Fedora Update System 2010-01-03 16:04:00 EST
cacti-0.8.7e-3.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 14 Fedora Update System 2010-01-05 17:29:50 EST
cacti-0.8.7e-3.el4 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 15 Fedora Update System 2010-01-12 18:56:15 EST
cacti-0.8.7e-3.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 17 Tomas Hoger 2010-06-29 04:36:38 EDT
Upstream fix does not properly address XSS 4.  It adds validation for graph_start and graph_end, but that only happens after including include/top_graph_header.php, which may output those values without validation.
Comment 19 Tomas Hoger 2010-07-12 05:20:58 EDT
(In reply to comment #17)
> Upstream fix does not properly address XSS 4.  It adds validation for
> graph_start and graph_end, but that only happens after including
> include/top_graph_header.php, which may output those values without
> validation.

This is now fixed upstream in 0.8.7g:

http://cacti.net/release_notes_0_8_7g.php
http://svn.cacti.net/viewvc/cacti/branches/0.8.7/include/top_graph_header.php?r1=6025&r2=6024
http://svn.cacti.net/viewvc?view=rev&revision=6025
Comment 20 Tomas Hoger 2010-07-27 02:09:02 EDT
(In reply to comment #17)
> Upstream fix does not properly address XSS 4.  It adds validation for
> graph_start and graph_end, but that only happens after including
> include/top_graph_header.php, which may output those values without
> validation.

This got CVE-2010-2543.
Comment 21 errata-xmlrpc 2010-08-19 22:42:30 EDT
This issue has been addressed in following products:

  Red Hat HPC Solution for RHEL 5

Via RHSA-2010:0635 https://rhn.redhat.com/errata/RHSA-2010-0635.html

Note You need to log in before you can comment on or make changes to this bug.