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,201 to 1,250 of 2,519
  1. The application does not properly validate or restrict which libraries are loaded when handling project files.

    Seen in 1 report
  2. The application does not sanitise or validate the dest parameter before incorporating it into a shell command.

    Seen in 1 report
  3. The application enabled Jackson's default typing, letting JSON input specify arbitrary Java classes, and a gadget class was on the classpath.

    Seen in 1 report
  4. The application escaped special characters but not spaces, letting extra command-line arguments through.

    Seen in 1 report
  5. The application evaluated a user-controlled file name without sanitisation, allowing code injection.

    Seen in 1 report
  6. The application evaluated an attacker-controlled header as a Spring Expression Language expression without safeguards.

    Seen in 1 report
  7. The application exposed its git directory and used unsanitised input in file reads and shell calls.

    Seen in 1 report
  8. The application failed to enable Velocity's SecureUberspector.

    Seen in 1 report
  9. The application failed to neutralise special command elements in workspace-controlled input before Workspace Trust was enforced.

    Seen in 1 report
  10. The application failed to properly sanitise user-supplied paths and parameters, leading to a path traversal authentication bypass, unrestricted file upload, and command argument injection.

    Seen in 1 report
  11. The application failed to sanitise user input before embedding it in a single-quoted OGNL expression in a Velocity template, and the blocklist of unsafe OGNL elements was incomplete.

    Seen in 1 report
  12. The application failed to sanitise user input in the Search Pattern field before passing it to a system command.

    Seen in 1 report
  13. The application failed to sanitise user-supplied input before passing it to a system shell command.

    Seen in 1 report
  14. The application failed to strip newline characters from the user-supplied email address before passing it to the mail library.

    Seen in 1 report
  15. The application failed to validate user input before storing it as a custom resource, and the controller used it to build YAML.

    Seen in 1 report
  16. The application fails to sanitise user input embedded in single quotes within Velocity templates, allowing a Unicode escape sequence to break out of the string and inject OGNL.

    Seen in 1 report
  17. The application inserted the User-Agent header value into a PHP file without sanitisation.

    Seen in 1 report
  18. The application inserted user-controlled text directly into reportlab's paragraph markup without sanitisation, and the installed reportlab version evaluated font colour strings as Python expressions.

    Seen in 1 report
  19. The application is not built with Hardened Runtime, so DYLD environment variables are honoured.

    Seen in 1 report
  20. The application kept calling unserialize on user input and its mitigations were incomplete.

    Seen in 1 report
  21. The application kept the same session identifier across authentication instead of issuing a fresh one after login.

    Seen in 1 report
  22. The application lacks authorization checks on settings modification and does not sanitise input before shell and SQL use.

    Seen in 1 report
  23. The application let an administrator add PHP to permitted upload extensions without restricting execution of uploaded files.

    Seen in 1 report
  24. The application loaded an OpenSSL configuration file from a world-writable location at the root of the system drive.

    Seen in 1 report
  25. The application loads its .asar archive from a user-writable location without any integrity or hash check.

    Seen in 1 report
  26. The application only checked file extensions, passed user input straight into file_get_contents, and had no anti-CSRF protection on security settings.

    Seen in 1 report
  27. The application package importer did not validate the source markup of uploaded packages.

    Seen in 1 report
  28. The application passed a cookie value directly into a PHP code-evaluation function without validating or sanitising it.

    Seen in 1 report
  29. The application passed unsanitised user input from the 'content' parameter directly into Smarty's fetch() function on an unauthenticated endpoint.

    Seen in 1 report
  30. The application passed user-controlled base64 data from a multipart form field directly into .NET's BinaryFormatter.Deserialize without validation.

    Seen in 1 report
  31. The application passed user-controlled data into PHP's unserialize function without validating the resulting object types.

    Seen in 1 report
  32. The application passed user-controlled data to PHP's unserialize() function, allowing crafted serialised objects to trigger magic methods.

    Seen in 1 report
  33. The application passes the ntp parameter directly to a shell command without sanitising it.

    Seen in 1 report
  34. The application passes unsanitised attacker-controlled input from the mtu or data parameter directly into the os.system function.

    Seen in 1 report
  35. The application passes user-supplied GET parameters directly to a system call without sanitisation or validation.

    Seen in 1 report
  36. The application ran openssl commands with user-controlled certificate data interpolated directly into the shell command string.

    Seen in 1 report
  37. The application relied on a restricted shell instead of validating or sanitising user input.

    Seen in 1 report
  38. The application rendered user-controlled input as a Jinja2 template without sandboxing or validation.

    Seen in 1 report
  39. The application resolved user-controlled RMI URLs and did not restrict which remote classes could be loaded.

    Seen in 1 report
  40. The application searched for a required DLL in a user-writable directory without verifying its origin.

    Seen in 1 report
  41. The application searched for a required library in an insecure location such as the current working directory or a user-writable path.

    Seen in 1 report
  42. The application searched for its helper binary in the user's home directory before trusted system locations.

    Seen in 1 report
  43. The application searched its own directory for a DLL before the system directory.

    Seen in 1 report
  44. The application searches for a required library or executable in a location an attacker can influence rather than a trusted fixed path.

    Seen in 1 report
  45. The application server was left with default administrative credentials, and the same local administrator password was reused across multiple servers.

    Seen in 1 report
  46. The application trusted the user-supplied name field for the saved filename and did not restrict extensions.

    Seen in 1 report
  47. The application trusted user-supplied environment variables and passed them to a child process without blocking dangerous keys.

    Seen in 1 report
  48. The application unserialised user-controlled data after checking an HMAC whose key leaked through debug output.

    Seen in 1 report
  49. The application unserialises attacker-controlled data while the installed doctrine/doctrine-bundle and Symfony classes contain magic methods that call file-writing and file-including code.

    Seen in 1 report
  50. The application used a binary formatter to deserialise data influenced through a Git repository without restricting types.

    Seen in 1 report