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.
-
A tcpdump flag was not escaped or removed, allowing a post-rotate command to be supplied and executed as root.
Seen in 1 report
-
A template rendering feature accepted attacker-controlled input without proper authorisation or sandboxing, allowing code to be written to disk and executed.
Seen in 1 report
-
A template-injection flaw evaluated attacker-supplied template expressions, letting the request call PHP functions such as file_put_contents and include.
Seen in 1 report
-
A test endpoint lacked file type restrictions and stored uploads in a web-accessible directory with listing enabled.
Seen in 1 report
-
A test script was reachable in production and passed user input into code execution.
-
A test server exposed default manager credentials in a publicly accessible backup file, and credentials were reused across environments.
Seen in 1 report
-
A theme upload script allowed arbitrary file uploads without authentication or file type validation.
Seen in 1 report
-
A third-party driver exposes arbitrary kernel memory read/write through its IOCTL interface.
-
A tool concatenated a user-supplied filename into a shell command string without sanitising or escaping it.
Seen in 1 report
-
A trust confusion between Exchange front-end and back-end services, where the front end forwards requests the back end treats as coming from the server itself.
-
A type confusion in how SharePoint handles submitted content, where data of one type is processed as another.
Seen in 1 report
-
A typosquatted gem name combined with a build-time extension that runs attacker code during installation.
Seen in 1 report
-
Critical
-
-
A URL filter uses a weak substring check that can be bypassed.
Seen in 1 report
-
A use-after-free in an array sort function combined with a JIT compiler leaving executable memory writable.
Seen in 1 report
-
A user-controlled argument was stored and later passed directly to an eval statement in a shell CGI script.
-
A user-controlled base64 string was decoded and passed to a template renderer without sanitising template tags.
Seen in 1 report
-
A user-controlled branch name is placed in a Windows shell command without escaping metacharacters.
Seen in 1 report
-
A user-controlled connection field was passed into a command-line option without validation.
Seen in 1 report
-
A user-controlled cookie value was passed to exec without sanitisation, and the added authentication layer did not stop the injection.
Seen in 1 report
-
A user-controlled cookie was deserialised into a data structure without validation.
Seen in 1 report
-
A user-controlled cookie was deserialised without integrity checks and its file path was used in a file deletion function.
Seen in 1 report
-
A user-controlled cookie was unserialised and its file path used in an include without validation.
Seen in 1 report
-
A user-controlled file path was passed to a desktop open function that executes files.
Seen in 1 report
-
A user-controlled hostname was passed into a system call inside double quotes, allowing shell expansion.
-
A user-controlled NVRAM value was copied into a fixed-size stack buffer without a length check.
Seen in 1 report
-
A user-controlled parameter was passed directly into a shell command without sanitisation.
-
A user-controlled path reached file_exists() without checking the protocol, allowing the phar wrapper.
Seen in 1 report
-
A user-controlled path was passed to file operations without validation or restriction.
-
A user-controlled request parameter was passed unvalidated as the method name to invoke on an object.
-
A user-controlled string from a Collab object was passed to a system call without validation.
-
A user-controlled string was insufficiently escaped before being used in a dynamic function creation call.
-
A user-controlled string was passed as the format argument to a formatted print function.
-
A user-controlled URI component was passed to a system call without sanitisation.
Seen in 1 report
-
A user-controlled URL was concatenated into a shell command, so extra options could be injected.
Seen in 1 report
-
A user-controlled value from the DHCP client configuration was concatenated into a shell command without validation or escaping.
-
A user-supplied Cookie header was used as a format string.
Seen in 1 report
-
A user-supplied filename was inserted into a shell command without validation.
Seen in 1 report
-
A user-supplied LED command parameter was passed directly to a system call without sanitisation.
Seen in 1 report
-
A user-supplied parameter map was passed straight into a JSON deserialisation routine that reached a vulnerable library without the whitelist used elsewhere.
Seen in 1 report
-
A user-supplied path parameter was used in a system call without validation.
Seen in 1 report
-
A user-supplied path reaches the image library without restricting which formatters or delegates may be used.
-
A user-supplied path was passed to require() without restricting it to a safe directory.
Seen in 1 report
-
A user-supplied string was not validated before being used to run a system call.
Seen in 1 report
-
A user-supplied string was not validated before being used to update configuration.
-
A user-supplied string was passed into a shell command without sanitisation.
Seen in 1 report
-
A user-supplied URL was passed to a shell execution function without escaping, so shell metacharacters in the URL were interpreted.
-
A validation regex that hits the backtrack limit makes the replace call return an empty string, so the following security check passes.
Seen in 1 report
-
A value from the message body was passed to Ruby's open helper without checking that it was a plain web address.
Seen in 1 report
-
A value read from an HDF5 file was passed to eval, so stored data ran as code.
Seen in 1 report
-
A version control driver built shell command strings from untrusted package metadata and composer.json values without escaping them.
Seen in 1 report