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 301 to 350 of 2,519
  1. The workflow combined a privileged trigger exposing secrets with checkout and execution of untrusted fork code, with no access controls.

    Seen in 2 reports
  2. The XML parser did not correctly validate or handle crafted input.

    Seen in 2 reports
  3. The XML-RPC handler deserialised untrusted Java objects without validation, and the classpath contained gadget classes.

    Seen in 2 reports
  4. The XML-RPC handler passed user-controlled input directly to PHP unserialize without restricting classes or validating data.

    Seen in 2 reports
  5. Unsafe deserialisation of parameters from an uploaded file, reachable through API requests.

    Seen in 2 reports
  6. Unsanitised SMTP input was passed to popen when building a shell command.

    Seen in 2 reports
  7. Untrusted input was used as a constraint violation message template that supports expression language interpolation.

    Seen in 2 reports
  8. Untrusted text was interpolated directly into shell scripts instead of being passed as data, so shell metacharacters were executed.

    Seen in 2 reports
  9. Untrusted workflow context values such as branch names and pull request titles were interpolated directly into shell commands without quoting or validation.

    Seen in 2 reports
  10. Untrusted XML was read into a data set, which is unsafe with untrusted input.

    Seen in 2 reports
  11. Uploaded archives were extracted into a web-accessible directory before dangerous file types were deleted asynchronously, creating a race window.

    Seen in 2 reports
  12. User input was embedded directly into a server-side template and rendered instead of being treated as plain data.

    Seen in 2 reports
  13. User input was evaluated as an OGNL expression instead of being treated as data.

    Seen in 2 reports
  14. User input was passed into an expression the server evaluated, allowing arbitrary code to run.

    Seen in 2 reports
  15. User input was passed to a server-side include processor without sanitisation or escaping.

    Seen in 2 reports
  16. User-controlled annotation and UID values were inserted into the NGINX configuration template without sanitisation.

    Seen in 2 reports
  17. User-controlled filenames went into a shell invocation via open instead of File.open, so metacharacters were interpreted.

    Seen in 2 reports
  18. User-controlled keys were concatenated into generated PHP source without escaping or validation.

    Seen in 2 reports
  19. User-controlled profile name was passed into a Jinja2 template without escaping, causing server-side template injection.

    Seen in 2 reports
  20. User-controlled wiki page content was passed into a template engine without sandboxing, or into preg_replace without sanitisation.

    Seen in 2 reports
  21. User-supplied code was evaluated on the server with no sandboxing or privilege separation.

    Seen in 2 reports
  22. User-supplied data was deserialised without validation, letting an attacker control the objects being reconstructed.

    Seen in 2 reports
  23. User-supplied input to the login endpoint was passed to a system shell without sanitisation.

    Seen in 2 reports
  24. User-supplied parameters were concatenated into shell commands without validation or escaping.

    Seen in 2 reports
  25. User-supplied strings were written to the terminal without stripping control characters.

    Seen in 2 reports
  26. Windows code path concatenates user input into a shell command without sanitisation, unlike the Linux path.

    Seen in 2 reports
  27. Windows did not properly validate or restrict how shortcut references were processed, allowing a crafted shortcut to cause execution of an accompanying binary.

    Seen in 2 reports
  28. Workflows used pull_request_target, which gives access to secrets and a write token, and then checked out and ran code from the pull request.

    Seen in 2 reports
  29. Workspace-local MCP configuration was loaded and executed without validation or user consent.

    Seen in 2 reports
  30. A 256-byte path buffer was passed to the shell without accounting for the 260-character path limit, so long paths truncated to another file.

    Seen in 1 report
  31. A backdoor in the build infrastructure made the password change script pass a parameter to a shell without sanitisation.

    Seen in 1 report
  32. A bare DLL name was passed to the loader for a library not shipped with the app, so the working directory was searched and an attacker file loaded.

    Seen in 1 report
  33. A bare library name was passed to dlopen instead of an absolute path, so the loader search order included user-controlled directories.

    Seen in 1 report
  34. A blocklist denies a fixed set of executable extensions but allows other file types that can run code when opened.

    Seen in 1 report
  35. A boolean logic error in the setup page's access check used '&&' instead of '||', so providing any Action parameter bypassed the redirect to authentication.

    Seen in 1 report
  36. A branch name was not sanitised before being used in a shell command during checkout.

    Seen in 1 report
  37. A buffer is built with user-controlled request URI input and later becomes part of a shell script filename.

    Seen in 1 report
  38. A buffer overflow in glibc's iconv implementation when converting to the ISO-2022-CN-EXT charset allows overwriting heap memory when triggered via PHP's convert.iconv filter.

    Seen in 1 report
  39. A bundled library ran a command using a relative path that resolved inside the opened project directory.

    Seen in 1 report
  40. A bundled scheduler deserialised a database column with an unfiltered object stream and an outdated collections library on the classpath.

    Seen in 1 report
  41. A caller-supplied URI was concatenated into a shell command string instead of being passed as a separate escaped argument.

    Seen in 1 report
  42. A case-insensitive file system let a symbolic link overwrite a file later processed by a clean/smudge filter.

    Seen in 1 report
  43. A case-sensitive Content-Length check leads to uninitialised memory disclosure.

    Seen in 1 report
  44. A chain of weak configurations: an unauthenticated file share holding sensitive backups, password reuse, an unpatched command injection and a passwordless sudo rule.

    Seen in 1 report
  45. A class used user-supplied input for file paths without validation, allowing arbitrary file writes.

    Seen in 1 report
  46. A client-controlled environment variable was expanded into a login command line without escaping, allowing argument injection.

    Seen in 1 report
  47. A client-supplied JWT claim was trusted to grant privileged features.

    Seen in 1 report
  48. A code agent did not validate or restrict the Python code produced by the LLM and ran it without a sandbox.

    Seen in 1 report
  49. A code injection weakness that failed to safely handle input from an authenticated administrator.

    Seen in 1 report
  50. A code validation endpoint passes user-supplied code to execution functions without authentication or validation.

    Seen in 1 report