Course contentsShow
← Security
Lesson 943 of 3,05219. Web Security - Business Logic VulnerabilitiesFree lesson

Proxy-Based Business Logic Testing

Using Burp Suite and other proxies to intercept, replay, and modify requests to test business logic assumptions.

Proxy-Based Business Logic Testing

You'll learn how to use intercepting proxies to capture, modify, and replay requests to uncover business logic flaws.

What Is Proxy-Based Testing?

Proxy-based business logic testing means placing a tool like Burp Suite or OWASP ZAP between your browser and the application. This proxy intercepts every HTTP request and response, letting you pause, inspect, and modify them before they reach their destination.

Think of it like being a postal inspector who can open any letter, change its contents, reseal it, and send it on its way—all to see how the recipient reacts.

Why This Matters for Business Logic

Business logic flaws often hide in assumptions developers make about how users should behave. They might assume:

  • Users will follow steps in order
  • Prices won't be negative
  • Quantity fields will always be positive integers
  • Users won't replay old requests

A proxy lets you violate these assumptions intentionally by:

  • Changing parameter values (e.g., setting quantity to -5 or price to 0.01)
  • Skipping workflow steps (e.g., jumping from step 1 to step 4)
  • Replaying old requests to check for idempotency issues
  • Modifying hidden fields or identifiers

Core Workflow

  1. Intercept a legitimate request (e.g., "add item to cart")
  2. Modify parameters that the UI wouldn't normally allow (negative numbers, different user IDs, skipped steps)
  3. Forward the altered request to the server
  4. Observe the response—does the application accept invalid values? Does it perform unauthorized actions?

Example Scenario

You intercept a request: POST /checkout with amount=100.00. You change it to amount=-100.00 and replay it. If the application processes a negative charge (crediting your account), you've found a critical business logic flaw.

Key Takeaway: Proxies are essential for business logic testing because they let you manipulate requests in ways the UI prevents, exposing flawed assumptions in server-side validation and workflow enforcement.