Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Less critical

Cacti Multiple Vulnerabilities

-

Release Date:  2010-04-22    Last Update:  2012-01-10    Views:  4,009

Secunia Advisory SA39570

Where:

From remote

Impact:

Cross Site Scripting, Manipulation of data, System access

Solution Status:

Vendor Patch

Software:

CVE Reference(s):

Description


Some vulnerabilities have been reported in Cacti, which can be exploited by malicious users to compromise a vulnerable system and conduct script insertion attacks and by malicious people to conduct cross-site scripting and SQL injection attacks.

1) Input passed to the hostname when adding or editing a device or to the vertical label when adding or editing a graph template is not properly verified before being used, which can be exploited to inject and execute arbitrary shell commands.

Successful exploitation requires access to the graph templates or device sections.

2) Input passed to the "rra_id" parameter in graph.php (when "action" is set to "zoom", "local_graph_id" is set, and "rra_id" cookie is set) is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires permissions to view graphs.

3) Certain input is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

4) Input passed via the "graph_start" and "graph_end" parameters to graph.php is not properly sanitised before being returned to the user in include/top_graph_header.php. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

5) Input passed via the "filter" parameter to utilities.php (when "refresh" is set and "action" is set to "view_logfile") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

6) Input passed via multiple parameters to cdef.php, data_templates.php, data_input.php, data_queries.php, data_sources.php, graph_templates.php, graph_templates_inputs.php, graph_templates_items.php, gprint_presets.php, graphs.php, graph_view.php, graphs_new.php, host_templates.php, host.php, lib/html.php, lib/html_form.php, lib/html_form_template.php, lib/functions.php, lib/html_tree.php, lib/rrd.php, rra.php, tree.php, and user_admin.php is not properly sanitised before being displayed to the user. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site.

Successful exploitation requires certain privileges.

The vulnerabilities are reported in version 0.8.7e. Other versions may also be affected.


Solution:
Update to version 0.8.7g.

Provided and/or discovered by:
1) Nahuel Grisolia, Bonsai Information Security
2) Stefan Esser
3) The vendor credits Vupen
4) Moritz Naumann
5, 6) Marc Schoenefeld reported in a Red Hat Bug

Original Advisory:
Cacti:
http://www.cacti.net/release_notes_0_8_7g.php

Bonsai Information Security:
http://www.bonsai-sec.com/en/research/vulnerabilities/cacti-os-command-injection-0105.php

Stefan Esser:
http://php-security.org/2010/05/13/mops-2010-023-cacti-graph-viewer-sql-injection-vulnerability/index.html

Marc Schoenefeld:
https://bugzilla.redhat.com/show_bug.cgi?id=459105
https://bugzilla.redhat.com/show_bug.cgi?id=459229

Moritz Naumann:
http://archives.neohapsis.com/archives/fulldisclosure/2009-11/0292.html

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Cacti Multiple Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability