SQL injection vulnerability in the host_new_graphs_save function in graphs_new.php in Cacti 0.8.8f and earlier allows remote authenticated users to execute arbitrary SQL commands via crafted serialized data in the selected_graphs_array 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://www.debian.org/security/2016/dsa-3494 | vendor advisory |
http://www.securitytracker.com/id/1034498 | vdb entry |
http://seclists.org/fulldisclosure/2015/Dec/57 | mailing list exploit |