[Security Solution] [Bug] Alerts allow write actions to read-only users #171905
Labels
bug
Fixes for quality problems that affect the customer experience
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Team:Threat Hunting:Investigations
Security Solution Investigations Team
Describe the bug:
Alerts write actions are available and working for roles without write Security feature privilege.
Steps to reproduce:
all
index and kibana privileges, except forread
access to Security in the Kibana privileges.Current behavior:
Open, close, ack, and alert tags are all available
Expected behavior:
Open, close, ack, and alert tags should be hidden
Additional information:
Related to this issue: #169684
The fix does not check the Kibana feature privileges, which is necessary to prevent the authorization bug. The current logic is checking index privileges only, which is actually not strictly necessary, since ES itself will reject write operations to the index if the write privilege is not granted, and the error would pop up in the UI.
Screenshots:
Role definition:
Demo:
alerts_bug_readonly_privilege.mov
The text was updated successfully, but these errors were encountered: