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 XPC service lacked client validation and passed a path value into a shell command unsanitised.
Seen in 1 report
-
The YAML parser allowed deserialisation of arbitrary Ruby objects, and application code then called methods on those objects that led to code execution or resource exhaustion.
Seen in 1 report
-
The YAML parser supported a tag that passes the tagged value to unserialize(), so the documented safety of yaml_parse did not hold.
Seen in 1 report
-
The YAML parsing routine deserialised untrusted input without validating it.
-
Theme files were writable by the web user and executed by the server, so the editor allowed code injection.
Seen in 1 report
-
TLS validation was disabled and Authenticode signatures were not verified before execution.
Seen in 1 report
-
The tool built a command from file content or name without escaping special characters.
Seen in 1 report
-
Two upload handlers validated inconsistently and files were stored locally for a short window before moving to object storage.
-
The UDP service lacked authentication and passed user input to shell commands, and firmware updates were fetched over HTTP without integrity checks.
Seen in 1 report
-
uhttpd failed to sanitise the HNAP_AUTH header, and timestamp verification could be bypassed by manipulating the stored timestamp.
Seen in 1 report
-
Unauthenticated users could write arbitrary content to a predictable path that was later passed to a filesystem function.
Seen in 1 report
-
Unbounded string copying on user-controlled input in unauthenticated CGI handlers, with missing stack canaries and PIE.
Seen in 1 report
-
Unescaped host and service names were passed into a shell command through system().
Seen in 1 report
-
Uninstallers loaded configuration or script files from relative or user-writable locations without validation.
Seen in 1 report
-
Unmarshalling instantiated throwable class types supplied in a message without checking they were legitimate.
Seen in 1 report
-
An unpatched SharePoint instance was affected by unsafe deserialisation.
-
Unsafe default use of the Node.js vm module without input sanitisation allowed code injection through JSONPath expressions.
-
Unsafe deserialisation in .NET remoting with TypeFilterLevel set to Full, missing authorisation checks on a WCF endpoint, and insufficient path validation allowing SMB file uploads.
Seen in 1 report
-
Unsafe deserialisation of attacker-controlled input in APIs without type or content restrictions.
Seen in 1 report
-
Unsafe deserialisation of user input allowed invocation of arbitrary PHP functions.
Seen in 1 report
-
Unsafe deserialisation, evaluation of cookie contents as code and unvalidated input passed to code-evaluating functions.
Seen in 1 report
-
Unsafe evaluation of user input in error messages via Spring's message source enabled expression language injection, and missing authentication checks on certain API routes allowed bypass.
Seen in 1 report
-
Unsafe handling of user input in the unprivileged portal allowed both SQL injection and command injection.
Seen in 1 report
-
Unsafe operations in the image library when processing untrusted images were not blocked by default.
Seen in 1 report
-
Unsafe path expansion and missing input sanitisation in sudoers policy parsing when wildcards are used in command paths.
-
Unsanitised input in the login query, missing file type validation on upload, and an incomplete disable_functions list that omitted proc_open.
-
Unsanitised input was passed directly into a sed script and other CGI endpoints.
Seen in 1 report
-
Unsanitised input reached an expression placeholder in a query annotation, so the expression was evaluated.
-
Unsanitised input was concatenated into shell commands and SQL queries, and an authentication check trusted a token file whose name came from user input.
Seen in 1 report
-
Unsanitised input was passed into a shell command so metacharacters were interpreted.
-
An unsanitised ref parameter was passed directly to a git command.
Seen in 1 report
-
Unsanitised request parameters were passed into a code path that instantiates an object in a way that allows PHP code injection.
Seen in 1 report
-
Unsanitised user input was reflected in error messages.
-
Unsanitised user input was passed directly to file_put_contents, writing attacker-controlled content into an executable PHP file.
-
Unsanitised user input was passed into a theme process function that generates executable PHP code.
-
Unsanitised user input was passed to shell commands and SQL queries, hardcoded secrets were present, and a file-reading servlet lacked path validation.
-
Unsanitised user input was written into PHP session files that the file inclusion could reach.
Seen in 1 report
-
An unsecured search path was used for a third-party library configuration file.
-
unserialize used uninitialised memory after an integer overflow, leaving a destructor pointer under attacker control.
Seen in 1 report
-
Untrusted cursors were deserialised with a term decoder that allows anonymous functions.
Seen in 1 report
-
Untrusted data from mobile apps was parsed without exploit mitigations and with outdated third-party libraries.
Seen in 1 report
-
Untrusted event data was inserted directly into a script via expression syntax without sanitisation.
-
Untrusted input was concatenated into a shell command without separating it from the tool's own options.
Seen in 1 report
-
Untrusted input was deserialised with the .NET binary formatter without validation.
Seen in 1 report
-
Untrusted input was deserialised without validation.
-
Untrusted input was concatenated into Cypher queries without sanitisation, and SAML objects from the database were deserialised without validating type or origin.
Seen in 1 report
-
Untrusted input was passed to the unsafe YAML load method, which supports tags that instantiate arbitrary classes.
Seen in 1 report
-
An untrusted JSON field was interpolated into a shell command and run through a shell interpreter.
-
Untrusted JSON was deserialised into Java objects without validating the class type.
Seen in 1 report
-
Untrusted model code ran in containers sharing a network namespace with a multi-tenant queue, allowing packet injection into an authenticated connection.