Fix idor movies - #329
Open
Sairaj2033 wants to merge 4 commits into
Open
Conversation
|
@Sairaj2033 is attempting to deploy a commit to the srv30's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
|
@SRV30 U can review |
Owner
Hey @Sairaj2033 , please resolve the merge conflicts |
Owner
|
Owner
|
Hi @Sairaj2033 , any progress? |
Owner
|
Hey @Sairaj2033 , please resolve the merge conflicts |
Contributor
Author
@SRV30 Okay |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked Issue
Fixes #251
Description
Critical Security Patch: Resolved an Insecure Direct Object Reference (IDOR) vulnerability across multiple movie controllers (
releaseMovie,getMovieDetails,getMovieTracking, andaddMarketingCampaign).Previously, these controllers fetched documents using only
findById(), failing to verify if the requesting user actually owned the target movie. This allowed authenticated users to read, manipulate, and even run marketing campaigns on movies belonging to other studios. The queries have been updated to enforce ownership checks at the database level by requiring matchingstudioIdfields.Type of Change
Contributor for ECSoC & ELUSOC 2026