0

Today, I found some weird permission fault/bugs of SharePoint 2013/ Office 365.

We have one portal site collection, which contains sub-sites like HR, IT etc.

Where all users have full control on Root site and HR sub-site having unique permissions. Only HR Group will access HR sub-site.

For example, I (Hemant) does not have any permission on HR site. But having full permissions on Root site.

Created one sample SharePoint Designer Workflow. Which contains App Step activity, which requires you to wrap any actions in your workflow that require elevated permissions on root level site.

Activation of this feature is necessary for the App Step to become available for use in SharePoint Designer 2013:

Above feature activation will generate app identifier number. We can get that from Site Settings-> Site App Permission.

Now, above app identified needs to be configured in HR sub-site as below

https://rootsite/sites/HR/_layouts/ 15/appinv.aspx

Now we will start hacking!!!

Once the above steps are configured. Then any users who has the full controls on root site can configure SPD workflow and by using App Step activity in SPD workflow, user can perform read/write/delete operations on sub-site even if user does not have any access on sub-site.

For example, Hemant doesn’t have access on HR sub-site and he has full control on root web. So he can create SPD workflow and by using App Step activity in workflow, he is able to read data from sub-site and even he is able to delete entire sub site by using HTTP web service call in App Step activity.

Now we will move to SharePoint designer to configure the workflow on root site list with app step which will read sub-site’s title by using HTTP web service call.

I know App Step provides facility to run SPD activity under Service Account user. But by performing the above operations, you can see that user who does not have permission on sub-site, can perform any operations on the sub-site by creating the SPD workflow on the root web once the workflow app identifier is configured.

Should Microsoft SharePoint 2013 have to provide some solution so user with limited permission cannot create workflow with App Step?

Otherwise user who has permission on root web can delete the sub-site by creating workflow once the workflow app identifier is configured.

Also posted the same thread on Microsoft technet to get more feedback: https://social.technet.microsoft.com/Forums/en-US/3382a54d-7fff-4ca3-893a-49f1c2f70d0c/without-permissions-you-can-perform-readwritedelete-operations-on-sharepoint-2013?forum=sharepointcustomization

Find more details on office 365 community: https://community.office365.com/en-us/f/148/t/411719

Please provide your views !!

Thanks,

?width=699?width=600?width=600?width=750?width=750?width=750

(Visited 193 times, 1 visits today)
Add a Comment