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,101 to 1,150 of 2,053
  1. The deployment script does not deploy and initialize the proxy in the same transaction, leaving initialize() callable by anyone.

    Seen in 1 report
  2. The deposit data field has no size limit while the L2 bridge processes deposits strictly in sequence.

    Seen in 1 report
  3. The deposit function checks the contract balance against a maximum limit that an attacker could temporarily fill.

    Seen in 1 report
  4. The deposit function does not enforce a minimum deposit amount or fee.

    Seen in 1 report
  5. The deposit function does not verify that the bridge ID exists before incrementing its sequence.

    Seen in 1 report
  6. The deposit function does not limit how many NFTs can be added to a user's staked list, and the withdrawal function iterates over the entire list without a bound.

    Seen in 1 report
  7. The deposit function trusts any existing pair with zero balances without verifying that the pair was created by the protocol.

    Seen in 1 report
  8. The deposit function updates the last-deposit block for any caller and any vault without checking ownership or legitimacy.

    Seen in 1 report
  9. The deposit parameter setter accepts arbitrary values without validating fee reasonableness or slot consistency.

    Seen in 1 report
  10. The description column has no maximum length restriction.

    Seen in 1 report
  11. The description record is never size-capped and is escaped twice into one in-memory string with no exception handling around a fatal heap abort.

    Seen in 1 report
  12. The deserialiser lets a crafted body reference actions and circular structures, causing the server to attempt execution and crash on a self-referencing payload.

    Seen in 1 report
  13. The deserialiser picks a decoder from an attacker-controlled type prefix without checking the decoded object matches the claimed type.

    Seen in 1 report
  14. The deserialiser reads a 32-bit length and allocates a buffer of that size without checking an upper bound.

    Seen in 1 report
  15. The deserialiser returns an error on the first malformed blob instead of skipping to the next one.

    Seen in 1 report
  16. The desktop service does not properly validate file paths or resolve symbolic links before deleting files.

    Seen in 1 report
  17. The destination chain is not validated against the token's original chain, so a deployment message can initialise the original chain's balance to zero.

    Seen in 1 report
  18. The destroy function requires zero token supply but nothing prevents new tokens being minted after destruction was announced.

    Seen in 1 report
  19. The detach path re-casts all previous votes without skipping killed gauges, and the vote function reverts on a dead gauge.

    Seen in 1 report
  20. The deterministic address depends only on the salt and fixed bytecode, not on constructor arguments, and there is no access control.

    Seen in 1 report
  21. The deviation is scaled to a fixed-point value representing 100 percent while the slippage parameter is a raw percentage integer, so the comparison mixes units.

    Seen in 1 report
  22. The device-detector regular expression has overlapping groups that cause excessive backtracking on long digit strings.

    Seen in 1 report
  23. The diagram integration lacks limits on the size or complexity of diagrams.

    Seen in 1 report
  24. The diff rendering process has no overall timeout and syntax highlighting tokenisation is not covered by the render timeout.

    Seen in 1 report
  25. The directory walker recurses per subdirectory with no depth limit and only catches OS errors, so recursion errors escape.

    Seen in 1 report
  26. The disk handling code assumes every raw disk file is 512-byte aligned and never validates it.

    Seen in 1 report
  27. The dispute game logic does not handle a panicking VM state, so a panic at a chosen depth can block challenges to the root claim.

    Seen in 1 report
  28. The distribution module account is not in the bank module's blocklist of addresses that cannot receive arbitrary transfers.

    Seen in 1 report
  29. The driver completes an IRP that the WMI system control already completed because it misreads the disposition and error status on the failure path.

    Seen in 1 report
  30. The driver does not handle the netdevice change event for ip6gre tunnels, so it never removes the old remote address or adds the new one.

    Seen in 1 report
  31. The driver does not validate the section raw size, causing an out-of-bounds read when computing a hash.

    Seen in 1 report
  32. The driver uses a user-controlled value as a divisor without checking it was non-zero.

    Seen in 1 report
  33. The driver uses an unvalidated inter-stage shader location as an array index without checking it against the device limit.

    Seen in 1 report
  34. The driver's pointer validation probes only the first four bytes before dereferencing a field at offset eight.

    Seen in 1 report
  35. The DroneID protocol was designed without encryption and the DUML protocol lacked proper input validation.

    Seen in 1 report
  36. The duplicate check loops over an unbounded array of referral users on every new referral.

    Seen in 1 report
  37. The early return path skips clearing the reentrancy lock flag set at function entry.

    Seen in 1 report
  38. The edit endpoint reads the entire blob into memory without a size limit or streaming.

    Seen in 1 report
  39. The element count mapping is only set for generation zero and defaults to zero as a divisor.

    Seen in 1 report
  40. The ELF parser divides by the section entry size without checking for zero and indexes a section cache with the link index without checking it is below the section count.

    Seen in 1 report
  41. The email address field has no length limit, so the server performs expensive processing on arbitrarily large input.

    Seen in 1 report
  42. The email input is passed into a template engine without sanitisation.

    Seen in 1 report
  43. The email regex has a nested quantifier that allows several ways to match the same substring, so it backtracks exponentially when the match fails.

    Seen in 1 report
  44. The email uniqueness check for internal bot accounts does not consider unconfirmed secondary emails added by other users.

    Seen in 1 report
  45. The email validation regex is vulnerable to ReDoS, timing out on long strings ending with '@'.

    Seen in 1 report
  46. The email-extraction regular expression contains overlapping or ambiguous clauses that allow exponential backtracking.

    Seen in 1 report
  47. The emergency repair endpoint has no authentication or rate limiting, exposing a costly operation to anyone.

    Seen in 1 report
  48. The emoji field is not validated or length-limited, so long strings with newlines are stored and rendered.

    Seen in 1 report
  49. The encoding detection path reads the whole file handle without applying the size limit used by other sniffing paths.

    Seen in 1 report
  50. The encrypted section is added to a non-expiring replay cache before the MAC is verified.

    Seen in 1 report