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,351 to 2,400 of 2,519
  1. Untrusted network names were concatenated into command strings that were then run through a second shell parsing stage, defeating the original quoting.

    Seen in 1 report
  2. Untrusted POST input reached PHP unserialize, exposing use-after-free bugs in garbage collection.

    Seen in 1 report
  3. Untrusted session data was deserialised without validation and a local file inclusion flaw allowed reading configuration.

    Seen in 1 report
  4. Untrusted web content could create a new BrowserWindow with nodeIntegration enabled, giving it Node.js APIs.

    Seen in 1 report
  5. Untrusted YAML was deserialised into arbitrary Ruby objects and methods were then called on the result.

    Seen in 1 report
  6. Untrusted YAML was deserialised without restricting allowed types.

    Seen in 1 report
  7. Unvalidated key and value strings from an uploaded file were concatenated into a shell command run with system().

    Seen in 1 report
  8. Unvalidated user strings were passed into a configuration file where newlines allowed hook injection.

    Seen in 1 report
  9. Update metadata and its hash were fetched over plain HTTP and the hash from the same response was trusted.

    Seen in 1 report
  10. The update process created a temporary shadow copy containing sensitive files that could be stalled and read.

    Seen in 1 report
  11. Upload and move features did not validate file contents or restrict where files could be moved.

    Seen in 1 report
  12. Upload path sanitisation only checked the exact lowercase git directory name and missed case variants.

    Seen in 1 report
  13. The upload.cgi handler passed a POST parameter directly into a system call without sanitising it.

    Seen in 1 report
  14. Uploaded ZIP files were extracted into a web-accessible directory and dangerous files were only removed later, creating a race condition.

    Seen in 1 report
  15. URI parameters were URL-decoded and passed to a new process command line without sanitisation, enabling argument injection.

    Seen in 1 report
  16. BinaryFormatter and SoapFormatter were used for deserialising untrusted remoting messages.

    Seen in 1 report
  17. Use of send with an attacker-influenced method name after only converting the path to absolute allowed private methods such as system to be invoked.

    Seen in 1 report
  18. User chat input was passed into a template engine without sanitisation, causing server-side template injection.

    Seen in 1 report
  19. User code executed directly on the host without sandboxing and the host user had passwordless sudo.

    Seen in 1 report
  20. User code ran without restricting OS command execution, and cloud credentials were readable from the process environment.

    Seen in 1 report
  21. User code was executed directly on the host without a sandbox and without restricting dangerous library functions.

    Seen in 1 report
  22. User input chose the .NET type used for deserialisation, then that type's Deserialize method was invoked via reflection.

    Seen in 1 report
  23. User input was concatenated directly into shell commands passed to exec without escaping.

    Seen in 1 report
  24. User input was concatenated into dynamically generated PHP code executed via the CLI.

    Seen in 1 report
  25. User input from a request parameter reached YAML.load without sanitisation.

    Seen in 1 report
  26. User input from password reset requests was passed to a system call without sanitisation.

    Seen in 1 report
  27. User input from the QUERY_STRING environment variable was passed to a sed command without sanitisation.

    Seen in 1 report
  28. User input was embedded directly into an expression template without sanitisation.

    Seen in 1 report
  29. User input was evaluated as a Java expression language expression without sanitisation.

    Seen in 1 report
  30. User input was passed into a template engine without sanitisation or sandboxing.

    Seen in 1 report
  31. User input passed to a system command without sanitisation allowed command injection.

    Seen in 1 report
  32. User input passed to the cloudAccess endpoint was incorporated into a system call without sanitisation.

    Seen in 1 report
  33. User input reached a Ruby string interpolation context without sanitisation.

    Seen in 1 report
  34. User input reached Perl's open() through the diamond operator, so a trailing pipe was treated as a command.

    Seen in 1 report
  35. User input reached a file include without restricting which files could be read, and logs stored unsanitised input.

    Seen in 1 report
  36. User input was concatenated directly into a shell command string without validation or sanitisation.

    Seen in 1 report
  37. User input was concatenated directly into a shell command without escaping.

    Seen in 1 report
  38. User input was concatenated into a command string executed through a shell with no escaping or validation.

    Seen in 1 report
  39. User input was concatenated into a git command line without a separator, so it was interpreted as git options.

    Seen in 1 report
  40. User input was concatenated into shell commands without sanitisation, and input was passed as arguments to a download tool without validation.

    Seen in 1 report
  41. User input was concatenated into SQL queries without parameterisation.

    Seen in 1 report
  42. User input was embedded into a PHP code string that was evaluated.

    Seen in 1 report
  43. User input was interpolated into a shell command executed with shell enabled, without escaping.

    Seen in 1 report
  44. User input was not sanitised before being passed to a shell command.

    Seen in 1 report
  45. User input was passed directly into an ERB template without sanitisation or sandboxing.

    Seen in 1 report
  46. User input was passed to a file inclusion function without validation, allowing traversal and log poisoning.

    Seen in 1 report
  47. User input was passed to a template engine without sanitisation.

    Seen in 1 report
  48. User input was passed to an expression language evaluator instead of being treated as a literal string.

    Seen in 1 report
  49. User input was passed into Python's eval function.

    Seen in 1 report