Input Validation



Description

We check for all input to see if the application can validate only required inputs. So no alphabets in a phone number or no file larger than 1mb.


Examples/Methods/Results

Burp Suite

The following example shows the that 100kb or larger file couldn’t be uploaded

No image found

Then a smaller file was inserted and the request intercepted by burp suite. We may see the data of the file on the intercepted request. Specifically “this is just a test”

No image found

Then the filer was changed on the repeater to a file with data over 100kb. The small file had “This is just a test” sentence in it. So change the sentence to 100* this is just a test.

No image found

This shows that the validation was only done on the UI.

No image found

Checklist

Things to consider:

No image found

Further Readings

Owasp Input validation
PortSwingger