In-depth lesson · Business logic
Root causes
Every point the Business logic reports back under this heading, best-backed first, each with the reports it is seen in.
-
The server trusted client-side validation and did not revalidate or normalise the phone number before checking if it had been used.
Seen in 1 report
-
The server trusted client-supplied amount and rounding fields instead of recalculating the charge from the cart.
Seen in 1 report
-
The server trusted client-supplied amount and threshold values and did not verify that a payment had succeeded before updating the balance.
-
The server trusted client-supplied amount parameters and an encoded payment amount without re-validating them against the intended purchase price.
Seen in 1 report
-
The server trusted client-supplied bitcoin and fiat amounts without checking consistency.
-
The server trusted client-supplied currency and country parameters without validating them against the expected fee.
Seen in 1 report
-
The server trusted client-supplied dates without checking that the start precedes the end.
-
The server trusted client-supplied email and username fields without verifying ownership or requiring confirmation.
Seen in 1 report
-
The server trusted client-supplied encoded price values without checking them against the real product price.
-
The server trusted client-supplied numeric topping parameters without validating availability at the user's location.
Seen in 1 report
-
The server trusted client-supplied parameters and a client-generated request identifier instead of validating entitlements and enforcing limits server-side.
Seen in 1 report
-
The server trusted client-supplied pricing or plan data during the subscription upgrade instead of recalculating the price from its own records.
-
The server trusted client-supplied product codes for size and modifier pricing without validating the relationship to the total.
Seen in 1 report
-
The server trusted client-supplied seat quantity and price without validating against product data.
-
The server trusted client-supplied values for payment status and price instead of determining them itself.
Seen in 1 report
-
The server trusted fee values submitted in the HTTP request instead of recalculating the court fee from its own records.
Seen in 1 report
-
The server trusted submitted answer values without validating them against the question's defined options.
Seen in 1 report
-
The server trusted the client quantity and reserved stock at checkout initiation without enforcing the limit or requiring payment.
Seen in 1 report
-
The server trusted the client to enforce the paid-feature restriction instead of checking entitlement on the server.
-
The server trusted the client's requested redemption amount instead of checking it against the stored points balance.
-
The server trusted the client-side disabled state and did not enforce authorisation checks on the underlying request.
Seen in 1 report
-
The server trusted the client-side dropdown restriction and did not validate the submitted birthdate year.
Seen in 1 report
-
The server trusted the client-supplied amount parameter without checking it against the real cart total stored server-side.
-
The server trusted the client-supplied currency parameter to recalculate the price but did not update or validate the currency used at checkout.
Seen in 1 report
-
The server trusted the client-supplied expiry value without validating it was a real future date within range.
-
The server trusted the client-supplied legal type value without validating it against the list of permitted options.
Seen in 1 report
-
The server trusted the client-supplied minimum bounty value without validating it against the user's average payout.
-
The server trusted the client-supplied payment amount without revalidating it against the actual cost of the gift card.
Seen in 1 report
-
The server trusted the client-supplied plan amount and did not verify it against the actual plan price.
Seen in 1 report
-
The server trusted the client-supplied product identifier and did not validate the price server-side.
-
The server trusted the client-supplied role value and checked the seat quota without an atomic lock.
Seen in 1 report
-
The server trusted the client-supplied upload type and processed a URL as if it were a file upload.
Seen in 1 report
-
The server trusted the client-supplied X-Forwarded-For header to identify the user's IP address for rate-limiting and CAPTCHA enforcement.
Seen in 1 report
-
Medium
-
-
The server trusted the discount amount supplied in the request instead of recalculating it from the promo code.
-
The server trusted the display name supplied in the send request without re-checking it against the same character and policy restrictions.
Seen in 1 report
-
The server trusted the email supplied in the reset request instead of binding it to the address the user entered.
Seen in 1 report
-
The server trusted the vote value sent by the client and did not validate or cap it server-side.
Seen in 1 report
-
The server trusted the X-Forwarded-For header to identify the client when enforcing a per-IP rate limit.
Seen in 1 report
-
The server trusted user-supplied sender and recipient addresses without verifying the sender controlled the claimed address.
-
The server trusts a client-supplied date parameter to decide whether a message is still editable.
Seen in 1 report
-
The server trusts a client-supplied plan identifier and does not verify that the requested plan is permitted for the account.
Seen in 1 report
-
The server trusts a client-supplied premium parameter instead of checking the subscription.
-
The server trusts a client-supplied price field and the encoding gives a false sense of protection.
Seen in 1 report
-
The server trusts a client-supplied refund amount instead of calculating it from the booking policy.
Seen in 1 report
-
The server trusts a client-supplied shipping-fee parameter when computing the order total.
Seen in 1 report
-
The server trusts client-supplied fields for the quoted message instead of looking up the stored message by identifier.
Seen in 1 report
-
The server trusts client-supplied price and total parameters instead of calculating the amount itself.
Seen in 1 report
-
The server trusts client-supplied recipient, subject and body fields and only validates the sender address.
Seen in 1 report
-
The server trusts price values supplied in the client's order request instead of recalculating them from its own data.
Seen in 1 report
-
The server trusts the client-supplied forwarded-for value for throttling whenever a trusted proxy is configured.
Seen in 1 report