Testing business logic data validation
Business logic data validation errors occur due to a lack of server-side checks, especially in a sequence of events such as shopping cart checkouts. If design flaws such as thread issues are present, those flaws may allow an attacker to modify or change their shopping cart contents or prices prior to purchasing them, to lower the price paid.
Getting ready
Using the OWASP WebGoat application and Burp, we will exploit a business logic design flaw to purchase many large ticket items for a very cheap price.
How to do it...
- Ensure the
owaspbwa
VM is running. Select the OWASP WebGoat application from the initial landing page of the VM. The landing page will be configured to an IP address specific to your machine:
Figure 7.1 – VM landing page
- After you’ve clicked the OWASP WebGoat link, you will be prompted for some login credentials. Use these credentials—username:
guest
; password...