Gentoo Archives: gentoo-announce

From: Matthias Geerdsen <vorlon@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200701-23 ] Cacti: Command execution and SQL injection
Date: Fri, 26 Jan 2007 15:56:10
Message-Id: 45BA0205.9010909@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200701-23
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: Cacti: Command execution and SQL injection
9 Date: January 26, 2007
10 Bugs: #159278
11 ID: 200701-23
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 Cacti has three vulnerabilities that could allow shell command
19 execution or SQL injection.
20
21 Background
22 ==========
23
24 Cacti is a web-based network graphing and reporting tool.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 net-analyzer/cacti < 0.8.6i-r1 >= 0.8.6i-r1
33
34 Description
35 ===========
36
37 rgod discovered that the Cacti cmd.php and copy_cacti_user.php scripts
38 do not properly control access to the command shell, and are remotely
39 accessible by unauthenticated users. This allows SQL injection via
40 cmd.php and copy_cacti_user.php URLs. Further, the results from the
41 injected SQL query are not properly sanitized before being passed to a
42 command shell. The vulnerabilities require that the
43 "register_argc_argv" option is enabled, which is the Gentoo default.
44 Also, a number of similar problems in other scripts were reported.
45
46 Impact
47 ======
48
49 These vulnerabilties can result in the execution of arbitrary shell
50 commands or information disclosure via crafted SQL queries.
51
52 Workaround
53 ==========
54
55 There is no known workaround at this time.
56
57 Resolution
58 ==========
59
60 All Cacti users should upgrade to the latest version:
61
62 # emerge --sync
63 # emerge --ask --oneshot --verbose ">=net-analyzer/cacti-0.8.6i-r1"
64
65 References
66 ==========
67
68 [ 1 ] CVE-2006-6799
69 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6799
70
71 Availability
72 ============
73
74 This GLSA and any updates to it are available for viewing at
75 the Gentoo Security Website:
76
77 http://security.gentoo.org/glsa/glsa-200701-23.xml
78
79 Concerns?
80 =========
81
82 Security is a primary focus of Gentoo Linux and ensuring the
83 confidentiality and security of our users machines is of utmost
84 importance to us. Any security concerns should be addressed to
85 security@g.o or alternatively, you may file a bug at
86 http://bugs.gentoo.org.
87
88 License
89 =======
90
91 Copyright 2007 Gentoo Foundation, Inc; referenced text
92 belongs to its owner(s).
93
94 The contents of this document are licensed under the
95 Creative Commons - Attribution / Share Alike license.
96
97 http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature