SQL injection in Cacti - CVE-2016-3659
Published: April 11, 2016 / Updated: August 3, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the host_group_data parameter. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
Affected software
Amazon Linux AMI
Fedora
cacti (Alpine package)
cacti
How to mitigate CVE-2016-3659
cacti (Alpine package) - update to 0.8.8g-r0
cacti - addressed in versions 0.8.8h-1.el6, 0.8.8h-1.el7, 0.8.8h-1.fc22, 0.8.8h-1.fc23, 0.8.8h-1.fc24
External References
- http://bugs.cacti.net/view.php?id=2673
- http://lists.opensuse.org/opensuse-updates/2016-05/msg00074.html
- http://packetstormsecurity.com/files/136547/Cacti-0.8.8g-SQL-Injection.html
- http://seclists.org/fulldisclosure/2016/Apr/4
- http://www.securityfocus.com/bid/85806
- https://security.gentoo.org/glsa/201607-05