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

Users can view unauthorised data via the sub-process form prefilled values #1563

Open
theo-ritense opened this issue Sep 20, 2024 · 0 comments

Comments

@theo-ritense
Copy link
Contributor

theo-ritense commented Sep 20, 2024

Sensitive data can be leaked via the form prefill when starting a new process from an unauthorised case.
This is the specific vulnerable endpoint:

  • /api/v1/process-definition/{processDefinitionId}/start-form?documentId={documentId}

Affected versions: Tested on next-minor (12.3.0), but presumably from > 11.0.0 onwards where PBAC was introduced.

Reproduction path on next-minor (local app/gzac instance):

  • Login as admin
  • create a case for leningen with an amount > 20000
  • copy the url
  • login as user
  • Navigate to the copied URL
  • Notice some errors while the button to start a sub-process is still available
  • Start a sub-process Lening aanvragen
  • Notice the form is prefilled with values the user should not have access to
@theo-ritense theo-ritense changed the title Users can view unauthorised data via the sub-process form prefilled values Users can view and edit unauthorised data via the sub-process form prefilled values Sep 20, 2024
@theo-ritense theo-ritense changed the title Users can view and edit unauthorised data via the sub-process form prefilled values Users can view unauthorised data via the sub-process form prefilled values Sep 20, 2024
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

No branches or pull requests

1 participant