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 801 to 850 of 2,053
  1. The application created a cache file per unique session cookie value without limiting the number of files or cleaning them up.

    Seen in 1 report
  2. The application decodes the hexadecimal escape sequence in branch names without proper validation, leading to an error that breaks the branch listing page.

    Seen in 1 report
  3. The application did not enforce a maximum length on the filter field before storing it.

    Seen in 1 report
  4. The application did not enforce a maximum length on the token field.

    Seen in 1 report
  5. The application did not limit the length of the git user name when rendering commit information.

    Seen in 1 report
  6. The application did not limit the length or size of the base bounty input.

    Seen in 1 report
  7. The application did not validate the Content-Length header, allowing excessive memory allocation.

    Seen in 1 report
  8. The application does not check the uncompressed size of uploaded archives and preserves modification times, preventing cleanup.

    Seen in 1 report
  9. The application failed to validate that the tag name was a non-null string before saving it, and the front-end did not handle a null tag name.

    Seen in 1 report
  10. The application set GET parameter values as cookies without a size limit or input validation.

    Seen in 1 report
  11. The application trusts the size of the parameter and runs a regular expression scan on it without a length limit.

    Seen in 1 report
  12. The application used the parameter value directly in a Set-Cookie header without sanitising CRLF characters or cookie attributes.

    Seen in 1 report
  13. The applyRewards function fails when the amount of ETH received is below the minimum stake amount required by SafEth.

    Seen in 1 report
  14. The approval is not reset to zero after repayment.

    Seen in 1 report
  15. The approve function does not check whether the spender is the execution layer contract.

    Seen in 1 report
  16. The archive analyser ran a slow password-stretching loop on the same thread as its watchdog, so the timer could not fire.

    Seen in 1 report
  17. The archive header parser trusts a fixed-length size field without checking for negative values, and an error path leaks an object.

    Seen in 1 report
  18. The argument pointer loop only checks for a null pointer, not the null terminator byte at the end of the network buffer.

    Seen in 1 report
  19. The arguments to the reallocation call are swapped, so the current and target idle balances are passed in the wrong order.

    Seen in 1 report
  20. The array storage-size calculation does not validate that the element count times element size fits within the allowed range before asserting.

    Seen in 1 report
  21. The array was declared with length two but the code assigned three entries, so the third write was out of bounds.

    Seen in 1 report
  22. The artifact reader trusts the uncompressed size metadata in the zip file without verifying the actual size.

    Seen in 1 report
  23. The AsciiDoc math rendering feature processes a crafted expression inefficiently, causing excessive CPU usage in the browser.

    Seen in 1 report
  24. The assert assumed the contract's LP token balance was zero after redemption, but an attacker could donate LP tokens to break this assumption.

    Seen in 1 report
  25. The asset lookup reads from the manager's own storage instead of the diamond's, so the asset owner is always the zero address.

    Seen in 1 report
  26. The asset manager called each adapter without a try-catch, so a revert in any single adapter reverted the entire transaction.

    Seen in 1 report
  27. The association list is an unbounded vector scanned linearly on every recovery operation.

    Seen in 1 report
  28. The attach path called the poke function, which updated the last voted timestamp and triggered the vote delay check.

    Seen in 1 report
  29. The attacker-controlled expiry field is not range-checked before the expiry time calculation.

    Seen in 1 report
  30. The attestation deadline adds a fixed offset to a slot-derived time without overflow checks and the slot is not validated first.

    Seen in 1 report
  31. The audit log page did not handle a release with an attached milestone, so rendering that entry threw an error and took the whole page down.

    Seen in 1 report
  32. The authorisation check only confirmed the caller supplied its own package name rather than verifying it was permitted to use the developer-only feature.

    Seen in 1 report
  33. The authorisation check was placed after state mutations inside the dispatch function, and the outer error handler incremented the nonce a second time on failure.

    Seen in 1 report
  34. The auto-PONG send buffer had only a soft limit and the flush result was ignored, so queued replies accumulated without a hard cap.

    Seen in 1 report
  35. The available liquidation balance was derived from a balance capped by the mint limit, so reaching the limit zeroed it.

    Seen in 1 report
  36. The AVP length is not checked against the minimum header size before subtracting, so the unsigned calculation underflows.

    Seen in 1 report
  37. The AWS API Gateway parsed the X-Forwarded-For header key differently when a space was inserted before the colon, so rate limiting did not apply.

    Seen in 1 report
  38. The backend does not validate that the folder name is a non-null string before saving.

    Seen in 1 report
  39. The backend fetched external images from webhook messages without rate limiting.

    Seen in 1 report
  40. The backend or reverse proxy used the Host header for routing or TLS validation and mishandled multiple Host headers.

    Seen in 1 report
  41. The backend validated the rating value when present but never checked that the parameter existed, so a review with no rating was stored and broke page rendering.

    Seen in 1 report
  42. The backlog counter was decremented when a block entered the in-memory accumulator rather than when it was flushed to a channel.

    Seen in 1 report
  43. The backup liquidation path depends on a protocol that is not deployed on the target chain, so it always reverts there.

    Seen in 1 report
  44. The balance check uses the sum of two variables but the deduction is applied only to one, so the subtraction can underflow.

    Seen in 1 report
  45. The balance decrease burned shares for the full asset amount without capping the burn at the staker's actual share balance.

    Seen in 1 report
  46. The batch function called untrusted recipients without isolating failures, so one revert aborted the batch.

    Seen in 1 report
  47. The batch function does not handle tokens already reset in the current epoch.

    Seen in 1 report
  48. The batch handler forwarded every response into a fixed-size channel without checking the response count matched the request count.

    Seen in 1 report
  49. The batch payout loop did not isolate failures per payee, so one reverting transfer aborted the whole call.

    Seen in 1 report
  50. The batch write publishes transactions without verifying the data is a valid signed transaction when no prevalidator is configured.

    Seen in 1 report