Parameter Tampering: Troy Hunt @troyhunt
Parameter Tampering: Troy Hunt @troyhunt
Troy Hunt
troyhunt.com
@troyhunt
Outline
Email=troyhunt%40hotmail.com&Password=passw0rd&RememberMe=true
Understanding models
Automatically binding a form to a model
Always assume that all aspects of an HTTP request can be – and will be
– manipulated by attackers
Verb, path, protocol, accept headers, user agent, referrer, accept language,
cookies, request body
Don’t rely on controls that depend on the browser to implement them
Validation, for example, must still occur on the server
Be conscious of where risks might be present in automated processes
Watch out for model binding and mass assignment risks
Consider which verbs should be allowed on each resource
Automate your testing
Fuzzing is a very simple way to get started with automation