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 workflow combined a privileged trigger exposing secrets with checkout and execution of untrusted fork code, with no access controls.
-
The XML parser did not correctly validate or handle crafted input.
Seen in 2 reports
-
The XML-RPC handler deserialised untrusted Java objects without validation, and the classpath contained gadget classes.
-
The XML-RPC handler passed user-controlled input directly to PHP unserialize without restricting classes or validating data.
Seen in 2 reports
-
Unsafe deserialisation of parameters from an uploaded file, reachable through API requests.
-
Unsanitised SMTP input was passed to popen when building a shell command.
-
Untrusted input was used as a constraint violation message template that supports expression language interpolation.
-
Untrusted text was interpolated directly into shell scripts instead of being passed as data, so shell metacharacters were executed.
-
Untrusted workflow context values such as branch names and pull request titles were interpolated directly into shell commands without quoting or validation.
-
Untrusted XML was read into a data set, which is unsafe with untrusted input.
-
Uploaded archives were extracted into a web-accessible directory before dangerous file types were deleted asynchronously, creating a race window.
-
User input was embedded directly into a server-side template and rendered instead of being treated as plain data.
-
User input was evaluated as an OGNL expression instead of being treated as data.
-
User input was passed into an expression the server evaluated, allowing arbitrary code to run.
Seen in 2 reports
-
Critical -
Critical
-
-
User input was passed to a server-side include processor without sanitisation or escaping.
-
User-controlled annotation and UID values were inserted into the NGINX configuration template without sanitisation.
-
User-controlled filenames went into a shell invocation via open instead of File.open, so metacharacters were interpreted.
-
User-controlled keys were concatenated into generated PHP source without escaping or validation.
-
User-controlled profile name was passed into a Jinja2 template without escaping, causing server-side template injection.
-
User-controlled wiki page content was passed into a template engine without sandboxing, or into preg_replace without sanitisation.
-
User-supplied code was evaluated on the server with no sandboxing or privilege separation.
-
User-supplied data was deserialised without validation, letting an attacker control the objects being reconstructed.
-
User-supplied input to the login endpoint was passed to a system shell without sanitisation.
-
User-supplied parameters were concatenated into shell commands without validation or escaping.
-
User-supplied strings were written to the terminal without stripping control characters.
Seen in 2 reports
-
Windows code path concatenates user input into a shell command without sanitisation, unlike the Linux path.
-
Windows did not properly validate or restrict how shortcut references were processed, allowing a crafted shortcut to cause execution of an accompanying binary.
Seen in 2 reports
-
Workflows used pull_request_target, which gives access to secrets and a write token, and then checked out and ran code from the pull request.
-
Workspace-local MCP configuration was loaded and executed without validation or user consent.
-
A 256-byte path buffer was passed to the shell without accounting for the 260-character path limit, so long paths truncated to another file.
Seen in 1 report
-
A backdoor in the build infrastructure made the password change script pass a parameter to a shell without sanitisation.
Seen in 1 report
-
A bare DLL name was passed to the loader for a library not shipped with the app, so the working directory was searched and an attacker file loaded.
Seen in 1 report
-
A bare library name was passed to dlopen instead of an absolute path, so the loader search order included user-controlled directories.
-
A blocklist denies a fixed set of executable extensions but allows other file types that can run code when opened.
Seen in 1 report
-
A boolean logic error in the setup page's access check used '&&' instead of '||', so providing any Action parameter bypassed the redirect to authentication.
Seen in 1 report
-
A branch name was not sanitised before being used in a shell command during checkout.
Seen in 1 report
-
A buffer is built with user-controlled request URI input and later becomes part of a shell script filename.
Seen in 1 report
-
A buffer overflow in glibc's iconv implementation when converting to the ISO-2022-CN-EXT charset allows overwriting heap memory when triggered via PHP's convert.iconv filter.
-
A bundled library ran a command using a relative path that resolved inside the opened project directory.
-
A bundled scheduler deserialised a database column with an unfiltered object stream and an outdated collections library on the classpath.
-
A caller-supplied URI was concatenated into a shell command string instead of being passed as a separate escaped argument.
Seen in 1 report
-
A case-insensitive file system let a symbolic link overwrite a file later processed by a clean/smudge filter.
Seen in 1 report
-
A case-sensitive Content-Length check leads to uninitialised memory disclosure.
Seen in 1 report
-
A chain of weak configurations: an unauthenticated file share holding sensitive backups, password reuse, an unpatched command injection and a passwordless sudo rule.
Seen in 1 report
-
A class used user-supplied input for file paths without validation, allowing arbitrary file writes.
Seen in 1 report
-
A client-controlled environment variable was expanded into a login command line without escaping, allowing argument injection.
Seen in 1 report
-
A client-supplied JWT claim was trusted to grant privileged features.
-
A code agent did not validate or restrict the Python code produced by the LLM and ran it without a sandbox.
Seen in 1 report
-
A code injection weakness that failed to safely handle input from an authenticated administrator.
Seen in 1 report
-
A code validation endpoint passes user-supplied code to execution functions without authentication or validation.
Seen in 1 report