Cacti config_settings.php script SQL injection
| cacti-configsettings-sql-injection (21120) |
Description:
Cacti is vulnerable to SQL injection caused by improper validation of user-supplied input in the config_settings.php script in the graph creation tool. A remote attacker could send specially-crafted SQL statements to the config_settings.php script using the id variable, which would allow the attacker to add, modify, or delete data from the database or possibly gain unauthorized access to the administrative password.
Consequences:
Data Manipulation
Remedy:
Upgrade to the latest version of Cacti (0.8.6e or later), available from the Cacti Download Web page. See References.
As a workaround, ensure access to the Web server is limited to trusted hosts.
For Gentoo Linux:
Upgrade to the latest version of cacti (0.8.6e or later), as listed in GLSA 200506-20. See References.
For Debian GNU/Linux 3.1 (Sarge):
Upgrade to the latest version of cact (0.8.6c-7sarge2 or later), as listed in DSA-764-1. See References.
For Conectiva Linux 9.0 and 10.0:
Upgrade to the latest version of cacti (0.8.6f or later), as listed in Conectiva Linux Announcement CLSA-2005:978. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- Cacti Download Web page: Cacti.
- Conectiva Linux Security Announcement CLSA-2005:978: Security fixes for Cacti.
- iDEFENSE Security Advisory 06.22.05: Multiple Vendor Cacti Multiple SQL Injection Vulnerabilities.
- BID-14027: RaXnet Cacti Multiple SQL Injection Vulnerabilities
- BID-14128: RaXnet Cacti Input Filter Multiple SQL Injection Vulnerabilities
- CVE-2005-1525: SQL injection vulnerability in config_settings.php for Cacti before 0.8.6e allows remote attackers to execute arbitrary SQL commands via the id parameter.
- DSA-764: cacti -- several vulnerabilities
- GLSA-200506-20: Cacti: Several vulnerabilities
- OSVDB ID: 17424: Cacti config_settings.php id Variable SQL Injection
- SA15490: Cacti Multiple Vulnerabilities
- SECTRACK ID: 1014252: Cacti Input Validation Holes Let Remote Users Inject SQL Commands and Execute Arbitrary Commands
Platforms Affected:
- Cacti Cacti 0.8.6c
- Conectiva Linux 10
- Conectiva Linux 9.0
- Debian Debian Linux 3.0
- Debian Debian Linux 3.1
- Debian Debian Linux
- FreeBSD FreeBSD
- Gentoo Linux
Reported:
Jun 22, 2005
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
