Skip to content
This repository has been archived by the owner on Aug 17, 2017. It is now read-only.

developers can easily bypass mass assignment protection without noticing #205

Open
OrlandoLee opened this issue Aug 15, 2014 · 1 comment

Comments

@OrlandoLee
Copy link

tainted information will not be passed when params[:user].symbolize_keys or params.to_hash (any method that may change the type) is called, because only ActionController::Parameters has permitted? method. So developers can easily accidentally bypass this strong parameter protection. Did strong parameter consider this?

@OrlandoLee OrlandoLee changed the title developers can easily bypass mass assignment protection developers can easily bypass mass assignment protection without noticing Aug 15, 2014
@thomasfedb
Copy link
Contributor

Hey @OrlandoLee. This is a compatibility gem for Rails versions prior to 4. Perhaps you should submit an issue against rails/rails to see if they consider this to be a security issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants