Cacti session security

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

gstead
Posts: 4
Joined: Thu Feb 01, 2007 10:42 am

Post by gstead »

Edit: deleted b/c phpBB choked on the quote.
Last edited by gstead on Fri Feb 02, 2007 3:44 pm, edited 1 time in total.
gstead
Posts: 4
Joined: Thu Feb 01, 2007 10:42 am

Post by gstead »

As I said above, I believe this is a feature, not a bug. It appears the developers wanted users to have guest access to charts by default. Looking at the history of the source files, this behavior has been in the code for years. If you dig a little, the manual explains the behavior:
By default this user only has rights to view, but not change all graphs. This enables any unauthenticated user to visit graph_view.php and view your graphs. This behavior can be changed by either changing the realm permissions for the "guest" user, or disabling the guest user altogether under Cacti Settings.
This feature probably helps a good many Cacti admins, because they don't have to do any work to share their graphs with others.

However, if your desire is to operate a closed system, then it's easy to be misled because the behavior runs counter to what you'd expect: on most systems, a guest must login to have access. Guests wouldn't be automatically logged in for certain pages, as they are with Cacti.

The behavior is easy to change once you understand it. I would vote to add a note to this effect during installation and probably a disclaimer in the User Management section.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Next major release will have this feature disabled by default.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
da10us
Posts: 13
Joined: Thu Jan 25, 2007 4:48 am

Post by da10us »

Okay, problem is clear and I believe it is by design:

- Pasting the URL (from admin account) does not show Console tab.
- Removing the guest account stops this behaviour and show a welcome login screen :-)

Btw: I wasnt criticizing the Cacti project. I love this marvelous tool! I never thought about security and this software is running on a server which needs al the security there is. So maybe somebody can tell how to use cacti in perspective to security.

Also a tip: In the gui of Barracudas spam-firewall you can set ip addresses to restrict access to the console functionality. I dont see much harm in reading rrd files and draw graphs from it (what basicly happens when in user mode I presume?). Maybe its easy to implement and in some extend better for security?

Tanks for helping out with this matter!

Cheers,

Martijn
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest