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,701 to 1,750 of 2,053
  1. The RLP length decoder returns a negative value that is treated as zero while the read position stays unchanged, so decoding loops forever.

    Seen in 1 report
  2. The role check is applied unconditionally, including when a user is revoking a permit.

    Seen in 1 report
  3. The router assumes it creates the market and does not handle an already existing market.

    Seen in 1 report
  4. The router assumes it must approve the vault for pool tokens that already grant infinite allowance, so increasing the allowance overflows.

    Seen in 1 report
  5. The router pays messaging fees from a single shared ETH balance using the contract's full balance, so any user can drain it.

    Seen in 1 report
  6. The router rounded down while the vault and module rounded up, so the module requested slightly more tokens than the router held.

    Seen in 1 report
  7. The router sets approval for all unconditionally on every operation instead of checking whether it already exists.

    Seen in 1 report
  8. The router unconditionally calls permit without a try-catch or fallback, so a front-run permit causes the entire transaction to revert.

    Seen in 1 report
  9. The router's connection tracking table was exhausted by high-volume UDP packets with spoofed source addresses.

    Seen in 1 report
  10. The RPC handler does not cap the size of the amounts list, so the work grows without bound with attacker-controlled input.

    Seen in 1 report
  11. The RPC handler passed the block blob to the hashing code without validating a minimum length, so a size check deep in the hash routine aborted the process.

    Seen in 1 report
  12. The RPC server did not enforce a maximum request body size or reject unrealistic content lengths.

    Seen in 1 report
  13. The RPC server processes every entry in a batch without a maximum batch size or response size limit.

    Seen in 1 report
  14. The rstart regular expression had overlapping alternatives that caused exponential backtracking.

    Seen in 1 report
  15. The runtime bind-mounts host files into the pod without making them read-only or capping their size.

    Seen in 1 report
  16. The runtime inherited upstream base weight constants benchmarked on a different signature scheme and never overrode them.

    Seen in 1 report
  17. The safe RPC policy does not block the state-call method, leaving a production state builder reachable.

    Seen in 1 report
  18. The same page limit value is passed for both page size and maximum pages, so the number of topics processed per call is the page limit squared.

    Seen in 1 report
  19. The sandbox did not account for its own protection service binaries being added to the always-run-in-sandbox list.

    Seen in 1 report
  20. The sanitising loop can reduce the pathname to an empty string, skipping default-file and 404 handling so a directory path reaches the file read and response write.

    Seen in 1 report
  21. The save routine appended a suffix to the target filename to create a temporary file, and when the resulting name exceeded the filesystem limit the temporary file creation or rename failed in a way that left the file empty.

    Seen in 1 report
  22. The saved broadcast transmit timestamp was updated before authentication and before the packet was accepted, so unauthenticated packets poisoned the replay state.

    Seen in 1 report
  23. The scale factor used to keep the product factor from getting too small is insufficient, allowing it to round to zero.

    Seen in 1 report
  24. The scanner trusted the declared section count without checking the file was large enough.

    Seen in 1 report
  25. The scheduled task script was publicly accessible and processed every request without validation or rate limiting.

    Seen in 1 report
  26. The search grammar was ambiguous with no memoisation, so nested parentheses backtracked exponentially while a process-global lock was held.

    Seen in 1 report
  27. The section duration was built from an attacker-controlled timestamp without an upper bound, so an out-of-range value broke trace rendering.

    Seen in 1 report
  28. The Security Monitor failed to validate the list_size field of the SECTION_ABIDepends metadata, using it directly as a loop bound.

    Seen in 1 report
  29. The seize path runs a liquidity check that should not apply to liquidations.

    Seen in 1 report
  30. The seizure function does not update the last-payout variable after removing rewards, so the stored value becomes stale.

    Seen in 1 report
  31. The send loop condition does not account for a zero payload length after a successful flush, so the loop never exits.

    Seen in 1 report
  32. The send queue accepted a fixed count of responses regardless of total size, so a non-reading client forced unbounded memory growth.

    Seen in 1 report
  33. The send-queue-full path slept the peer thread instead of dropping the connection, and object requests were accepted before the handshake completed.

    Seen in 1 report
  34. The sender trusted the peer's advertised MSS and did not bound segments or payload size per skb, so counters could overflow.

    Seen in 1 report
  35. The sequencer did not check block size before submission and did not roll back or split on rejection.

    Seen in 1 report
  36. The serialiser allocates memory from a buffer's declared length field without checking that the buffer actually holds that many bytes.

    Seen in 1 report
  37. The serialising object class deserialises user-supplied data without validating it.

    Seen in 1 report
  38. The server accepted invalid percent encoding and the clients' URL parser threw an uncaught error when decoding it.

    Seen in 1 report
  39. The server accessed array elements from a user-supplied manifest without validating the indices.

    Seen in 1 report
  40. The server allocated fresh memory for each tiny indexed header reference without counting the true decoded size, and a zero window kept the allocations alive.

    Seen in 1 report
  41. The server allocates a buffer from a client-supplied length and copies that many bytes without checking the packet size.

    Seen in 1 report
  42. The server capped total decoded header size but not the number of header fields, and allowed a stalled stream to stay open with tiny window updates.

    Seen in 1 report
  43. The server did not enforce a limit on the number of contact records per user and relied on client-side validation.

    Seen in 1 report
  44. The server did not enforce the intended character limits on title and description before processing them.

    Seen in 1 report
  45. The server did not limit or throttle how many ConditionRefresh requests it would process.

    Seen in 1 report
  46. The server did not limit resources used when decompressing compressed XMPP stanzas.

    Seen in 1 report
  47. The server did not properly validate the uploaded file's content type and content, allowing an SVG file to be stored and later served.

    Seen in 1 report
  48. The server did not reset a stream when header limits were exceeded until all header frames had been processed.

    Seen in 1 report
  49. The server did not validate authentication state before redirecting, causing a loop when the expected 2FA session was missing.

    Seen in 1 report
  50. The server does not check that a transaction identifier in a commit or abort request belongs to the sending client.

    Seen in 1 report