Bitzu

CPSA ยท Web testing techniques

Parameter manipulation with an intercepting proxy

Intercepting and altering GET, POST, cookie and hidden parameters.

Key points

  • An intercepting proxy such as Burp Suite sits between browser and server so a tester can pause, read and edit each request before it is sent.
  • Everything the client sends is under the user's control: query-string and POST parameters, cookies, headers and hidden form fields.
  • Client-side checks (disabled fields, JavaScript validation, hidden prices or roles) are only convenience and must be re-enforced on the server.

Practice questions

Single choice

Why can a hidden form field not be trusted for security decisions?

  1. It is encrypted by the browser
  2. The client controls the value and can change it before submission
  3. It is removed by HTTPS
  4. It is read-only for proxies
Show answer

Answer: B. The client controls the value and can change it before submission

Hidden only means not displayed; the value is sent by the client and can be edited with a proxy or developer tools.

Select all that apply

Which request elements can a tester alter with an intercepting proxy?

  1. Query-string parameters
  2. Cookie values
  3. POST body fields, including hidden ones
  4. Server-side session store contents directly
  5. The server's response before it is generated
Show answer

Answer: A. Query-string parameters, B. Cookie values, C. POST body fields, including hidden ones

Everything in the request is client-controlled: URL parameters, cookies and body fields. The server's own database contents are not part of the request.

True or false

A form field marked disabled or readonly in the HTML cannot be changed by a user.

Show answer

Answer: False

False. These attributes only affect the browser UI; the request can be edited in a proxy or recreated manually.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CPSA topics in this module