Skip to content

In-depth lesson · DoS

Root causes

Every point the DoS reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1,751 to 1,800 of 2,053
  1. The server does not check whether a pointer is null before using it when processing OPC UA messages.

    Seen in 1 report
  2. The server does not check whether the client connection is still open before repeatedly flushing data to it.

    Seen in 1 report
  3. The server does not limit requested image dimensions.

    Seen in 1 report
  4. The server does not limit the length of the first name field before processing it.

    Seen in 1 report
  5. The server does not limit the length of the shoutout parameter before storing it, and later queries that load videos with that field fail.

    Seen in 1 report
  6. The server does not properly limit the resources (such as memory or CPU) that a single request or connection can consume, allowing an attacker to exhaust them.

    Seen in 1 report
  7. The server does not validate or limit input length, so processing an overly long string fails.

    Seen in 1 report
  8. The server does not validate that the time spent value is a positive, reasonable duration.

    Seen in 1 report
  9. The server does not validate the Content-Length value before using it to read data, causing an out-of-bounds read.

    Seen in 1 report
  10. The server fetches the full resource for the entire timeout without limiting downloaded size or concurrent fetches.

    Seen in 1 report
  11. The server hashes the password without first limiting its length, so very long inputs consume excessive CPU time.

    Seen in 1 report
  12. The server lacked a maximum length or size check on the password input.

    Seen in 1 report
  13. The server mishandled a language parameter sent as an array, leaving an unhandled error that permanently blocked the account.

    Seen in 1 report
  14. The server mishandled an array-style theme preview parameter and stored bad state in the user's session.

    Seen in 1 report
  15. The server mishandles a newline in the URL and does not limit URL length, leading to repeated redirects and resource exhaustion.

    Seen in 1 report
  16. The server nested the entire previous state cookie inside a new previous field on each login request instead of replacing it.

    Seen in 1 report
  17. The server passed a client-supplied page size straight into the result-set query without validating it against a maximum.

    Seen in 1 report
  18. The server processes search input inefficiently or recursively, consuming excessive resources on deeply nested input.

    Seen in 1 report
  19. The server rebroadcast client-controlled data without schema validation and the client rendered an unexpected object as text.

    Seen in 1 report
  20. The server relied on client-side length enforcement for connection request messages.

    Seen in 1 report
  21. The server sets the client socket to blocking mode and reads without handling an already-closed connection, so the descriptor is never released.

    Seen in 1 report
  22. The server stored an array message as null while the front end assumed a string and called length on it.

    Seen in 1 report
  23. The server stored an unbounded category parameter without a length check and the client could not render the oversized data.

    Seen in 1 report
  24. The server trusted client-side validation and did not handle the resulting exception safely.

    Seen in 1 report
  25. The server trusted the role value sent by the browser without checking it matched a known role.

    Seen in 1 report
  26. The server-side email regex used nested or overlapping quantifiers, causing catastrophic backtracking.

    Seen in 1 report
  27. The server-supplied field length was used as the size argument to a stack allocation without validation.

    Seen in 1 report
  28. The service did not limit how many accounts could monitor the same target, amplifying requests.

    Seen in 1 report
  29. The service does not handle exceptions properly when performing an integer division, so a divide-by-zero error causes a denial-of-service condition.

    Seen in 1 report
  30. The service fails to check whether a pointer is null before dereferencing it while processing a specific request.

    Seen in 1 report
  31. The service lacks proper validation of user-supplied data, leading to an integer underflow before reading from memory.

    Seen in 1 report
  32. The service module does not require authentication before allowing access to its functionality, enabling unauthenticated remote users to trigger a denial-of-service condition.

    Seen in 1 report
  33. The service stored sensitive data in memory without proper locking, allowing a race condition.

    Seen in 1 report
  34. The service trusted the pixel dimensions declared in the file and allocated memory without a maximum size.

    Seen in 1 report
  35. The service uses a pointer without checking it is null.

    Seen in 1 report
  36. The serving map entry is refreshed on every successful request and never expires while requests continue, so a few validators can hold the size limit permanently.

    Seen in 1 report
  37. The session check concatenates the User-Agent pointer into a string without checking the header was supplied, dereferencing a null pointer.

    Seen in 1 report
  38. The setFeeTo function lacks a check that the new fee recipient is not the zero address, and the buy function does not guard against a zero feeTo before transferring fees.

    Seen in 1 report
  39. The setPlatform function updates the platform address but does not update the token allowance for the new platform.

    Seen in 1 report
  40. The setSpreads function allowed the wall spread to be exactly 10000, which led to a division by zero when the lower wall price became zero.

    Seen in 1 report
  41. The setter allows a collateralisation value that makes the liquidation denominator zero.

    Seen in 1 report
  42. The settlement function allowed nonce increments with empty settlement data and without cooldown or minimum profit and loss.

    Seen in 1 report
  43. The settlement function loops over an unbounded number of creators and performs external calls and storage writes for each, allowing gas usage to grow with the number of creators.

    Seen in 1 report
  44. The settlement function uses safeTransferFrom, which calls back into the winner's contract; a malicious winner can revert in that callback, causing the whole settlement to fail.

    Seen in 1 report
  45. The settlement loop reverted on a not-yet-due market instead of skipping it.

    Seen in 1 report
  46. The setWithdrawSequence function required the new sequence to match the current withdrawSeq length instead of the moneyMarkets length, so the array could not be reduced after adapter removals.

    Seen in 1 report
  47. The sFlow decoder did not validate or limit the size of fields in incoming packets, allowing malformed input to trigger excessive memory allocation.

    Seen in 1 report
  48. The SFTP init handler forces the session into blocking mode and calls a blocking init, so the timeout check never runs.

    Seen in 1 report
  49. The shader translator did not validate that a resource index was within the declared resource array before indexing it.

    Seen in 1 report
  50. The shader translator did not validate the output register index before using it to compute a memory address.

    Seen in 1 report