Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix public link resharing #3023

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Conversation

kobergj
Copy link
Contributor

@kobergj kobergj commented Jul 1, 2022

See here owncloud/ocis#3881 or here owncloud/ocis#4061

Basically privilege escalation was possible through public links and resharing

@kobergj kobergj requested review from a team, labkode, ishank011 and glpatcern as code owners July 1, 2022 09:45
@butonic
Copy link
Contributor

butonic commented Jul 1, 2022

hm, shouldn't the public link share manager prevent elevating permissions? With this approach you are just shadowing a broken implementation, aren't you?

@kobergj
Copy link
Contributor Author

kobergj commented Jul 1, 2022

@butonic I sticked to same implementation as for normal shares. Permissions are checked within the ocs handler. As of now the share manager doesn't care about permissions.

@butonic
Copy link
Contributor

butonic commented Jul 1, 2022

YOLO 😞

@butonic butonic merged commit 7c36bd5 into cs3org:edge Jul 1, 2022
@kobergj kobergj deleted the FixPubliclinkResharing branch July 1, 2022 13:22
kobergj added a commit that referenced this pull request Jul 7, 2022
kobergj added a commit to kobergj/reva that referenced this pull request Jul 11, 2022
kobergj added a commit to kobergj/reva that referenced this pull request Jul 14, 2022
@kobergj kobergj mentioned this pull request Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants