CookTrace before 1.5.0-dev01 contains a missing authorization vulnerability in the POST /api/shopping/from-recipe/:id endpoint that allows authenticated users to bypass recipe ownership and sharing checks. Attackers can iterate numeric recipe IDs to copy ingredient names, quantities and units from other users' private recipes into their own shopping list.
https://github.com/TraceApps/cooktrace/releases/tag/v1.5.0-dev01
https://github.com/TraceApps/cooktrace/issues/110
https://github.com/TraceApps/cooktrace/commit/1455407b5a9ef934a6c61e0c168e0e6eeb05da16
https://github.com/TraceApps/cooktrace/commit/138d43d5e5a8897a83eef4a3f0039bb486b4581b