Cacti through 1.2.7 is affected by a graphs.php?template_id= SQL injection vulnerability affecting how template identifiers are handled when a string and id composite value are used to identify the template type and id. An authenticated attacker can exploit this to extract data from the database, or an unauthenticated remote attacker could exploit this via Cross-Site Request Forgery.
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://www.darkmatter.ae/xen1thlabs/ | broken link |
https://github.com/Cacti/cacti/issues/3025 | third party advisory patch |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947374 | third party advisory issue tracking |
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00001.html | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00005.html | vendor advisory |
https://security.gentoo.org/glsa/202003-40 | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00042.html | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00048.html | vendor advisory |