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.
-
User-controlled theme settings were passed into a LESS parser without sanitisation.
Seen in 1 report
-
User-controlled URIs were passed straight to an expression parser, allowing arbitrary expressions to be evaluated.
Seen in 1 report
-
User-controlled values were escaped for shell metacharacters but not separated from command options with a delimiter, allowing argument injection.
Seen in 1 report
-
User-controlled values passed into constantize and new, reaching classes with dangerous constructors.
-
User-controlled values reached file functions without restricting the scheme or content, so a phar path or serialised string was processed.
Seen in 1 report
-
User-controlled values were concatenated into a shell command passed to a shell interpreter without escaping.
Seen in 1 report
-
User-controlled values were passed as arguments to a git command, and one argument could run shell commands.
Seen in 1 report
-
User-controlled YAML was passed to a YAML reader that instantiated specified classes and called setters.
Seen in 1 report
-
User-influenced package names were concatenated into a pip command and relied on a blocklist that ignored pip's own flag syntax and newlines.
-
User-supplied base64 strings were passed to a deserialisation helper without validating the resulting object.
Seen in 1 report
-
User-supplied branch name was inserted into a shell command without sanitisation; expression language injection in pipeline expressions.
-
User-supplied code ran without adequate sandboxing and network controls did not block outbound DNS.
-
User-supplied content in shared decks was insufficiently isolated and sanitised, allowing code execution outside the sandbox.
-
User-supplied domain names were concatenated directly into shell commands without sanitisation or escaping.
Seen in 1 report
-
User-supplied email templates were rendered by a template engine without sandboxing or sanitisation.
-
User-supplied expressions were compiled into code without a sandbox or restriction on what the code could do.
-
User-supplied filenames were concatenated into a shell command for the zip binary, and file selection was unrestricted.
-
User-supplied form data was passed to unserialize without filtering.
Seen in 1 report
-
User-supplied form fields went through unserialise without validation, and a deep slashing call let the serialisation check be bypassed.
Seen in 1 report
-
User-supplied group names were passed directly into the template engine without sanitisation.
-
User-supplied input was embedded directly into an expression without sanitisation.
-
User-supplied input was not neutralised before being used to generate or execute code.
Seen in 1 report
-
User-supplied input was passed directly to an LDAP query without validation.
-
User-supplied input was passed to a command-line executor without validation.
Seen in 1 report
-
User-supplied JavaScript was executed in a Node.js runtime without sandboxing or blocking dangerous globals and modules.
Seen in 1 report
-
User-supplied OID values were written straight into the SNMP configuration as exec entries.
Seen in 1 report
-
User-supplied options were merged into the render options object without restricting dangerous properties.
Seen in 1 report
-
User-supplied parameters were passed into a shell command without escaping before an exec call.
Seen in 1 report
-
User-supplied profile fields were passed into Smarty templates without escaping or sandboxing, so template tags were compiled and executed.
-
User-supplied property names were evaluated as XPath expressions by a library.
Seen in 1 report
-
User-supplied server code could call a shell execution function without enough isolation, so commands ran as root inside the sandbox.
Seen in 1 report
-
User-supplied strings in log upload processing were not validated before use in a system call.
Seen in 1 report
-
User-supplied templates were rendered server-side without restricting which tags or variables could be used.
Seen in 1 report
-
User-supplied URLs were passed to operating system functions without validating scheme or destination.
Seen in 1 report
-
User-supplied values from network settings APIs were inserted into shell command strings without validation or escaping.
Seen in 1 report
-
User-supplied XSLT was passed to the Saxon parser without disabling extension functions that call static .NET methods.
Seen in 1 report
-
User-supplied ZIP files were extracted without validating contents into a predictable web-accessible directory.
Seen in 1 report
-
Username validation did not reject control characters, so a newline broke out of the exec line.
Seen in 1 report
-
Utility scripts used pickle.load on untrusted files.
Seen in 1 report
-
Validation and the loader used two different notions of a file extension, so a filename equal to the extension passed the string check.
-
Validation happens on one representation of a value while execution happens on another, such as a raw filename versus the OS-canonicalised path.
Seen in 1 report
-
Validation relied on server-provided headers rather than checking the actual file content.
Seen in 1 report
-
Validator only matched identifier nodes and did not resolve call expression results; node names were interpolated without escaping.
-
Validator returned no name for nested call expressions and the check was silently skipped instead of failing closed.
Seen in 1 report
-
Value of the PL_TRAINER_GPUS environment variable was passed to a shell or eval-like function without proper sanitisation.
Seen in 1 report
-
Critical
-
-
Value read from a project file was passed into a system call without validation.
-
Variable name was freed on an invalid boolean value, then the same element was processed again, causing a double free.
Seen in 1 report
-
Velocity templates evaluated a value attribute and the result was passed to a Webwork tag that evaluated it again as an expression.
Seen in 1 report
-
ViewState encryption was disabled and payloads were signed with a publicly known default machine key.
Seen in 1 report
-
Visual Studio deserialises data from a file without sufficiently validating it.
Seen in 1 report