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.
-
Parsers mishandled crafted input, causing use-after-free, type confusion, integer overflow or out-of-bounds access.
Seen in 90 reports
-
User input was concatenated into shell command strings without escaping or validation.
Seen in 53 reports
-
User input was passed into an expression language evaluator during page rendering without validation, escaping or allow-listing.
Seen in 53 reports
-
User-controlled bean or class name parameters were passed into an expression language evaluation without validation or escaping.
Seen in 36 reports
-
User-controlled parameters were passed straight into a deserialisation routine without validating or restricting the classes that could be instantiated.
Seen in 34 reports
-
User-controlled beanName values were passed into page rendering and expression language evaluation without validation or escaping.
Seen in 29 reports
-
Request parameters are passed into system calls without validation or escaping.
Seen in 26 reports
-
Configuration parsers pass user-controlled strings into Python code-execution functions instead of treating them as inert data.
Seen in 21 reports
-
Endpoints deserialised user-supplied data without validating or restricting the classes that could be instantiated.
Seen in 21 reports
-
The workflow used the privileged pull_request_target event, which grants write tokens and secrets, and then explicitly checked out and executed untrusted code from the pull request's fork.
Seen in 19 reports
-
User-controlled input was concatenated into a shell command string without escaping or validation.
Seen in 19 reports
-
Untrusted input such as branch name, pull request title, commit message, issue title, issue body or comment text was interpolated directly into a shell command without sanitisation or safe quoting.
Seen in 18 reports
-
The application deserialised pickle files from untrusted sources without validation or a safe loader.
Seen in 17 reports
-
User-controlled input was passed directly into a system call without sanitisation.
Seen in 17 reports
-
The HNAP1 SOAP endpoint passed request parameters directly into system calls without sanitisation.
Seen in 15 reports
-
User input was concatenated into shell commands without escaping or argument separation.
Seen in 15 reports
-
Deserialisers trust class names or serialised data from requests and instantiate arbitrary classes without a whitelist.
Seen in 12 reports
-
Installers attempted to load a non-existent cloud resource that an attacker could take over.
Seen in 12 reports
-
Serialised objects from untrusted files or pages were loaded without validation, allowing code to run on load.
Seen in 12 reports
-
Special elements in a command were not neutralised, so attacker input was interpreted as part of the command.
Seen in 12 reports
-
Many bugs were memory corruption from uninitialised objects, dangling pointers, integer overflows and out-of-bounds counters in parsers.
Seen in 11 reports
-
The app failed to properly validate or safely handle the contents of a crafted 3D model file before processing it.
Seen in 11 reports
-
User input was not sanitised before being used in shell commands, and CSRF tokens were missing.
Seen in 11 reports
-
CGI scripts passed unvalidated user input straight into system calls or popen.
Seen in 10 reports
-
Checkpoint loaders deserialise file contents without validating them or restricting which object types may be reconstructed.
Seen in 10 reports
-
The driver did not properly validate or handle a malicious networking packet received from a SQL server during connection.
Seen in 10 reports
-
An MSMQ client trusted and processed data from the server it connects to without adequately validating it, so a malicious server could influence code execution on the connecting host.
Seen in 10 reports
-
User input was concatenated into shell commands without sanitisation or escaping across routers, APIs, admin panels and forms.
Seen in 10 reports
-
Decode methods deserialise untrusted input without validating or restricting the classes that can be instantiated.
Seen in 9 reports
-
Document and launch handlers executed embedded script without presenting the expected security warning.
Seen in 9 reports
-
SharePoint does not validate the source markup of uploaded application packages before processing them.
Seen in 9 reports
-
The application called unserialize on user-controlled input without validating or restricting the allowed classes.
Seen in 9 reports
-
User-supplied fields from router settings requests were passed into system calls without validation or sanitisation.
Seen in 9 reports
-
Script files were treated as trusted and dangerous methods ran without a sufficient user warning.
Seen in 8 reports
-
The CSV export wrote user-controlled fields without escaping or prefixing them, so spreadsheet software interpreted them as formulas.
Seen in 8 reports
-
The deserialiser did not restrict which classes or types could be instantiated from user input.
Seen in 8 reports
-
A Flight deserialiser decoded attacker-controlled data without sufficient validation, letting crafted structures reach dangerous JavaScript behaviour.
Seen in 8 reports
-
Untrusted data was deserialised without restricting which object types could be reconstructed.
Seen in 8 reports
-
User input was concatenated into shell commands without sanitisation or escaping.
Seen in 8 reports
-
Export routines wrote values verbatim without prefixing formula-triggering characters, so spreadsheet formulas in user data were evaluated on open.
Seen in 7 reports
-
Model file parsers deserialised untrusted data without sufficient validation.
Seen in 7 reports
-
Multiple services deserialised untrusted input without restricting accepted types.
Seen in 7 reports
-
Named request elements are passed into a command or script context without validation or escaping.
Seen in 7 reports
-
Template sandboxes exposed objects whose object graph reached dangerous classes, allowing sandbox escape.
Seen in 7 reports
-
The application used the .NET binary formatter on files from user-writable locations without validating contents.
Seen in 7 reports
-
A method deserialised untrusted input without validating or restricting the types that could be instantiated.
Seen in 7 reports
-
Untrusted data was passed to deserialisers without type allow-lists, secure coding flags or authentication.
Seen in 7 reports
-
Untrusted data was deserialised without validation across plugins, APIs, file parsers and libraries.
Seen in 7 reports
-
User input was concatenated into a string passed to create_function or eval, which evaluates it as PHP code instead of treating it as data.
Seen in 7 reports
-
User-controlled fields from requests or protobuffer messages were formatted into shell commands without escaping.
Seen in 7 reports