Skip to content

Instantly share code, notes, and snippets.

@joeRinehart
Created August 15, 2012 16:03
Show Gist options
  • Save joeRinehart/3361227 to your computer and use it in GitHub Desktop.
Save joeRinehart/3361227 to your computer and use it in GitHub Desktop.
Grails Data Binding Vuln
// If user has 'firstname', and the form has a 'firstname' input, it'll be assigned
userInstance.properties = params
// Only let the user set first and last name!
userInstance.properties[ 'firstname', 'lastname' ] = params
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment