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.
-
The CSV endpoint passed a user-supplied file path to a file write without sanitisation.
-
The CSV export did not escape user-controlled fields, and semicolon separators allowed breaking out of quoted fields.
Seen in 1 report
-
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
-
The custom certificate validator's Validate method was empty, so any client certificate was accepted, and the callback contract used no protection level.
-
The custom command passed user-controlled input into an operating system command without neutralising special characters.
Seen in 1 report
-
The custom deserialiser used class loading on an attacker-supplied class name and filled it with attacker data.
-
The custom Hazelcast authentication handshake called readObject on attacker data without validating the sender.
Seen in 1 report
-
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
-
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
-
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
-
The custom XML serialiser's type resolver allowed attacker-chosen types to be instantiated during deserialisation.
Seen in 1 report
-
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
-
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.
-
The daemon expanded an attacker-controlled environment variable into a command line without enforcing argument boundaries.
Seen in 1 report
-
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
-
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
-
The dashboard fetched manifests over plain HTTP and skipped signature verification when staging mode was on.
Seen in 1 report
-
The dashboard was exposed without authentication, allowing arbitrary workflow creation with elevated privileges.
Seen in 1 report
-
The data binder accepts arbitrary nested property paths, so user input can reach class loader and logging objects.
-
The data directory is placed inside the web root, so uploaded files are served and executed directly.
Seen in 1 report
-
The database authentication file trusted any local connection without a password and the platform allowed unauthenticated signup.
Seen in 1 report
-
The database did not restrict which Java static methods could be called from SQL.
Seen in 1 report
-
The database user had FILE privileges and the web root was writable by the database.
Seen in 1 report
-
The database username was written into a PHP config file using an escaping function that does not prevent code injection.
Seen in 1 report
-
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
-
The debug console failed to sanitise user-supplied code before inserting it into a .jsp template.
Seen in 1 report
-
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
-
The debug endpoint was reachable because debug mode was enabled in production and evaluated user input without validation.
Seen in 1 report
-
The debug service passed user-controlled package names into a shell command without sanitising shell metacharacters.
Seen in 1 report
-
The debugger protocol lacked authentication and bound to all network interfaces by default when enabled.
Seen in 1 report
-
The debugger was left enabled and publicly accessible on a production server.
Seen in 1 report
-
The decoder typed the result of ref.func as an exact function type even though imported functions can be subtypes.
Seen in 1 report
-
$55,000 High
-
-
The deep link handler did not properly validate or restrict the inputs it accepted.
-
The default Apache configuration mapped the bundled php-cgi binary into the web root via ScriptAlias.
Seen in 1 report
-
The default interpolator enabled script, dns and url lookup keys that should not be on by default.
Seen in 1 report
-
The denylist compared command strings literally without normalising paths.
Seen in 1 report
-
The deobfuscation handler called unserialize on a base64-decoded string from a scanned file without restricting classes.
Seen in 1 report
-
The deployment function unsafely evaluated decoded and decrypted environment variables.
Seen in 1 report
-
The deserialisation allow-list only validated the outer DeserializationException class while its nested cause field was deserialised without restriction.
Seen in 1 report
-
The deserialiser accepted a loosely typed dictionary whose values could be any object, allowing a gadget chain.
-
The deserialiser followed attacker-supplied references such as constructor and __proto__ and trusted a spoofed hasOwnProperty check.
Seen in 1 report
-
The deserialiser lacked type checking and sanitisation, so attacker-controlled keys could pollute prototypes and reach the Function constructor.
-
The deserialiser rehydrated attacker-chosen types whose getters or converters executed code or made network calls.
Seen in 1 report
-
The deserialiser used duck typing, checking only for a callable then property instead of verifying a genuine Promise.
Seen in 1 report
-
The deserialiser was configured to honour type names and its blacklist of dangerous types was incomplete.
-
The deserialiser whitelist did not adequately restrict dunder attributes, allowing arbitrary attribute writes.
Seen in 1 report
-
The deserialisers were configured to trust a type name supplied by the attacker instead of a fixed allow-list.
Seen in 1 report
-
The deserialization logic does not consistently enforce the setting that disables pickling.
Seen in 1 report
-
The deserializer passed a module name from the model file straight to importlib without restricting allowed modules.
Seen in 1 report
-
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