Skip to main content
print this page

User able to access API endpoint without required permissions.

· 2 min read
Fix Available
Fix Available
This bug has been fixed

In amorphic we have different set of permissions to access different components and features. This permissions are given to an amorphic role and user who have access to these role can use those features. This bug is relate to an issue that is users were able to call specific APIs and use those features in Amoprhic even if their role doesn't have the required permission.

Affected Versions: 2.6.1 and below

Fix Version: 2.7

Root cause(s)

Users were able to call few api endpoints with a role which doesn't have permission to call those endpoints. The APIs endpoints and requrired permissions to call these endpoint are

API endpointRequired permissions
/verticalsverticals.list, vertical.view, vertical.update
/datasets/{id}/dataloadsdatasets.list, users.list, groups.list
/dr-informationsystemhealth.view

The users could call these endpoints even with a role which doesn't have above mentioned permissions.

Impact

Any users could call these endpoints mentions in Root cause(s) section with any role they have assigned to.

Mitigation

Fix available

Fix will be available in Amorphic version 2.7.

Timeline

gantt
title Timeline
dateFormat YYYY-MM-DD
tickInterval 7day
axisFormat %b-%d
todayMarker off
section Tracker
%% update the ticket number and date of bug report
CLOUD-4917 : done, 2024-08-29, 0d
section Identification
Reported : crit, des1, 2024-08-29, 0d
section Mitigation
%% Update number of days took for each step below
Bug fixed: milestone, 2024-09-01, 1d
section Delivery
%% update the date of each step below
testing complete: milestone, 2024-09-27, 1d
fix available: milestone, 2024-10-14, 1d
  • 2024-08-29: Bug reported/identified (CLOUD-4917)
  • 2024-08-29: Bug triaged
  • 2024-09-01: Bug fixed
  • 2024-09-27: Testing of fix is completed
  • 2024-10-14: Amorphic version 2.7 released with the bugfix