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 service wrote logs in a directory writable by all users, allowing a low-privileged user to redirect the write.
Seen in 1 report
-
The service wrote logs into a world-writable directory and accepted IPC commands granting broad permissions without validation.
-
The session ID from a cookie was concatenated into a file path without sanitisation, and a filename derived from that path was passed to a shell command with shell=True.
Seen in 1 report
-
The session ID from the cookie was joined into a filesystem path without validation, and a later script passed filenames to a shell.
-
The session token handler deserialised cookie data with a binary formatter after only cryptographic transforms.
Seen in 1 report
-
The settings interface allowed newline characters to be injected into .env configuration values, enabling arbitrary PHP code execution via Laravel's unserialize of sessions.
Seen in 1 report
-
The setup token was returned by an unauthenticated API endpoint and could invoke privileged functionality that ran commands.
-
The shared integration runtime contained a client certificate with full permissions to a powerful internal API server, and the connector allowed shell injection.
Seen in 1 report
-
The shared runner ran jobs in privileged docker-in-docker containers with no isolation between workloads.
Seen in 1 report
-
The shell binary used unsafe API calls such as sprintf and system with user-controlled input without validation or bounds checking.
Seen in 1 report
-
The shell did not stop parsing an environment variable after an exported function definition, so trailing commands were executed.
Seen in 1 report
-
The shell integration feature did not authenticate or validate the source of escape sequences, allowing any terminal output to spoof the last command.
Seen in 1 report
-
The shell-escape library failed to encode semicolons and curly braces, so input to a shell exec could break out.
Seen in 1 report
-
The shortcut creation code did not escape the percent character, so a field code expanded to the attacker-controlled page title before argument parsing.
Seen in 1 report
-
The shortcut handler did not validate or restrict the file name or path it was given.
Seen in 1 report
-
The shrinkwrap file stored plain HTTP registry URLs, so package downloads were not protected against tampering.
Seen in 1 report
-
The SMBv1 implementation contained a buffer overflow allowing remote code execution.
Seen in 1 report
-
The SMBv1 server did not properly validate specially crafted requests, leading to memory corruption.
Seen in 1 report
-
The SMTP library did not validate input for MAIL FROM or RCPT TO.
Seen in 1 report
-
The SMTP password value was written into the configuration file without rejecting or escaping newline characters.
Seen in 1 report
-
$5,000 Critical
-
-
The SnakeYAML parser was instantiated without a SafeConstructor, allowing arbitrary Java object deserialisation from untrusted YAML.
Seen in 1 report
-
The SOAP Connector service deserialised Java objects from untrusted HTTP requests without adequate validation.
Seen in 1 report
-
The software chose a dangerous deserialisation function based solely on the file extension.
Seen in 1 report
-
The Solr admin interface is exposed without authentication and runs a version vulnerable to Velocity template execution.
Seen in 1 report
-
The sort function cached a pointer to the array's backing store before calling the comparison callback and wrote back through the stale pointer afterwards.
Seen in 1 report
-
The Spark client deserialises data received from the Spark server without validating it, allowing an attacker-controlled server to send a malicious serialised payload that executes code.
Seen in 1 report
-
The spooler installed printer drivers supplied by a server without adequately validating them.
Seen in 1 report
-
The spooler loaded a constraints file from a path that could be redirected through a symbolic link and a rogue protocol handler.
-
The spooler's validation of the spool directory path could be bypassed with a directory junction and a UNC path.
-
The SSH auth log was world-readable and the LFI endpoint executed code found inside it.
Seen in 1 report
-
The SSH CLI did not sanitise user-supplied username and password values before combining them into FTP commands executed via execle.
-
The SSH client passed user parameters directly to the ssh command without sanitising argument separators, and the wheel_async client lacked an authentication check while the pillar roots write allowed path traversal.
Seen in 1 report
-
The SSH environment handler passed a user-controlled variable name straight to the env command, so a leading dash was treated as an option.
-
The SSH front-end did not sanitise the username before using it in a context where newlines were interpreted as environment variable assignments.
Seen in 1 report
-
The SSH service shipped with fixed, unchangeable credentials instead of unique authentication.
Seen in 1 report
-
The ssh URL parser allowed hostnames beginning with a dash, which were passed to the ssh command without validation, enabling option injection.
Seen in 1 report
-
The SSID from a scanned QR code was passed to a system call without validation.
Seen in 1 report
-
The SSID was inserted into a command string passed to popen without sanitisation, allowing shell metacharacters to be interpreted.
Seen in 1 report
-
The startElementNs callback uses strcat to append XML element names to a fixed global buffer without any length check, allowing a heap overflow that overwrites a nearby SAX handler function pointer.
Seen in 1 report
-
The StaticDataLoader class deserialises data without validating that it comes from a trusted source.
-
An attacker-controlled class name was passed to a require statement that Perl evaluated as code.
Seen in 1 report
-
The subject field was passed into a FreeMarker template without sanitisation.
Seen in 1 report
-
The sudo version was vulnerable to a buffer overflow when password feedback was enabled.
Seen in 1 report
-
The suffix of the recipient address was placed into the SMTP command format string without checking for carriage return or line feed characters.
-
SVNBridge deserialised untrusted data without proper validation, and an SSRF let an attacker supply that data.
-
The target argument was concatenated into a string passed to child_process.exec, so the shell interpreted metacharacters.
Seen in 1 report
-
The Task Scheduler failed to neutralise special command elements before passing them to a command interpreter.
Seen in 1 report
-
The telnet feature placed no restrictions on destination host, port, or recording file path and extension.
Seen in 1 report
-
The telnet service granted access without requiring any authentication before accepting remote connections.
Seen in 1 report
-
The template engine allowed calling any exported method on the data object passed to the template, so a user-controlled template could invoke dangerous methods.
Seen in 1 report