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: throw error on bad pCt parameter (security issue) #2841

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

bjagg
Copy link
Member

@bjagg bjagg commented Aug 29, 2024

Checklist
Description of change

Client reported that security scans have reported that the pCt parameter that usually takes the fname of a portlet returns a 200 code if that is set to a file path. While it does not deliver files, the 200 code is an issue. Failure to find an fname is either an consistency issue or someone hacking.

Fix is to throw the exception (rather than swallow it) when the pCt specified portlet is not found.

@bjagg bjagg added the bug label Aug 29, 2024
@bjagg bjagg requested review from Naenyn and loulou2u August 29, 2024 01:28
@bjagg bjagg self-assigned this Aug 29, 2024
@bjagg bjagg merged commit 56ebc5e into uPortal-Project:master Sep 9, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants