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,401 to 2,450 of 2,519
  1. User input was passed into the fifth argument of the mail function, which is appended to the sendmail command line.

    Seen in 1 report
  2. User input was passed into the template engine without sanitisation, allowing arbitrary method calls.

    Seen in 1 report
  3. User input was passed straight to a Python interpreter with no sandboxing.

    Seen in 1 report
  4. User input was passed to a shell command without adequate sanitisation, and added filters for single quotes could be evaded.

    Seen in 1 report
  5. User input was used directly in a require call without validation, and URL inclusion was enabled on the server.

    Seen in 1 report
  6. User input was written to a file without sanitisation and later embedded into crontab lines by a shell script.

    Seen in 1 report
  7. User inputs were concatenated into a Jinja2 template without sandboxing or escaping, and the filter was a narrow blacklist.

    Seen in 1 report
  8. User string was passed into Python code execution without validation.

    Seen in 1 report
  9. User values were inserted into a system() call without validation or escaping.

    Seen in 1 report
  10. User-controlled array keys and values were concatenated into a PHP code string without escaping, so special characters could break out of the intended string context.

    Seen in 1 report
  11. User-controlled binary and script values were passed straight to the process execution call without validation or an allowlist.

    Seen in 1 report
  12. User-controlled build settings such as root directory and output directory were passed unsafely into shell commands, and overly permissive file permissions and PATH entries allowed privilege escalation.

    Seen in 1 report
  13. User-controlled certificate fields were copied into a fixed-size stack buffer with strcat and no length validation.

    Seen in 1 report
  14. User-controlled chat input was passed into a server-side template renderer without isolation, with weak sandboxing and excessive privileges.

    Seen in 1 report
  15. User-controlled comment text was interpolated directly into a PowerShell script without sanitisation.

    Seen in 1 report
  16. User-controlled configuration values were concatenated into a shell command without sanitisation.

    Seen in 1 report
  17. User-controlled configuration values were evaluated as Spring expressions.

    Seen in 1 report
  18. User-controlled configuration values were stored in NVRAM and later retrieved and inserted directly into shell commands via sprintf/snprintf and system() without sanitisation.

    Seen in 1 report
  19. User-controlled cookie data was passed straight to PHP's unserialise() without validation, allowing object injection.

    Seen in 1 report
  20. User-controlled data inserted into the wp_termmeta table is unserialized without sufficient validation, allowing PHP object injection.

    Seen in 1 report
  21. User-controlled directory names were passed unsanitised to a shell command.

    Seen in 1 report
  22. User-controlled domain, account name and password values were concatenated into a string passed to cmd /c, so shell metacharacters broke out of the intended command.

    Seen in 1 report
  23. User-controlled fields, including cookies from remote servers, were rendered as templates without sandboxing.

    Seen in 1 report
  24. User-controlled file and directory names were concatenated into a shell command without escaping.

    Seen in 1 report
  25. User-controlled health check settings were interpolated directly into a shell command string without escaping or validation.

    Seen in 1 report
  26. User-controlled inline Kramdown options were used to instantiate arbitrary Ruby classes and load files via a driver path.

    Seen in 1 report
  27. User-controlled input from the basic authentication header was passed unsanitised to a system call.

    Seen in 1 report
  28. User-controlled input reached a serialise/unserialise round-trip in caching logic.

    Seen in 1 report
  29. User-controlled input was compiled as a Handlebars template without sanitisation.

    Seen in 1 report
  30. User-controlled input was evaluated as code or passed to dangerous Java features (scripting, JMX deserialisation, JNDI) without restrictions.

    Seen in 1 report
  31. User-controlled input was passed directly into an eval call without sanitisation or validation.

    Seen in 1 report
  32. User-controlled input was passed directly into the Django template engine without sanitisation.

    Seen in 1 report
  33. User-controlled input was passed directly to a shell command without sanitisation or validation.

    Seen in 1 report
  34. User-controlled input was passed into Log4j without disabling JNDI lookups.

    Seen in 1 report
  35. User-controlled input was passed straight to a file-include function without restricting which files could be opened.

    Seen in 1 report
  36. User-controlled input was passed to a template rendering function that evaluated expressions without sanitisation.

    Seen in 1 report
  37. User-controlled input was passed to Perl's two-argument open() without validation, allowing pipe characters to trigger command execution.

    Seen in 1 report
  38. User-controlled input was placed into PHP eval statements or files without proper sanitisation.

    Seen in 1 report
  39. User-controlled input was rendered directly as template code instead of being passed as a data variable.

    Seen in 1 report
  40. User-controlled JSON fields were concatenated into a shell call, and the token check accepted a hardcoded encrypted value.

    Seen in 1 report
  41. User-controlled JSON keys were passed into a Perl eval call without sanitisation.

    Seen in 1 report
  42. User-controlled parameter data was passed into an unsafe deserialisation function.

    Seen in 1 report
  43. User-controlled parameters were concatenated into shell commands or copied into fixed-size buffers without proper sanitisation, and some authorisation checks were missing or bypassable.

    Seen in 1 report
  44. User-controlled POST parameters were passed straight into unserialize() without validation.

    Seen in 1 report
  45. User-controlled push option values were concatenated into a metadata format whose delimiter could appear in user input, and parsing was last-write-wins.

    Seen in 1 report
  46. User-controlled query string input was passed unsanitised into an eval call in a CGI shell script, and the script was also exposed in an unauthenticated public directory.

    Seen in 1 report
  47. User-controlled remote and destination values were passed to git clone without sanitisation.

    Seen in 1 report
  48. User-controlled revision data was appended to a command line without a -- separator, so Mercurial interpreted a dash-leading value as an option.

    Seen in 1 report
  49. User-controlled templates were rendered server-side without sandboxing, so expressions could reach the JavaScript Function constructor.

    Seen in 1 report