Comment

Comment by Polylactic_acid

The unscoped find issue is fairly easily solved by using devise's current_user in combination with something like cancancan. Let them send anything as a param but have the controller blow up if the user doesn't have permission to access it.

I suspect an insane number of websites are validated only by the frontend and can be exploited like this.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton