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,251 to 1,300 of 2,519
  1. The application used a JSON loader that reconstructs arbitrary objects and then trusted any deserialised object that responded to a known method.

    Seen in 1 report
  2. The application used a Log4j version that did not disable JNDI lookups, allowing attacker-controlled strings to trigger remote class loading.

    Seen in 1 report
  3. The application used a relative path search that included the current working directory before trusted system directories.

    Seen in 1 report
  4. The application used a shell execution function with unsanitised user input.

    Seen in 1 report
  5. The application used a YAML loader that can instantiate arbitrary objects on user-supplied configuration.

    Seen in 1 report
  6. The application used an exec function with a command string built by concatenating user input.

    Seen in 1 report
  7. The application used an unsafe DLL search path and did not validate the digital signature of the loaded library.

    Seen in 1 report
  8. The application used eval on a string built from user input without proper sanitisation.

    Seen in 1 report
  9. The application used PHP's eval function on the unsanitised value of a cookie.

    Seen in 1 report
  10. The application used Python pickle to deserialise session data from an unauthenticated Redis cache reachable via SSRF.

    Seen in 1 report
  11. The application used Python's non-cryptographic random module for security tokens and let a client-supplied captcha key reseed it.

    Seen in 1 report
  12. The application used shell_exec to run curl with unquoted user input, allowing shell metacharacters to break out of the intended command.

    Seen in 1 report
  13. The application used SnakeYAML's default constructor instead of SafeConstructor, allowing arbitrary Java object instantiation.

    Seen in 1 report
  14. The application used the client as a storage layer for server state and deserialised an unsigned Java serialised object.

    Seen in 1 report
  15. The application used the default Symfony secret key for signing /_fragment requests, and the endpoint was enabled.

    Seen in 1 report
  16. The application used the insecure BinaryFormatter for deserialisation, failed to validate user-supplied URIs before making requests, and did not encode user input before display.

    Seen in 1 report
  17. The application used the legacy compressed __VSTATE mechanism, which deserialises attacker data without the encryption and signing of standard __VIEWSTATE.

    Seen in 1 report
  18. The application used the unsafe YAML load function instead of the safe variant.

    Seen in 1 report
  19. The application used the user-supplied Name value directly in a shell command without sanitising it, allowing command injection.

    Seen in 1 report
  20. The application used unserialize on data fetched from an external source without validating its integrity, and the framework's View class had a __toString method that included a file path.

    Seen in 1 report
  21. The application used user-supplied input for file deletion and upload without validating file types or restricting paths.

    Seen in 1 report
  22. The application uses Python pickle to serialise and deserialise notification context, a format that executes arbitrary objects on load, without restricting what can be stored.

    Seen in 1 report
  23. The application validated only part of the input and then pasted the original string into a shell command.

    Seen in 1 report
  24. The application wrote to a path inside the sandbox without checking for symbolic links and failed to sanitise newlines in arguments.

    Seen in 1 report
  25. The application wrote unsanitised user input from the User-Agent header directly into a PHP file without escaping.

    Seen in 1 report
  26. The application wrote user-controlled text into a CSV export without neutralising leading formula characters.

    Seen in 1 report
  27. The archive decompression and sanitisation logic did not handle every archive format, so embedded commands survived the scan.

    Seen in 1 report
  28. The arpstrs parameter is concatenated into a shell command without validation or escaping, so argument injection turns into command execution.

    Seen in 1 report
  29. The aspectjweaver library deserialised attacker-controlled data received over T3 without validating it.

    Seen in 1 report
  30. The AST validator missed implicit attribute lookup in match/case class patterns, and a mutable type proxy exposed a stand-in for the function type.

    Seen in 1 report
  31. The attachment filename and file data were written to a server path without validation or restriction on file type.

    Seen in 1 report
  32. The attachment function did not validate the supplied path, so a phar wrapper could be used.

    Seen in 1 report
  33. The attacker used a Cloudflare-proxied VPS to mask the origin IP and deployed a persistent backdoor via systemd with a disguised process name.

    Seen in 1 report
  34. The AttributesMap class in Mojarra deserializes a ValueExpression and later evaluates it without proper validation, allowing code execution when the map's get method is called during deserialization.

    Seen in 1 report
  35. The auth handler matched a public prefix against the raw encoded URI while the proxy routed on the normalised URI, so the two disagreed.

    Seen in 1 report
  36. The auth handler treated failed token validation as a valid passthrough and returned an empty authenticated object.

    Seen in 1 report
  37. The authentication and nonce check was commented out and an unescaped POST value reached a template with code execution enabled.

    Seen in 1 report
  38. The authentication bypass was caused by a prefix check that only compared the start of the URL path, and command injection was caused by passing unsanitised input to a shell command with shell=True.

    Seen in 1 report
  39. The authentication check compared an uninitialised value, so it never failed, and the ping action passed input to a system command.

    Seen in 1 report
  40. The authentication check for the firmware upload endpoint occurred after the file was written, and the validation endpoint check could be bypassed by appending an allowlisted string to the URI.

    Seen in 1 report
  41. The authentication check only applied to GET requests, leaving POST handlers unauthenticated.

    Seen in 1 report
  42. The authentication check only tested for the presence of token or auth parameters rather than validating them, and user parameters were concatenated into a shell command.

    Seen in 1 report
  43. The authentication check tested only for a null return instead of detecting the unauthenticated subject, so failed token validation was treated as success.

    Seen in 1 report
  44. The authentication check trusted attacker-controlled HTTP headers to determine the client IP, and the poller identifier was not escaped before use in a shell command.

    Seen in 1 report
  45. The authentication domain name was inserted into an XPath query without sanitisation.

    Seen in 1 report
  46. The authentication filter matched only the end of the URI against a public pattern while the routing layer stripped the matrix parameter.

    Seen in 1 report
  47. The authentication filter truncated the request URI at semicolons to handle URL path parameters, while Tomcat did not, so the filter and the servlet container disagreed on which page was being requested.

    Seen in 1 report
  48. The authentication filter truncated the URI at semicolons while the servlet container did not.

    Seen in 1 report
  49. The authentication filter used a simple suffix check on the request path instead of exact route matching, so any path ending in the protected suffix skipped authentication.

    Seen in 1 report
  50. The authentication handler fails to validate or escape the password parameter before embedding it in a Python command string, leading to Python code injection.

    Seen in 1 report