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.
-
Administrative interfaces passed user-controlled parameters into shell commands.
Seen in 6 reports
-
Applications loaded dynamic libraries from relative paths.
Seen in 6 reports
-
The component fails to properly validate user-supplied data, leading to deserialisation of untrusted data.
Seen in 6 reports
-
Console commands passed unsanitised arguments to system or popen calls.
Seen in 6 reports
-
Endpoints and local servers were reachable without authentication or lacked permission checks.
Seen in 6 reports
-
Methods deserialised attacker-supplied data without validating or restricting the types they accept.
Seen in 6 reports
-
SharePoint did not check the source markup of uploaded application packages, so malicious markup was processed as code.
Seen in 6 reports
-
The deserialiser trusted attacker-supplied object structures and resolved fake promises without validating types.
Seen in 6 reports
-
The disable-library-validation entitlement was enabled, allowing unsigned dynamic libraries to load.
Seen in 6 reports
-
The host-side RemoteFX vGPU component trusted and mishandled input supplied by guest virtual machines.
Seen in 6 reports
-
The server deserialised attacker-influenced data without restricting which types could be created.
Seen in 6 reports
-
The web service passed user-supplied values such as filename, URL string and request headers into system calls without validation or escaping.
Seen in 6 reports
-
Untrusted serialised data was deserialised without filtering or an allowlist.
Seen in 6 reports
-
User input was passed into a server-side template engine without escaping or validation, so template syntax was evaluated.
Seen in 6 reports
-
User-supplied parameter values were written into a PHP data file without sanitising or escaping, so the values became executable code.
Seen in 6 reports
-
Workflows inserted untrusted pull request data such as branch names, titles or commit descriptions directly into shell or JavaScript scripts without sanitisation.
Seen in 6 reports
-
Bash evaluated the entire contents of environment variables that looked like function definitions instead of stopping at the closing brace.
Seen in 5 reports
-
Cryptographic keys and credentials are embedded in source or firmware, enabling session forgery and decryption.
Seen in 5 reports
-
A flaw in on-premises Azure Site Recovery components allows code execution when an attacker already has administrative access.
Seen in 5 reports
-
Multiple flaws: an unsanitised file path in the template parameter, unsafe PHP unserialize on user upload, XXE in XML parsing, and unsafe pickle deserialization in an internal service.
Seen in 5 reports
-
Several products allowed arbitrary file upload that led to code execution.
Seen in 5 reports
-
Several products had weak or bypassable authentication in agents and servers.
Seen in 5 reports
-
Several services passed attacker input directly into format string functions.
Seen in 5 reports
-
The application deserialises attacker-influenced data without adequate validation or type restrictions.
Seen in 5 reports
-
The dbman service passed unvalidated user-supplied input into a system call, allowing command injection.
Seen in 5 reports
-
An OLE DB provider did not properly validate or handle data returned from a database server.
Seen in 5 reports
-
A parser took a string from the project file and passed it into a command execution routine without validating or sanitising it.
Seen in 5 reports
-
The restore process copied user-supplied OpenVPN and dnsmasq option values into service configuration without validation or escaping, and the service executed them.
Seen in 5 reports
-
Untrusted bean properties were passed into constraint violation message templates that evaluate Java EL expressions.
Seen in 5 reports
-
Untrusted serialised data was deserialised without validating or restricting object types.
Seen in 5 reports
-
Upload features validated only the declared extension or type and stored files where they could be executed.
Seen in 5 reports
-
User input was concatenated into a command string passed to child_process.exec, which invokes a shell, instead of being passed as a separate argument.
Seen in 5 reports
-
User-controlled fields were included in CSV exports without escaping or prefixing, allowing formula injection.
Seen in 5 reports
-
User-supplied strings were passed to Python evaluation or execution functions without validation or sandboxing.
Seen in 5 reports
-
A privileged workflow event was combined with checking out and running code from a fork, giving untrusted code write access and secrets.
Seen in 4 reports
-
A url parameter is inserted into a command string without validation.
Seen in 4 reports
-
Administrative interfaces are exposed with default or hidden credentials and no network restriction.
Seen in 4 reports
-
An in-place optimisation removed the separation between source and destination buffers, so a scratch write landed in the page cache of the input file.
Seen in 4 reports
-
An out-of-memory or fatal error abandoned a request midway, leaving global state pointing at freed or uninitialised memory.
Seen in 4 reports
-
The application logged attacker-controlled input through a vulnerable Log4j version that performed message lookup substitution.
Seen in 4 reports
-
Applications loaded libraries from locations an attacker could control because the input determining which library was loaded was not validated.
Seen in 4 reports
-
Client components processed data returned by a server they connect to without proper validation.
Seen in 4 reports
-
Endpoints and binaries performed no authentication check before accepting sensitive actions such as firmware upload, settings changes or code compilation.
Seen in 4 reports
-
Global pointers into the request heap are not cleared after a fatal out-of-memory error, so later requests use stale pointers.
Seen in 4 reports
-
Library methods constructed shell commands by concatenating user-supplied arguments without escaping or validation.
Seen in 4 reports
-
Methods deserialised user-supplied data without validating or restricting the object types that could be created.
Seen in 4 reports
-
Newline characters in parameters were not filtered before values were written into configuration files.
Seen in 4 reports
-
POST parameters were passed into system, popen or sprintf calls without sanitisation.
Seen in 4 reports
-
Request data was deserialised without restricting which classes could be instantiated.
Seen in 4 reports
-
Sandboxes relied on blocklists or incomplete constructor coverage that could be bypassed.
Seen in 4 reports