Skip to content

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.

Back to the lesson 4,801 to 4,850 of 5,700
  1. 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
  2. The server trusted client-supplied amount and rounding fields instead of recalculating the charge from the cart.

    Seen in 1 report
  3. The server trusted client-supplied amount and threshold values and did not verify that a payment had succeeded before updating the balance.

    Seen in 1 report
  4. 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
  5. The server trusted client-supplied bitcoin and fiat amounts without checking consistency.

    Seen in 1 report
  6. The server trusted client-supplied currency and country parameters without validating them against the expected fee.

    Seen in 1 report
  7. The server trusted client-supplied dates without checking that the start precedes the end.

    Seen in 1 report
  8. The server trusted client-supplied email and username fields without verifying ownership or requiring confirmation.

    Seen in 1 report
  9. The server trusted client-supplied encoded price values without checking them against the real product price.

    Seen in 1 report
  10. The server trusted client-supplied numeric topping parameters without validating availability at the user's location.

    Seen in 1 report
  11. 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
  12. The server trusted client-supplied pricing or plan data during the subscription upgrade instead of recalculating the price from its own records.

    Seen in 1 report
  13. The server trusted client-supplied product codes for size and modifier pricing without validating the relationship to the total.

    Seen in 1 report
  14. The server trusted client-supplied seat quantity and price without validating against product data.

    Seen in 1 report
  15. The server trusted client-supplied values for payment status and price instead of determining them itself.

    Seen in 1 report
  16. The server trusted fee values submitted in the HTTP request instead of recalculating the court fee from its own records.

    Seen in 1 report
  17. The server trusted submitted answer values without validating them against the question's defined options.

    Seen in 1 report
  18. The server trusted the client quantity and reserved stock at checkout initiation without enforcing the limit or requiring payment.

    Seen in 1 report
  19. The server trusted the client to enforce the paid-feature restriction instead of checking entitlement on the server.

    Seen in 1 report
  20. The server trusted the client's requested redemption amount instead of checking it against the stored points balance.

    Seen in 1 report
  21. The server trusted the client-side disabled state and did not enforce authorisation checks on the underlying request.

    Seen in 1 report
  22. The server trusted the client-side dropdown restriction and did not validate the submitted birthdate year.

    Seen in 1 report
  23. The server trusted the client-supplied amount parameter without checking it against the real cart total stored server-side.

    Seen in 1 report
  24. 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
  25. The server trusted the client-supplied expiry value without validating it was a real future date within range.

    Seen in 1 report
  26. The server trusted the client-supplied legal type value without validating it against the list of permitted options.

    Seen in 1 report
  27. The server trusted the client-supplied minimum bounty value without validating it against the user's average payout.

    Seen in 1 report
  28. The server trusted the client-supplied payment amount without revalidating it against the actual cost of the gift card.

    Seen in 1 report
  29. The server trusted the client-supplied plan amount and did not verify it against the actual plan price.

    Seen in 1 report
  30. The server trusted the client-supplied product identifier and did not validate the price server-side.

    Seen in 1 report
  31. The server trusted the client-supplied role value and checked the seat quota without an atomic lock.

    Seen in 1 report
  32. The server trusted the client-supplied upload type and processed a URL as if it were a file upload.

    Seen in 1 report
  33. 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
  34. The server trusted the discount amount supplied in the request instead of recalculating it from the promo code.

    Seen in 1 report
  35. 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
  36. The server trusted the email supplied in the reset request instead of binding it to the address the user entered.

    Seen in 1 report
  37. The server trusted the vote value sent by the client and did not validate or cap it server-side.

    Seen in 1 report
  38. The server trusted the X-Forwarded-For header to identify the client when enforcing a per-IP rate limit.

    Seen in 1 report
  39. The server trusted user-supplied sender and recipient addresses without verifying the sender controlled the claimed address.

    Seen in 1 report
  40. The server trusts a client-supplied date parameter to decide whether a message is still editable.

    Seen in 1 report
  41. 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
  42. The server trusts a client-supplied premium parameter instead of checking the subscription.

    Seen in 1 report
  43. The server trusts a client-supplied price field and the encoding gives a false sense of protection.

    Seen in 1 report
  44. The server trusts a client-supplied refund amount instead of calculating it from the booking policy.

    Seen in 1 report
  45. The server trusts a client-supplied shipping-fee parameter when computing the order total.

    Seen in 1 report
  46. The server trusts client-supplied fields for the quoted message instead of looking up the stored message by identifier.

    Seen in 1 report
  47. The server trusts client-supplied price and total parameters instead of calculating the amount itself.

    Seen in 1 report
  48. The server trusts client-supplied recipient, subject and body fields and only validates the sender address.

    Seen in 1 report
  49. The server trusts price values supplied in the client's order request instead of recalculating them from its own data.

    Seen in 1 report
  50. The server trusts the client-supplied forwarded-for value for throttling whenever a trusted proxy is configured.

    Seen in 1 report