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,901 to 1,950 of 2,519
  1. The pool ID value was not sanitised or escaped before being embedded in a shell script.

    Seen in 1 report
  2. The port parameter was used in a command without proper sanitisation.

    Seen in 1 report
  3. The POSIX escaping wrapped arguments in single quotes but escaped embedded quotes with a backslash, which does not work inside single quotes.

    Seen in 1 report
  4. The post edit function allowed arbitrary meta entries to be updated without validation, and the image crop used the attacker-controlled attached-file value without sanitising it.

    Seen in 1 report
  5. The POST parameters powerd_normal_mode, powerd_ac_mode and powerd_battery_mode were stored in the config and then concatenated into a shell command passed to mwexec() without escaping or validation.

    Seen in 1 report
  6. The PowerShell curl alias mapped to Invoke-WebRequest, whose HTML parsing used a legacy engine that executed script and allowed ActiveX objects to launch programs.

    Seen in 1 report
  7. The preg_replace e modifier evaluated the replacement string as PHP, combined with unsanitised user input from an imported XML file.

    Seen in 1 report
  8. The preview copy reused a predictable directory and followed symbolic links without validation.

    Seen in 1 report
  9. The preview endpoint passed the message parameter straight to the scripting engine without restricting callable functions.

    Seen in 1 report
  10. The preview generator passed attacker-controlled files to ImageMagick without restricting its MSL delegate, allowing file read and write outside the preview area.

    Seen in 1 report
  11. The preview method passed arbitrary content into a theme process function that eventually called eval.

    Seen in 1 report
  12. The preview pipeline decoded and evaluated code hidden in a link's URL slug because filtering did not strip it before the eval sink.

    Seen in 1 report
  13. The Print Spooler service failed to properly validate or restrict who could load printer drivers.

    Seen in 1 report
  14. The Print Spooler service followed symbolic links without validation, allowing a redirect to an arbitrary DLL.

    Seen in 1 report
  15. The printing system did not sanitise the FoomaticRIPCommandLine setting, so injected commands were executed.

    Seen in 1 report
  16. The private package name was not registered on the public registry, and the package manager preferred the highest version across all sources.

    Seen in 1 report
  17. The private package name was not reserved on the public repository and installs fell back to it.

    Seen in 1 report
  18. The private registry proxied to the public registry by default and chose the highest version, and the package manager had no namespacing.

    Seen in 1 report
  19. The privileged binary executed a helper via a name lookup that honoured the caller's PATH and environment instead of using an absolute path or a clean environment.

    Seen in 1 report
  20. The privileged service followed a user-controlled reparse point when moving files without checking the destination.

    Seen in 1 report
  21. The process creation call implicitly invokes the shell for batch files, and runtimes escaped arguments using rules for normal executables.

    Seen in 1 report
  22. The process did not restrict DLL search to trusted paths.

    Seen in 1 report
  23. The process library converted command arguments into a null-separated array without rejecting embedded null bytes, so user input could create new arguments.

    Seen in 1 report
  24. The program allowed writes to the Global Offset Table without protection.

    Seen in 1 report
  25. The program trusted a remote source for updates and its protections could be bypassed.

    Seen in 1 report
  26. The project declared a local dependency by name and version range instead of a file path, so the package manager resolved it from the public registry.

    Seen in 1 report
  27. The project documentation pointed to a GitHub account that had become unclaimed, allowing anyone to register it and control the code that users were instructed to download and run.

    Seen in 1 report
  28. The project name from the URL was concatenated into a bash command in client-side JavaScript without sanitisation, so shell metacharacters were interpreted.

    Seen in 1 report
  29. The project name was not escaped when generating helper scripts.

    Seen in 1 report
  30. The project referenced an npm scope and package name it had not registered, leaving the name free to claim.

    Seen in 1 report
  31. The project's Go module path referenced a GitHub account that was not controlled by the organisation, allowing an attacker to register it and supply malicious code.

    Seen in 1 report
  32. The promo image URL was converted without scheme validation, and the frontend bypassed the image wrapper for data URIs.

    Seen in 1 report
  33. The protocol did not properly validate authentication requests, allowing credential relay.

    Seen in 1 report
  34. The provider released the old organisation name for registration while still redirecting requests from the old URL.

    Seen in 1 report
  35. The provider's call() method trusted any caller and passed a Bundle extra to untyped getSerializable(), so deserialisation ran without a caller check or fixed target type.

    Seen in 1 report
  36. The provisioner ran as the same user as user scripts and was not isolated, so user scripts could patch its monitoring.

    Seen in 1 report
  37. The proxy configuration treated any non-empty Authorization header as a successful login.

    Seen in 1 report
  38. The proxy forwarded base64-encoded URLs in a parameter without the firewall decoding and inspecting that parameter.

    Seen in 1 report
  39. The proxy forwarded requests without normalising paths and an internal endpoint passed a name into a shell command.

    Seen in 1 report
  40. The quote variable was never set to an opening quote, so the close-quote and escaped-quote branches were unreachable.

    Seen in 1 report
  41. The reader used eval, dynamic imports and unpickling on values taken directly from the file.

    Seen in 1 report
  42. The readonly setting was disabled, so the default servlet wrote attacker-supplied files into a web-accessible directory.

    Seen in 1 report
  43. The readVideoInfo method does not validate user-supplied input before passing it to a system call.

    Seen in 1 report
  44. The recommended nginx configuration passes requests to PHP-FPM in a way that triggers a known PHP-FPM bug.

    Seen in 1 report
  45. The redirect URL validation regex was not anchored, so URLs with extra characters passed and reached a shell command.

    Seen in 1 report
  46. The registerFont function omitted return statements after protocol validation, so disallowed protocols were still passed to the file content helper.

    Seen in 1 report
  47. The registration handler wrote raw request parameters into a PHP source file without escaping or validating them.

    Seen in 1 report
  48. The registry command template inserted the folder path into a PowerShell command without quoting or sanitisation.

    Seen in 1 report
  49. The regular expression used to validate domain and client names does not escape a period, so any character can match it, allowing shell metacharacters to pass validation and be written into a file that is later sourced.

    Seen in 1 report
  50. The remediation path for cloud-tagged placeholders performed a privileged write-back to a user-controlled path without re-validating where it resolved.

    Seen in 1 report