pentesting, updated

Testing for HTTP parameter pollution

Check how the app handles a parameter submitted more than once — different frameworks pick different values, which can bypass filters.

Goal

Confirm supplying a parameter twice can’t bypass a filter applied to only one of the values, or desync front-end/back-end parsing.

How to test

Submit the same parameter twice with different values and see which one wins — then try it against a filtered/validated parameter specifically:

curl -s "https://example.com/transfer?amount=10&amount=10000"
curl -s "https://example.com/search?category=safe&category=<script>alert(1)</script>"

What to look for

A value that bypasses validation because the validator checked the first occurrence while the backend logic used the last (or vice versa), or a WAF/validator and app disagreeing on which value is “the” value.

References

§ home
~/knubertus/home/
1,1 Top