Describe the bug
User can elevate themselves over their current permission level.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Edit a user such as change their location, reset their password, disable their account. But not grand them access rights above your own.
Server:
Further Information
I am hiding the sections that we are not currently using (such as components) so that the UI stays as clean and as simple to use as possible. This loop hole allows people that can edit users to also turn on the hidden sections of the software.
@tomholovis I tried to reproduce the result but was unsuccessful. I did the following since I am working from a vanilla install.
Let me know if there are additional permissions that need to be added to produce the result that you are experiencing.
@EarlRamirez thanks for testing this. I am also working on a fresh install (I am trying to create a template VM image).
I create the group "test group". And give the the same permissions as yourself.
I create the user "test" and assign them to "test group".
I login with a different browser as "test".
I then navigate to people and select the edit button on myself (the user "test").
I can then select the Permissions tab and give myself any permissions I want other than super user.
How is the behaviour that you see different? Can you also edit your own permissions?
@tomholovis, I just realise that I was on the vanilla version from https://github.com/EarlRamirez/snipeit_iso. I will upgrade from 4.6.5 to 4.7.6 and try again.
GitHub
Up and running with Snipe-IT. Contribute to EarlRamirez/snipeit_iso development by creating an account on GitHub.
Confirmed its a bug, sent an email to Snipe-IT security team as instructed here
Thanks. I missed that!
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
Did this get fixed?
Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
@EarlRamirez - did you spot if this got fixed?
Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
@snipe - did this get fixed?
Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
@snipe - did this get fixed?
Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.
I'll try this one more time. @snipe did this get fixed?
This is the last time I'm poking this thread as I'm not using the platform for future projects.
I believe this was fixed many versions ago.