Skip to content

In-depth lesson · Bug chains

Root causes

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

Back to the lesson 1 to 50 of 52
  1. The frontend and backend servers disagreed on request boundaries, for example through conflicting Content-Length and Transfer-Encoding handling or malformed line endings.

    Seen in 3 reports
  2. A mismatch between how the frontend and the caching layer parsed request boundaries, combined with caching of redirects, allowed a smuggled request to poison the cache with a redirect.

    Seen in 2 reports
  3. Unvalidated user input was written into a response header without stripping CRLF characters, allowing header injection.

    Seen in 1 report
  4. The installer fetched remote binaries over unencrypted HTTP and ran them with sudo without checking a checksum or GPG signature.

    Seen in 1 report
  5. The image host failed to sanitise newline characters in the request path before writing it into response headers, and served uploaded files based on a user-controlled extension rather than a fixed image type.

    Seen in 1 report
  6. The BrowserWindowProxy object let a parent window evaluate code in a child window regardless of origin, and a privileged chrome-devtools URL was reachable from untrusted content, allowing nodeIntegration to be overridden.

    Seen in 1 report
  7. The import service appended the unsanitised path parameter to the uploads directory without validating it, and did not verify the uploaded file's contents.

    Seen in 1 report
  8. The webhook secret token was not validated to reject newline characters, and the webhook URL allowed requests to internal services, so injected lines were interpreted as Redis commands.

    Seen in 1 report
  9. The OAuth redirect_uri validation used a wildcard pattern that allowed chaining with an open redirect via the next_url parameter and a Referer-based redirect on the logout endpoint.

    Seen in 1 report
  10. The preload scripts exposed Node.js primitives and internal IPC channels to the renderer without proper isolation, letting untrusted code abuse them.

    Seen in 1 report
  11. An unpatched Tomcat mod_proxy directory traversal vulnerability combined with an unprotected JBoss web console exposed internally.

    Seen in 1 report
  12. The callback validation only checked the scheme of the supplied value and assumed it was a complete URI, so a relative path with traversal segments passed and was resolved against a host that offered an open redirect.

    Seen in 1 report
  13. The SDK's setWindowLocation handler assigned the supplied value directly to window.location without checking that the URL used a safe protocol such as https.

    Seen in 1 report
  14. The apps reused the pre-login session identifier after authentication instead of issuing a new one, and a separate XSS allowed an attacker to plant a chosen session cookie on a parent domain.

    Seen in 1 report
  15. The application enabled Jackson's default typing so that a JSON property could name any class, and Jackson's blacklist did not cover the logback and H2 classes used in the chain.

    Seen in 1 report
  16. The weapon id read from the network message was used directly as an array index without any bounds check, allowing writes outside the weapon array.

    Seen in 1 report
  17. The worktree cleanup removed the symlink only after the operation finished, leaving a window where the symlink pointed at a sensitive file that could be read.

    Seen in 1 report
  18. The password check on preview URLs trusted a token query parameter without tying it to the specific store it was issued for.

    Seen in 1 report
  19. The impersonation session was listed in the impersonated user's own active sessions and the stop-impersonating action restored the admin session to whoever held that session cookie, without checking who was impersonating.

    Seen in 1 report
  20. The URL parameter was echoed into the page without output encoding, and the password-change endpoint lacked a CSRF token or origin check.

    Seen in 1 report
  21. The git:// protocol was not covered by the UrlBlocker that restricts HTTP requests to internal addresses, and the URL was not sanitised for CRLF characters.

    Seen in 1 report
  22. The ActionDispatch::ActionableExceptions middleware was accessible in production and did not properly validate the redirect location, allowing a javascript: scheme.

    Seen in 1 report
  23. The image-fetching endpoints accepted arbitrary user-supplied URLs without restricting them to allowed hosts or schemes, and the internal banner service also allowed the file protocol.

    Seen in 1 report
  24. The delta parsing routine trusted field offset and size values supplied by the server without validating them against the bounds of the destination structure.

    Seen in 1 report
  25. The client failed to validate the slot index in CSVCMsg_SplitScreen and mishandled duplicate Content-Length headers during HTTP downloads, leading to out-of-bounds access and uninitialised memory disclosure.

    Seen in 1 report
  26. The SSO flow lacked CSRF protection, allowed an attacker-controlled referrer with a hash fragment, did not expire tokens after use, and permitted SVG uploads that executed JavaScript.

    Seen in 1 report
  27. Three separate flaws in the Vouchers site together allowed one user to target another business's payment account.

    Seen in 1 report
  28. A custom ignore-tag callback in the sanitiser let tag-like strings through because its parsing of declaration-style openers differed from the browser's.

    Seen in 1 report
  29. The controller matched managed security groups by tag values only and took the first API result instead of tracking the exact group identifier.

    Seen in 1 report
  30. The host header action parameter lacked input validation, so control characters could be injected into the Host header.

    Seen in 1 report
  31. A user-controlled path was used without sanitisation, allowing writes and reads outside the intended directory, and a push endpoint trusted a header.

    Seen in 1 report
  32. Attacker-controlled request headers were logged through a logging library version that performs lookups on message content.

    Seen in 1 report
  33. The signature covered only the body and authorisation header, while delete handlers took the target from the unsigned URL path and accepted a changed method.

    Seen in 1 report
  34. The server failed to close inbound connections when an error occurred while discarding the request body.

    Seen in 1 report
  35. Fragment data was not stripped on error pages and a challenge iframe allowed script injection through a URL parameter.

    Seen in 1 report
  36. A JSON-to-object library turned keys into methods, letting an attacker override methods the cache client uses to build commands.

    Seen in 1 report
  37. A file-writing driver, a connector able to reach localhost and an unauthenticated management endpoint combined into code execution.

    Seen in 1 report
  38. A refactor removed the code that deletes the setup token after setup, and the validation endpoint accepted arbitrary connection strings.

    Seen in 1 report
  39. The bundled browser framework was outdated and the helper process ran with the sandbox disabled as a user with passwordless privilege escalation.

    Seen in 1 report
  40. The email field was reflected without output encoding and the cookie bridge allowed session fixation and cookie leakage.

    Seen in 1 report
  41. The embedded browser was launched with remote debugging over a socket instead of a pipe, exposing the interface.

    Seen in 1 report
  42. The pipeline creator fell back to the merge request author when the bot was removed, and the author could be spoofed via direct transfer import.

    Seen in 1 report
  43. The branch deletion user was set to the merge request author, which could be spoofed, instead of the user who performed the merge.

    Seen in 1 report
  44. The permission check on inviting a group and changing a member's role did not compare the requested role against the inviter's own maximum role.

    Seen in 1 report
  45. A vulnerable HTML file was still hosted and its parent origin parameter allowed script execution in a web worker.

    Seen in 1 report
  46. Token claims for cross-project merge request pipelines used the target project path and source branch name instead of the fork path.

    Seen in 1 report
  47. The branch name was placed into an API URL without encoding and the client decoded encoded dots into traversal sequences.

    Seen in 1 report
  48. The URL path was used directly in a client-side fetch without validation and the response was reused in a subsequent authenticated request.

    Seen in 1 report
  49. An edge rule matched only the URL prefix while the framework served the same route under a data URL the rule did not cover.

    Seen in 1 report
  50. A low-entropy signing secret combined with missing rate limiting and missing per-account authorisation checks.

    Seen in 1 report