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,451 to 1,500 of 2,519
  1. The CSV endpoint passed a user-supplied file path to a file write without sanitisation.

    Seen in 1 report
  2. The CSV export did not escape user-controlled fields, and semicolon separators allowed breaking out of quoted fields.

    Seen in 1 report
  3. The custom binder validated raw type and assembly strings and returned null on failure, so BinaryFormatter fell back to its own type resolution, which parsed the same strings differently.

    Seen in 1 report
  4. The custom certificate validator's Validate method was empty, so any client certificate was accepted, and the callback contract used no protection level.

    Seen in 1 report
  5. The custom command passed user-controlled input into an operating system command without neutralising special characters.

    Seen in 1 report
  6. The custom deserialiser used class loading on an attacker-supplied class name and filled it with attacker data.

    Seen in 1 report
  7. The custom Hazelcast authentication handshake called readObject on attacker data without validating the sender.

    Seen in 1 report
  8. The custom inflater for night mode did not apply a layout filter, so any class in the app's classpath could be instantiated.

    Seen in 1 report
  9. The custom protocol relied on a hardcoded key and predictable registration values, and services deserialised untrusted XML with XStream without an allowlist.

    Seen in 1 report
  10. The custom serialisation binder resolved arbitrary type names when its allow-lists did not match, so the protection did not restrict types.

    Seen in 1 report
  11. The custom XML serialiser's type resolver allowed attacker-chosen types to be instantiated during deserialisation.

    Seen in 1 report
  12. The daemon copied an unvalidated client-supplied port string and later passed it as the format string to a logging helper.

    Seen in 1 report
  13. The daemon copied attacker-controlled JSON fields into fixed-size stack buffers with an unbounded copy and fetched them over HTTPS without verifying the certificate.

    Seen in 1 report
  14. The daemon expanded an attacker-controlled environment variable into a command line without enforcing argument boundaries.

    Seen in 1 report
  15. The daemon fails to validate or escape role address values before interpolating them into shell command strings, and helper functions also pass unsanitised values to shell commands.

    Seen in 1 report
  16. The daemon used sscanf with unbounded string format specifiers to copy parts of a downloaded file into fixed-size stack buffers.

    Seen in 1 report
  17. The dashboard fetched manifests over plain HTTP and skipped signature verification when staging mode was on.

    Seen in 1 report
  18. The dashboard was exposed without authentication, allowing arbitrary workflow creation with elevated privileges.

    Seen in 1 report
  19. The data binder accepts arbitrary nested property paths, so user input can reach class loader and logging objects.

    Seen in 1 report
  20. The data directory is placed inside the web root, so uploaded files are served and executed directly.

    Seen in 1 report
  21. The database authentication file trusted any local connection without a password and the platform allowed unauthenticated signup.

    Seen in 1 report
  22. The database did not restrict which Java static methods could be called from SQL.

    Seen in 1 report
  23. The database user had FILE privileges and the web root was writable by the database.

    Seen in 1 report
  24. The database username was written into a PHP config file using an escaping function that does not prevent code injection.

    Seen in 1 report
  25. The DDNS client relied on a hardcoded symmetric key instead of real server authentication, and its parsers copied user-supplied lengths into fixed-size buffers without bounds checks.

    Seen in 1 report
  26. The debug console failed to sanitise user-supplied code before inserting it into a .jsp template.

    Seen in 1 report
  27. The debug console was enabled by default without authentication, and the framework did not validate form methods or filter redirects to disallowed domains.

    Seen in 1 report
  28. The debug endpoint was reachable because debug mode was enabled in production and evaluated user input without validation.

    Seen in 1 report
  29. The debug service passed user-controlled package names into a shell command without sanitising shell metacharacters.

    Seen in 1 report
  30. The debugger protocol lacked authentication and bound to all network interfaces by default when enabled.

    Seen in 1 report
  31. The debugger was left enabled and publicly accessible on a production server.

    Seen in 1 report
  32. The decoder typed the result of ref.func as an exact function type even though imported functions can be subtypes.

    Seen in 1 report
  33. The deep link handler did not properly validate or restrict the inputs it accepted.

    Seen in 1 report
  34. The default Apache configuration mapped the bundled php-cgi binary into the web root via ScriptAlias.

    Seen in 1 report
  35. The default interpolator enabled script, dns and url lookup keys that should not be on by default.

    Seen in 1 report
  36. The denylist compared command strings literally without normalising paths.

    Seen in 1 report
  37. The deobfuscation handler called unserialize on a base64-decoded string from a scanned file without restricting classes.

    Seen in 1 report
  38. The deployment function unsafely evaluated decoded and decrypted environment variables.

    Seen in 1 report
  39. The deserialisation allow-list only validated the outer DeserializationException class while its nested cause field was deserialised without restriction.

    Seen in 1 report
  40. The deserialiser accepted a loosely typed dictionary whose values could be any object, allowing a gadget chain.

    Seen in 1 report
  41. The deserialiser followed attacker-supplied references such as constructor and __proto__ and trusted a spoofed hasOwnProperty check.

    Seen in 1 report
  42. The deserialiser lacked type checking and sanitisation, so attacker-controlled keys could pollute prototypes and reach the Function constructor.

    Seen in 1 report
  43. The deserialiser rehydrated attacker-chosen types whose getters or converters executed code or made network calls.

    Seen in 1 report
  44. The deserialiser used duck typing, checking only for a callable then property instead of verifying a genuine Promise.

    Seen in 1 report
  45. The deserialiser was configured to honour type names and its blacklist of dangerous types was incomplete.

    Seen in 1 report
  46. The deserialiser whitelist did not adequately restrict dunder attributes, allowing arbitrary attribute writes.

    Seen in 1 report
  47. The deserialisers were configured to trust a type name supplied by the attacker instead of a fixed allow-list.

    Seen in 1 report
  48. The deserialization logic does not consistently enforce the setting that disables pickling.

    Seen in 1 report
  49. The deserializer passed a module name from the model file straight to importlib without restricting allowed modules.

    Seen in 1 report
  50. The design lets Lambda layers run arbitrary code when safe mode is off, and users may turn it off without understanding the risk.

    Seen in 1 report