Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug: default agent group becomes set to invalid value causing ACL violations
This was an interesting one and I can replicate it.

1. Perform recon task with preset 'basic monitoring'.
2. Chose newly added agent and attempt to click-to-edit the 'host alive' or 'host latency' module. Observe agent group is shown as a blank space on agent overview screen.
3. URL is diplayed similar to '' but a blank grey screen is shown.
4. Close browser tab and reopen portal. Observe event display shows:

ACL Violation            Attempt to access agent manager

5. Edit the agent and change the group to a value (e.g. 'servers').
6. Observe you can now edit the modules without errors.

This looks like the default group that the 'basic monitoring' scheme adds is some sort of invalid value that causes a spurious ACL violation?

I hope this report is of help.
Hello Cursorkeys,

It looks like the problem is the recon task allows to create agents on the "All" group. I think if you check the database, you would see an ID 0 on the group parameter, but you can't actually assign an agent to the "all" group.
I'll raise an internal ticket to resolve this little issue, the solution will be to NOT allow the recon task to assign ID 0 to the new created agents.

Thanks for the report!

Kind regards,
Hi Antonio,

Thank you very much for the quick response.

You are correct, 'id_grupo' in table 'tagente' is 0 on the problem agents. A quick UPDATE to 10 (unknown) has resolved the remaining problem agents without any more clicking Smile

Is it possible to put in a feature request that ACL violations cause an error message rather than just a grey screen too?

Many thanks,

Hello Jon,

Thanks for your contribution.
The ACL violation should actually show a warning message like this:

[Image: Acl.JPG]

Hi Antonio,

That's interesting. What I see is:

[Image: pandora_no_error.png]

I'll try to debug further!
It should be displayed right over that grey screen. Maybe something is preventing it to appear, could it be ADblock? Not sure tho, since I use it too and can't see the same problem.

Let us know if you find something!

Kind regards,
Hi Antonio,

Just to let you know I tried to work through this issue. I could see the AJAX call return successfully with the popup data in the network traffic but for some reason the popup wasn't then being displayed.

I've just updated Chrome and now I have popups. So it looks like this was Chome misbehaving somehow.

Best regards,


Users browsing this thread: 1 Guest(s)

(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | |

Theme © MyBB Themes