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 1,551 to 1,600 of 2,519
  1. The errdemon process did not sanitise the resource_name field before building a command string passed to execve.

    Seen in 1 report
  2. The escape function did not account for single carriage return characters, which cmd.exe treats as pressing Enter.

    Seen in 1 report
  3. The escape regex treated a trailing backslash before a newline as escaping the following quote because the end anchor also matches before a final newline.

    Seen in 1 report
  4. The escaping did not account for PowerShell's backtick escape character, allowing command injection.

    Seen in 1 report
  5. The escaping function handled double quotes but not single quotes while the generated code used single-quoted literals.

    Seen in 1 report
  6. The evaluator used a full standard evaluation context instead of a restricted one, and a URL was assembled from unvalidated user input before being fetched.

    Seen in 1 report
  7. The event processor admin service did not validate or restrict the content of execution plans.

    Seen in 1 report
  8. The example BashOperator template inserted the user-controlled run_id into a shell command string without escaping.

    Seen in 1 report
  9. The ExcelDataSet control deserialised attacker-controlled input without restricting which types could be created.

    Seen in 1 report
  10. The exec function passed user-influenced arguments directly to a process launch without validation and inherited all host environment variables.

    Seen in 1 report
  11. The exec sandbox was created without an empty builtins dictionary, so user code kept access to all built-in functions.

    Seen in 1 report
  12. The explainer loading path deserialises model data without validation.

    Seen in 1 report
  13. The export feature trusted user-supplied filename and report-name values, writing attacker-controlled content to a web-served path without restricting file type or location.

    Seen in 1 report
  14. The export sanitisation only checked the start of the cell value and did not account for a leading newline character before the formula.

    Seen in 1 report
  15. The exportAsText JavaScript method lacks proper restrictions, allowing arbitrary file writes that can lead to code execution.

    Seen in 1 report
  16. The exported intent handler passed an extra as command line arguments without restricting the library-loading option.

    Seen in 1 report
  17. The exported shell command used quoting that an old bash version mishandled during history expansion, so metacharacters in the request body were executed.

    Seen in 1 report
  18. The exportXFAData method accepted a caller-controlled file path without restricting where files could be written.

    Seen in 1 report
  19. The expression datasource passed user SQL to DuckDB without restricting file access or extension loading.

    Seen in 1 report
  20. The expression engine evaluated user input as code without restricting which types and methods could be used.

    Seen in 1 report
  21. The expression evaluator ran user input as JavaScript without a real sandbox and without isolating the execution context.

    Seen in 1 report
  22. The expression interpreter was invoked with the 'limited' flag set to false on user-controlled input.

    Seen in 1 report
  23. The extension check used an unanchored regular expression, so any filename containing the permitted extension passed.

    Seen in 1 report
  24. The extension did not safely handle environment variables when validating source code, letting attacker-controlled values influence execution.

    Seen in 1 report
  25. The extension failed to properly handle repository content, so opening a malicious cloned repository ran attacker-chosen code.

    Seen in 1 report
  26. The extension loaded and executed MCP server configurations from the workspace without a consent prompt or workspace trust check, and spawned processes inherited the user's complete environment.

    Seen in 1 report
  27. The extension passed user-controlled input from a vscode:// URI directly as an argument to the ssh command without sanitisation.

    Seen in 1 report
  28. The extension treated a workspace-controlled setting as a trusted executable path and ran it without confirmation.

    Seen in 1 report
  29. The Factory class did not check the type of the source parameter, allowing an attacker to supply an array that was used as a configuration to instantiate an arbitrary driver, which then deserialized untrusted data.

    Seen in 1 report
  30. The factory data service passes an unvalidated user-supplied string to a system call, enabling argument injection.

    Seen in 1 report
  31. The factory did not validate pathname and readonly properties from the JNDI reference, allowing an arbitrary file write.

    Seen in 1 report
  32. The failed-login logging code formats the username into a command string and passes it to system(), so shell metacharacters in the username are executed.

    Seen in 1 report
  33. The fast-invoke path checked only for the property put flag and ignored the putref flag, routing a putref to the getter and causing a type confusion.

    Seen in 1 report
  34. The feature created a file from the unsanitised session cookie value, allowing path traversal and command injection.

    Seen in 1 report
  35. The Felix console was exposed without access controls, used default admin credentials, and the dispatcher filter could be bypassed.

    Seen in 1 report
  36. The fetcher lacked restrictions on internal addresses and the internal page inserted user input into a server-side template without sanitisation.

    Seen in 1 report
  37. The field_name parameter was used to build a template path without sanitisation, allowing path traversal.

    Seen in 1 report
  38. The fieldLayouts configuration reached FieldLayout::createFromConfig() without passing through Component::cleanseConfig(), so attacker-controlled behaviour keys were not stripped.

    Seen in 1 report
  39. The file format allowed a directive containing code to be compiled and run, and the guard option defaulted to allowing system operations.

    Seen in 1 report
  40. The file indexing component processed repository content without adequate validation.

    Seen in 1 report
  41. The File Manager did not restrict file extensions or prevent overwriting server configuration files, and the Event Filter did not sanitise stored input.

    Seen in 1 report
  42. The file read lacked URL scheme validation and the code generator did not account for a preceding backslash.

    Seen in 1 report
  43. The file upload endpoint allowed directory traversal, enabling placement of executable files in a web-accessible directory.

    Seen in 1 report
  44. The file upload endpoint failed to validate the file type and destination path, allowing a JSP file to be written into a web-accessible directory.

    Seen in 1 report
  45. The file upload feature lacked server-side validation of file type and stored uploaded files in a directory where PHP execution was enabled.

    Seen in 1 report
  46. The file write functionality did not restrict the destination path, allowing arbitrary file overwrite.

    Seen in 1 report
  47. The filename field was used directly as a filesystem path without sanitising traversal sequences, and the upload filter used a blacklist of one extension instead of an allowlist.

    Seen in 1 report
  48. The filename from the update response was inserted into a shell command via sprintf without validation.

    Seen in 1 report
  49. The fileName parameter was concatenated into a shell command without validation or escaping.

    Seen in 1 report
  50. A routine copied a WAD filename into a fixed 260-byte stack buffer without checking the source length.

    Seen in 1 report