elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.58k stars 8.1k forks source link

[Security Solution]RBAC: User able to add and Delete Note on Security Set to READ Access #188290

Closed karanbirsingh-qasource closed 3 weeks ago

karanbirsingh-qasource commented 1 month ago

Describe the bug RBAC: User able to add and Delete Note on Security Set to READ Access

Kibana/Elasticsearch Stack version

Version: 8.15.0
Commit: c616ed3da09e04c766be0d791373dc78c1231e12
Build:  76008

Preconditions

Elasticsearch index privilege:

index : * privilege: read write view_index_metadata manage

Kibana Space privilege: All Space Bulk Action: All access to all feature Set Security to None

image

Steps to reproduce

Additional update

image

Expected Result

Screen-Cast

https://github.com/user-attachments/assets/bdf4a5d0-4915-4cc1-afef-596f7162b3c8

elasticmachine commented 1 month ago

Pinging @elastic/security-solution (Team: SecuritySolution)

amolnater-qasource commented 1 month ago

Reviewed & assigned to @MadameSheema

elasticmachine commented 1 month ago

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

elasticmachine commented 1 month ago

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

janmonschke commented 1 month ago

For context, the note is not actually persisted. When the page is reloaded, the note is gone. The backend is making sure the permissions are taken into account. The frontend however is not regarding the permissions yet.

janmonschke commented 1 month ago

@karanbirsingh-qasource The was fixed and merged to main and 8.15 yesterday.

karanbirsingh-qasource commented 3 weeks ago

Hi @MadameSheema

we have validated this issue and found the issue to be fixed ✔️

Build Details:

VERSION: 8.15.0 BC6
BUILD: 76360
COMMIT: 8aa0b59da12c996e3048d8875446667ee6e15c7f

Screen-Shot

image

Hence we are closing this issue and adding "QA:Validated" tag to it.

thanks!!