Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If Grafana is unable to connect to the datasource and has public mode enabled, zabbix credentials are viewable in plain text #450

Closed
1 of 3 tasks
Just-Insane opened this issue Aug 28, 2017 · 1 comment

Comments

@Just-Insane
Copy link

I'm submitting a ...

  • Bug report
  • Feature requestdd
  • Question / Support request

If you don't send bug report, remove sections below

For bug report please include this information:

Software Versions

Grafana Zabbix Grafana-Zabbix Plugin
4.2.0 3.2.7 3.3.0

What did you do?

If Grafana is available in public mode (auth.anonymous) and Zabbix is unable to be reached, there will be an error message (red flag in top left corner of panels that use Zabbix. If you click on this panel, and go to the request tab, it is possible to see the output of the request to the zabbix API, which contains cleartext usernames and passwords for the zabbix instance.

What was the expected result?

Cleartext usernames and passwords should not be visible, even during a fault.

What happened instead?

Cleartext usernames and passwords, as well as API URIs are available in cleartext during an error.

screen shot 2017-08-27 at 11 30 53 pm

@alexanderzobnin
Copy link
Collaborator

That's how Zabbix api works, unfortunately. See #380 for details. Good solution is moving auth-related queries to backend, but I can't do it until we implement backend plugins in Grafana.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants