Skip to content

In-depth lesson · RCE

Root causes

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

Back to the lesson 2,001 to 2,050 of 2,519
  1. The same session store is used for two purposes and the client chooses the session key.

    Seen in 1 report
  2. The same URL parameter was sanitised on the server but inserted unsanitised into a client-side selector, a parser mismatch.

    Seen in 1 report
  3. The sandbox check on property enumerability could be bypassed by redefining the enumerability function.

    Seen in 1 report
  4. The sandbox creation logic resolved and executed a binary from a location an attacker could influence rather than a trusted fixed path.

    Seen in 1 report
  5. The sandbox did not block access to the constructor property of functions, allowing escape to the global Function constructor.

    Seen in 1 report
  6. The sandbox did not fully isolate untrusted template input, allowing access to dangerous objects and methods.

    Seen in 1 report
  7. The sandbox failed to isolate the error object and its stack preparation method, allowing access to call site objects from outside.

    Seen in 1 report
  8. The sandbox library could be escaped by manipulating error stack traces, and the product used it to run user-controlled templates.

    Seen in 1 report
  9. The sandbox only restricted the agent process itself and did not account for host components that later trust and execute files the agent is allowed to write.

    Seen in 1 report
  10. The sandbox whitelisted static methods that automatically invoke constructors during type coercion, enabling a gadget chain.

    Seen in 1 report
  11. The sandbox's argument check handled only simple identifiers, not destructured parameters.

    Seen in 1 report
  12. The sandbox's custom getattr and type functions could be bypassed with a str subclass that manipulated equality checks and by calling type on itself to reach the original builtin type.

    Seen in 1 report
  13. The sandbox's prefix-based allow-list for read-only methods could be bypassed, allowing calls to methods that were not actually read-only.

    Seen in 1 report
  14. The sandbox's syntax tree transformation did not cover all node types, leaving some unchecked.

    Seen in 1 report
  15. The sandboxed code service did not isolate submitted code from the web service account.

    Seen in 1 report
  16. The sandboxing package was insufficient and could be bypassed to run arbitrary JavaScript in the Node.js process.

    Seen in 1 report
  17. The sanitiser assumed its input was a string and indexed it character by character, so an array input made each index return the whole element and bypassed every character check before the value was concatenated into a command.

    Seen in 1 report
  18. The sanitiser only escapes ASCII quotes while PowerShell treats Unicode quotes as delimiters.

    Seen in 1 report
  19. The SaveData parameter was passed directly into a system call without sanitisation or validation.

    Seen in 1 report
  20. The scanner disabled certificate verification and then executed the received data with an eval call.

    Seen in 1 report
  21. The scanner invoked git with default settings, so git read the repository's own config and ran the configured command.

    Seen in 1 report
  22. The schema designer allowed configurations that caused external jar files to be loaded without sufficient validation.

    Seen in 1 report
  23. The script built a shell command from unvalidated input, so special characters were interpreted.

    Seen in 1 report
  24. The script concatenated the user-supplied domain parameter directly into a shell command without validation or escaping.

    Seen in 1 report
  25. The script console endpoint was exposed without any authentication or access restriction.

    Seen in 1 report
  26. The script console was reachable without authentication or authorisation.

    Seen in 1 report
  27. The script evaluator set the host access policy to allow all host access, so scripts could use reflection to reach runtime classes and execute commands.

    Seen in 1 report
  28. The script failed to exit after sending a redirect and then unsafely evaluated user-supplied input.

    Seen in 1 report
  29. The script placed untrusted repository data such as branch names into PS1, which bash evaluates for command substitutions.

    Seen in 1 report
  30. The script template API intentionally executed scripts without restricting the command, and the upload endpoint did not sanitise filenames.

    Seen in 1 report
  31. The script URI handler did not properly restrict the path (allowing directory traversal) and a bundled Python function passed user-supplied arguments to os.system without sanitisation.

    Seen in 1 report
  32. The script used a substring search to check whether the remote hostname contained an allowed domain, instead of matching the hostname exactly.

    Seen in 1 report
  33. The scripting environment exposed powerful Java classes and helper objects without sandboxing.

    Seen in 1 report
  34. The scripting policy exposed internal objects whose task-submission method accepted a runnable, allowing code outside the Java sandbox.

    Seen in 1 report
  35. The search endpoint passed user-controlled search text into the wiki macro renderer without sanitising it, allowing macro injection.

    Seen in 1 report
  36. The search input was rendered through a server-side template engine without being treated as plain data, so template syntax in the query was evaluated.

    Seen in 1 report
  37. The security check looked up the service by path and version, but the later deserialisation step used only the path, so a mismatched version bypassed the check.

    Seen in 1 report
  38. The select template called findString on user-controlled list value key and passed the result to getText, which performed a second OGNL evaluation without escaping.

    Seen in 1 report
  39. The serialiser wrote a length header for a typed array view but the buffer was detached by a previous write, so the parser trusted the header and consumed the wrong number of bytes.

    Seen in 1 report
  40. The server accepted a user-controlled layout type and content and rendered it with Twig without sanitising template expressions.

    Seen in 1 report
  41. The server accepted PUT requests without authentication and served uploads from a directory where scripts execute.

    Seen in 1 report
  42. The server built a shell command by concatenating untrusted input into a string instead of using safe process APIs.

    Seen in 1 report
  43. The server built a shell command string by concatenating the user-supplied host value without sanitisation or a safe argument-array API.

    Seen in 1 report
  44. The server built executable code paths or logic directly from externally supplied handshake parameters without neutralising dangerous input.

    Seen in 1 report
  45. The server concatenated raw HTTP parameter values into operating system commands and ran them through a shell without validation or escaping.

    Seen in 1 report
  46. The server deserialised attacker-controlled data from a login request without validating or restricting it.

    Seen in 1 report
  47. The server deserialised untrusted input with a Python deserialiser before performing any authorisation check.

    Seen in 1 report
  48. The server deserialised untrusted network data with Hessian without validation or class filtering.

    Seen in 1 report
  49. The server deserialised untrusted serialised Java objects without validating their classes.

    Seen in 1 report
  50. The server deserialises parameters from an uploaded file without validating or restricting the types it will instantiate.

    Seen in 1 report