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.
-
Improper error handling in the Mocana nanoSSL library: TLS errors are ignored, leaving connections in an insecure state, and firmware updates lack cryptographic signing.
-
Improper handling of authentication in the REST interface let requests bypass auth and reach command execution.
-
Improper handling of file resumption during retries allowed a downloaded package to be replaced after verification.
-
Improper handling of user input in templates and insufficient authorization checks in specific endpoints.
-
Improper input handling in the GraphQL API and database queries allowed injected queries to execute code or read data.
Seen in 1 report
-
Improper input validation in certain .NET Framework methods.
Seen in 1 report
-
Improper input validation in SQL queries.
-
Improper input validation in the Jakarta Multipart parser allows crafted Content-Type headers to be interpreted as commands.
Seen in 1 report
-
Improper neutralisation of special elements used in a command allowed a crafted file to load a malicious DLL when run.
Seen in 1 report
-
Improper neutralisation of user-supplied input in notification links allows code injection when connected to a remote MCP server.
Seen in 1 report
-
Improper parameter validation leading to a buffer overflow and a format string flaw in a daemon.
Seen in 1 report
-
Improper path equivalence handling for filenames with an internal dot allowed writes to session storage that were later deserialised.
Seen in 1 report
-
Improper validation of Jiffle scripts allowed injection of Java code that was compiled by the Janino compiler.
-
Inadequate tracking of typed values meant stale values could appear in data dictionary entries and PL/pgSQL variables.
Seen in 1 report
-
Incomplete sanitisation using urldecode, string replacement, path checks and escapeshellcmd can be bypassed with paired quotes.
Seen in 1 report
-
Inconsistent handling of file paths and shortcut parameters caused security checks to be skipped for certain file types.
Seen in 1 report
-
Incorrect assumptions in JIT compiler optimisations led to type confusion in the renderer.
Seen in 1 report
-
Input sanitisation only removes standard EL delimiters, but alternative EL syntaxes bypass the filter.
-
Input validation was guarded by a condition on another parameter, so a non-zero value skipped validation and the unvalidated value reached a shell command.
-
Input was escaped for SQL but then placed inside double quotes in a shell command, allowing command substitution.
Seen in 1 report
-
Input was not sanitised when building HTML pages or OS command lines, and CSRF protections were missing.
Seen in 1 report
-
Input was written to a configuration file later executed by a privileged daemon without sanitisation.
Seen in 1 report
-
Insecure construction of command strings, insufficient validation of user-controlled arguments, and on Windows, searching for executables in the current directory before the system path.
Seen in 1 report
-
The installer only checked for .tar.gz in the name then passed it unsanitised to a shell command.
-
Installer scripts used the user environment variable unquoted, and signed packages ran with an entitlement to write to protected locations.
Seen in 1 report
-
The installer trusts per-user registry keys that low-privilege users can modify instead of machine-wide keys.
-
Insufficient file upload restrictions.
-
Insufficient input filtering, predictable token generation, and unsafe shell command construction.
-
Insufficient input validation on a plugin parameter allows code injection.
Seen in 1 report
-
Insufficient input validation when writing user-supplied settings to a config override file allowed PHP code injection.
Seen in 1 report
-
Insufficient shell escaping in a PHP script and injection through preprocessor directives in an Apache module.
Seen in 1 report
-
Insufficient validation and unsafe deserialisation of untrusted workflow data allowed attacker content to be compiled or deserialised.
Seen in 1 report
-
Insufficiently validated input was passed into an operating system command.
Seen in 1 report
-
Integer overflow in the length calculation for the IPTC data buffer leads to a smaller allocation than needed.
Seen in 1 report
-
Integration name and role parameters were reflected into a generated bash script without sanitisation.
-
The InterfaceType attribute was concatenated into generated C# source without validation or escaping.
-
Internal links use HTTP and the domains are not on the HSTS preload list.
Seen in 1 report
-
Internal packages were referenced by name without being claimed on the public registry.
Seen in 1 report
-
Internet-exposed management interfaces, default credentials and unpatched input-handling flaws with no network segmentation.
-
IRCCloud did not validate channel names, so newline characters were interpreted as IRC command separators.
Seen in 1 report
-
Issue content was written into a file through a shell command inside single quotes without escaping.
-
Jackson's deserialization maps an empty JSON key to the JavaScriptConfig parameter because it lacks a @JsonProperty annotation, allowing an attacker to override the configuration and enable JavaScript execution.
Seen in 1 report
-
Java's ProcessImpl class on Windows does not correctly quote command-line arguments according to Windows' parsing rules, and it fails to apply additional quoting when the executable is a .bat or .cmd file.
Seen in 1 report
-
The java.env script field was passed unmodified as arguments to the Java command that launches ZooKeeper.
Seen in 1 report
-
JdbcUtils.getConnection accepts a driver class name and URL and calls lookup on the URL without restricting it to safe protocols.
Seen in 1 report
-
Lack of server-side validation for quantity.
-
The Layer class unconditionally loads external models and serialises attacker-controlled file paths without validation.
Seen in 1 report
-
Leftover development code made the agent execute a file from a world-writable temporary directory as root.
Seen in 1 report
-
Less.js processes user-supplied code without sufficient restrictions, allowing inline JavaScript execution, remote plugin loading, and unrestricted file or URL imports.
Seen in 1 report
-
The library fails to validate user-supplied name or email fields before using them in a system call.