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 API did not enforce the business rule that deletion must go through support approval and ownership checks.
Seen in 1 report
-
The API endpoint failed to verify that the source account's asset matched the asset being traded.
Seen in 1 report
-
The API endpoint lacks a server-side email verification check and relies on the UI hiding the option.
Seen in 1 report
-
The API only checked the prefix and user ID in the session parameter and did not verify the app ID or hash, nor whether 2FA was enabled.
Seen in 1 report
-
The API returned download links without checking whether the user had purchased the app.
Seen in 1 report
-
The app allowed following and blocking the same person at once without enforcing that blocking prevents following.
-
The app checked email verification only on the client side and did not enforce it on the server at login.
Seen in 1 report
-
The app creation endpoint did not enforce any per-user or per-request rate limit, allowing repeated submissions.
Seen in 1 report
-
The app did not check server-side whether the account had already unlocked a Gold visit at that restaurant on the same day before issuing a new visit ID.
-
The app did not terminate the live session when authentication was invalidated.
Seen in 1 report
-
The app did not validate that the setting identifier sent to the device matched the user's intended action.
Seen in 1 report
-
The app does not revoke the x-uber-token on logout, so the token remains valid.
Seen in 1 report
-
The app enforced no rate limiting or lockout after multiple failed passcode attempts.
Seen in 1 report
-
The app enforces premium access using client-side data and logic that the user can modify.
-
The app failed to keep the page context when a comment was submitted from the media viewer.
Seen in 1 report
-
The app handled the conference-join URL without asking the user for confirmation.
-
The app platform does not limit how often a scheduled callback can re-register itself, so a self-calling timer runs without bound.
Seen in 1 report
-
The app recalculated the fare only when the pickup was first set and did not re-check surge on the confirmation screen.
Seen in 1 report
-
The app stored the active status setting globally on the device instead of per account.
Seen in 1 report
-
The app trusted purchase results reported by the device without verifying them with the payment provider's servers.
Seen in 1 report
-
Critical
-
-
The app used wall-clock time instead of a monotonic clock to measure elapsed time since closing.
Seen in 1 report
-
The app uses a lossy case-insensitive deduplication key for listings and then normalises the name for authorisation and transaction building, so the displayed asset and the transferred asset diverge.
-
The application accepted an address longer than the database column could hold and the database silently truncated it.
Seen in 1 report
-
The application allowed usernames that collided with existing file paths without validating or reserving them.
Seen in 1 report
-
The application created and logged in the account before confirming that the email address belonged to the user.
Seen in 1 report
-
The application did not enforce a check preventing removal of the last admin from a group.
Seen in 1 report
-
The application did not enforce email uniqueness across accounts when linking or unlinking third-party authentication providers.
Seen in 1 report
-
The application did not implement rate limiting on the endpoint that sends account confirmation emails.
Seen in 1 report
-
The application did not properly enforce the one-time-use restriction on coupons.
-
The application did not reject usernames containing values that are special in URL paths.
Seen in 1 report
-
The application did not validate email format or length, and the database column was shorter than the accepted input, causing silent truncation.
Seen in 1 report
-
The application did not validate that the new email address was already in use by another account before updating the profile.
Seen in 1 report
-
The application did not validate that the submitted call-back number belonged to the user and allowed unlimited repeated call-back requests.
Seen in 1 report
-
The application did not validate the OTP server-side but relied on client-side validation of the referring URL path.
Seen in 1 report
-
The application does not normalise or validate model names consistently, so URL-encoded names are treated as distinct from their decoded equivalents.
Seen in 1 report
-
Medium
-
-
The application does not validate or verify the phone number field during sign-up, so any value or none is accepted.
Seen in 1 report
-
The application does not validate that the counter value in automation rule conditions is non-negative.
Seen in 1 report
-
The application does not verify ownership of a newly added payout email address by sending a verification link or code to it.
-
The application failed to sanitise null characters in the payment mode parameter, causing inconsistent parsing between validation and payment processing.
Seen in 1 report
-
The application lacked input validation enforcing the maximum email address length.
Seen in 1 report
-
The application priority field was not part of the signed transaction data and was not validated by the light node.
-
The application relied on a client-side disabled attribute to enforce a business rule instead of validating the user count on the server.
Seen in 1 report
-
The application relied on client-side enforcement of the maximum meeting duration without server-side validation.
-
The application relied on client-side response values without server-side validation.
Seen in 1 report
-
The application relied on client-side restrictions and did not normalise email addresses or enforce team limits and permissions server-side.
-
The application trusted a client-side response to decide whether OTP verification succeeded instead of checking the OTP on the server.
-
The application trusted a client-supplied currency during the first calculation and converted again without checking the base currency.
Seen in 1 report
-
The application trusted a client-supplied parameter to decide whether to apply a premium watermark instead of checking the subscription status on the server.
Seen in 1 report
-
The application trusted a client-supplied price and did not validate it against the product price before creating an order and payment hold.
-
The application trusted a client-supplied price identifier without verifying it matched the product being purchased.
Seen in 1 report