Skip to content

Commit

Permalink
add business logic
Browse files Browse the repository at this point in the history
  • Loading branch information
xanhacks committed Dec 20, 2022
1 parent 3b2bedb commit e810d46
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/web/business-logic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Business logic vulnerability

## Definition

Business logic vulnerabilities are weaknesses in the way a business system or application is designed or implemented that can be exploited by attackers to gain unauthorized access to resources, disrupt business processes, or steal sensitive data.

To protect against business logic vulnerabilities, it is important to follow best practices for secure application design and implementation, including input validation, access control, secure data storage, and strong authentication and authorization controls.

## Examples

- Buy products with negative quantity
- Change email in setting to `@company`
- Apply Coupon1, then Coupon2, then 1, then 2, ...
- Price that goes over 2,147,483,647, and go negative
- Length of email > 255 (bypass end of domain)
- "[email protected]" (255 len) + ".evil.com"
- Omit current password input
- Bypass verification, add to cart -> verif amount -> add to cart -> confirm order
- Drop request to select low priv roles
- Cryptography oracle to encrypt/decrypt

0 comments on commit e810d46

Please sign in to comment.