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 app failed to sanitise input in features that evaluate code or deserialise data, such as script filters, JMX connections and JNDI lookups.
Seen in 1 report
-
The app loaded a package manifest from an untrusted archive with lifecycle scripts enabled.
Seen in 1 report
-
The app passed an untrusted URL straight to the operating system's external URL handler without restricting the scheme or target.
Seen in 1 report
-
The app registration API had no authentication and passed the monitor parameter straight to a bash command.
Seen in 1 report
-
The app trusted a URL parameter for both data access and authorisation checks and did not restrict uploaded file types.
Seen in 1 report
-
The app trusted command-line switches reachable from a protocol handler, loaded remote script paths, and echoed raw script lines into an attacker-chosen output file.
Seen in 1 report
-
The app used an HTTP URL for its initial web content load, allowing interception and modification.
Seen in 1 report
-
The app_name argument flows unsanitised into shell, AppleScript and other command sinks.
-
The application allowed users with report-editing rights to upload and execute arbitrary Java scriptlets, combined with default administrative credentials on an internet-facing server.
Seen in 1 report
-
The application allows session variables to be set from HTTP headers without validation.
Seen in 1 report
-
The application assumed that a service listening on localhost is only reachable by local users, but browsers can be tricked into sending requests to localhost via DNS rebinding and form submission.
Seen in 1 report
-
The application attempts to load a missing DLL from a user-writable directory without verifying its integrity.
Seen in 1 report
-
The application built a class name directly from user input and passed it to class_exists, triggering autoloading of an attacker-influenced class.
-
The application built a shell command from an untrusted hyperlink URL, and the regex check could be bypassed with null bytes.
Seen in 1 report
-
The application built a shell command from the ID and FMT request parameters without sanitising or escaping them.
Seen in 1 report
-
The application built a tar command from user filenames without separating options from file arguments.
Seen in 1 report
-
The application built a template from user-controlled content and rendered it instead of passing the content as data into a fixed template.
-
The application built redirect URLs from the client-supplied Host header without an allowlist.
Seen in 1 report
-
The application built shell command strings from a user-controlled repository URL, and the p4 and svn wrappers failed to escape that argument properly.
Seen in 1 report
-
The application bundled an outdated version of the V8 JavaScript engine that contained a known vulnerability.
Seen in 1 report
-
The application called the YAML load method on untrusted input, allowing arbitrary object instantiation.
Seen in 1 report
-
The application called unserialise on user input without restricting classes, and a gadget class evaluated attacker code in its string conversion.
Seen in 1 report
-
The application called unserialize on untrusted cookie data without restricting which classes could be reconstructed.
-
The application called unserialize on user input from a GET parameter without validating the type or restricting allowed classes.
Seen in 1 report
-
The application concatenated a request parameter into a shell command string without escaping or validating it.
-
The application concatenated the user-controlled upload filename into a shell command without escaping or sanitising it, and returned verbose errors that disclosed the command.
Seen in 1 report
-
The application constructed a shell command by directly interpolating an attacker-controllable archive path.
Seen in 1 report
-
The application deserialised a user value after only verifying its integrity with a secret that could be disclosed, without validating the object.
-
The application deserialised a user-controlled cookie using Python's pickle module without any integrity check or validation.
Seen in 1 report
-
The application deserialised CArchive objects from untrusted input without validating the data, allowing attacker-controlled objects to be reconstructed and executed.
-
The application deserialised untrusted binary data from the State Service using BinaryFormatter without a serialization binder.
-
The application deserialised untrusted data from project files without validation.
-
The application deserialised untrusted data from resource files without validation.
Seen in 1 report
-
The application deserialised untrusted data from SOAP requests without validation.
Seen in 1 report
-
The application deserialised untrusted data using a load function that can instantiate arbitrary objects and trigger dangerous methods.
Seen in 1 report
-
The application deserialised untrusted data with Python's pickle module.
Seen in 1 report
-
The application deserialised untrusted data, letting attacker-controlled object graphs reach dangerous classes.
Seen in 1 report
-
The application deserialised untrusted input from the ThumbnailsAccessToken header using BinaryFormatter without validation or type restrictions.
Seen in 1 report
-
The application deserialised untrusted input with Oj.load, which by default can instantiate arbitrary Ruby objects, enabling gadget-chain code execution.
Seen in 1 report
-
The application deserialised untrusted user input without validation, allowing a gadget chain to execute arbitrary code.
Seen in 1 report
-
The application deserialised untrusted XAML files without sandboxing or restricting object types.
Seen in 1 report
-
The application deserialised untrusted XML input without validating the object type.
-
The application deserialised user-controlled cookie data and allowed the attacker to specify arbitrary .NET types.
Seen in 1 report
-
The application deserialised user-controlled data from the requester attribute without validation or filtering.
Seen in 1 report
-
The application deserialised user-controlled serialised data without validating the class type or using a signed token.
-
The application deserialised user-supplied data without validating or restricting the classes that could be instantiated.
Seen in 1 report
-
The application deserialized untrusted data with a loader that instantiates arbitrary objects and invokes methods.
Seen in 1 report
-
The application deserialized untrusted input in the ViewState parameter and the datasource parameter used in a JNDI lookup without validation.
-
The application did not sanitise user-supplied parameters when mounting an SMB share, allowing shell command injection via the password field.
-
The application did not validate the script path in event listeners, allowing directory traversal to internal scripts that pass arguments to a shell.
Seen in 1 report