SQL injection vulnerability in the host_new_graphs function in graphs_new.php in Cacti 0.8.8f and earlier allows remote authenticated users to execute arbitrary SQL commands via the cg_g parameter in a save action.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://security.gentoo.org/glsa/201607-05 | vendor advisory |
http://bugs.cacti.net/view.php?id=2652 | exploit |
http://www.securitytracker.com/id/1034573 | vdb entry |
http://www.openwall.com/lists/oss-security/2016/01/04/8 | mailing list |
http://packetstormsecurity.com/files/135191/Cacti-0.8.8f-graphs_new.php-SQL-Injection.html | exploit |
http://seclists.org/fulldisclosure/2016/Jan/16 | mailing list exploit |
http://www.openwall.com/lists/oss-security/2016/01/04/9 | mailing list |
http://www.debian.org/security/2016/dsa-3494 | vendor advisory |