Cacti Cross-Site Scripting and SQL Injection Vulnerabilities
Description
Multiple vulnerabilities have been reported in Cacti, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.
1) Input passed via the "drp_action" parameter to host.php (when "action" is set to "actions") 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.
2) Input passed via the "referer" parameter to "graph_settings.php" 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.
Note: This can further be exploited to conduct spoofing attacks.
3) Input passed via the "login_username" to the login page is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerabilities are reported in version 0.8.7g. Prior versions may also be affected.