Cacti top_graph_header.php file include
| cacti-topgraphheader-file-include (21118) |
Description:
Cacti could allow a remote attacker to include malicious PHP files caused by improper validation of user-supplied input in the top_graph_header.php script. A remote attacker could send a specially-crafted URL to the top_graph_header.php script using the library_path variable to include a malicious file from a remote system which would enable the attacker to execute arbitrary code on the vulnerable system.
Platforms Affected:
- Cacti, Cacti 0.8.6d
- Compaq, Tru64 4.0
- Conectiva, Linux 10
- Conectiva, Linux 9.0
- Debian, Debian Linux 3.0
- Debian, Debian Linux 3.1
- Gentoo, Linux
Remedy:
Upgrade to the latest version of Cacti (0.8.6e or later), available from the Cacti Download Web page. See References.
For Debian GNU/Linux 3.1 (Sarge):
Upgrade to the latest version of cacti (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 Security Announcement CLSA-2005:978. See References.
Conectiva Linux 10.0: 2.0.49
Conectiva Linux 9.0: 2.0.45
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-06-20 for patch, upgrade, or suggested workaround information. See References.
Consequences:
Gain Access
References:
- Cacti Download Web page, Cacti at http://www.cacti.net/.
- Conectiva Linux Announcement CLSA-2005:978, Security fixes for Cacti at http://distro.conectiva.com/atualizacoes/index.php?id=a&anuncio=000978.
- iDEFENSE Security Advisory 06.22.05, Multiple Vendor Cacti Remote File Inclusion Vulnerability at http://www.idefense.com/application/poi/display?id=265&type=vulnerabilities.
- BID-14030: RaXnet Cacti Top_Graph_Header.PHP Remote File Include Vulnerability
- BID-14129: RaXnet Cacti Graph_Image.PHP Remote Command Execution Variant Vulnerability
- CVE-2005-1524: PHP file inclusion vulnerability in top_graph_header.php in Cacti 0.8.6d and possibly earlier versions allows remote attackers to execute arbitrary PHP code via the config[library_path] parameter.
- DSA-764: cacti -- several vulnerabilities
- GLSA-200506-20: Cacti: Several vulnerabilities
- SA15490: Cacti Multiple Vulnerabilities
- SECTRACK ID: 1014252: Cacti Input Validation Holes Let Remote Users Inject SQL Commands and Execute Arbitrary Commands
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
