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 errdemon process did not sanitise the resource_name field before building a command string passed to execve.
Seen in 1 report
-
The escape function did not account for single carriage return characters, which cmd.exe treats as pressing Enter.
Seen in 1 report
-
The escape regex treated a trailing backslash before a newline as escaping the following quote because the end anchor also matches before a final newline.
Seen in 1 report
-
The escaping did not account for PowerShell's backtick escape character, allowing command injection.
Seen in 1 report
-
The escaping function handled double quotes but not single quotes while the generated code used single-quoted literals.
Seen in 1 report
-
The evaluator used a full standard evaluation context instead of a restricted one, and a URL was assembled from unvalidated user input before being fetched.
-
The event processor admin service did not validate or restrict the content of execution plans.
Seen in 1 report
-
The example BashOperator template inserted the user-controlled run_id into a shell command string without escaping.
Seen in 1 report
-
The ExcelDataSet control deserialised attacker-controlled input without restricting which types could be created.
-
The exec function passed user-influenced arguments directly to a process launch without validation and inherited all host environment variables.
Seen in 1 report
-
The exec sandbox was created without an empty builtins dictionary, so user code kept access to all built-in functions.
Seen in 1 report
-
The explainer loading path deserialises model data without validation.
-
The export feature trusted user-supplied filename and report-name values, writing attacker-controlled content to a web-served path without restricting file type or location.
Seen in 1 report
-
Critical
-
-
The export sanitisation only checked the start of the cell value and did not account for a leading newline character before the formula.
Seen in 1 report
-
The exportAsText JavaScript method lacks proper restrictions, allowing arbitrary file writes that can lead to code execution.
-
The exported intent handler passed an extra as command line arguments without restricting the library-loading option.
Seen in 1 report
-
The exported shell command used quoting that an old bash version mishandled during history expansion, so metacharacters in the request body were executed.
Seen in 1 report
-
The exportXFAData method accepted a caller-controlled file path without restricting where files could be written.
-
The expression datasource passed user SQL to DuckDB without restricting file access or extension loading.
Seen in 1 report
-
The expression engine evaluated user input as code without restricting which types and methods could be used.
Seen in 1 report
-
The expression evaluator ran user input as JavaScript without a real sandbox and without isolating the execution context.
-
The expression interpreter was invoked with the 'limited' flag set to false on user-controlled input.
Seen in 1 report
-
The extension check used an unanchored regular expression, so any filename containing the permitted extension passed.
Seen in 1 report
-
The extension did not safely handle environment variables when validating source code, letting attacker-controlled values influence execution.
Seen in 1 report
-
The extension failed to properly handle repository content, so opening a malicious cloned repository ran attacker-chosen code.
-
The extension loaded and executed MCP server configurations from the workspace without a consent prompt or workspace trust check, and spawned processes inherited the user's complete environment.
-
The extension passed user-controlled input from a vscode:// URI directly as an argument to the ssh command without sanitisation.
-
The extension treated a workspace-controlled setting as a trusted executable path and ran it without confirmation.
Seen in 1 report
-
The Factory class did not check the type of the source parameter, allowing an attacker to supply an array that was used as a configuration to instantiate an arbitrary driver, which then deserialized untrusted data.
Seen in 1 report
-
The factory data service passes an unvalidated user-supplied string to a system call, enabling argument injection.
Seen in 1 report
-
The factory did not validate pathname and readonly properties from the JNDI reference, allowing an arbitrary file write.
-
The failed-login logging code formats the username into a command string and passes it to system(), so shell metacharacters in the username are executed.
Seen in 1 report
-
The fast-invoke path checked only for the property put flag and ignored the putref flag, routing a putref to the getter and causing a type confusion.
-
The feature created a file from the unsanitised session cookie value, allowing path traversal and command injection.
Seen in 1 report
-
The Felix console was exposed without access controls, used default admin credentials, and the dispatcher filter could be bypassed.
Seen in 1 report
-
$1,000
-
-
The fetcher lacked restrictions on internal addresses and the internal page inserted user input into a server-side template without sanitisation.
Seen in 1 report
-
The field_name parameter was used to build a template path without sanitisation, allowing path traversal.
-
The fieldLayouts configuration reached FieldLayout::createFromConfig() without passing through Component::cleanseConfig(), so attacker-controlled behaviour keys were not stripped.
-
The file format allowed a directive containing code to be compiled and run, and the guard option defaulted to allowing system operations.
Seen in 1 report
-
The file indexing component processed repository content without adequate validation.
Seen in 1 report
-
The File Manager did not restrict file extensions or prevent overwriting server configuration files, and the Event Filter did not sanitise stored input.
-
The file read lacked URL scheme validation and the code generator did not account for a preceding backslash.
Seen in 1 report
-
The file upload endpoint allowed directory traversal, enabling placement of executable files in a web-accessible directory.
-
The file upload endpoint failed to validate the file type and destination path, allowing a JSP file to be written into a web-accessible directory.
Seen in 1 report
-
The file upload feature lacked server-side validation of file type and stored uploaded files in a directory where PHP execution was enabled.
Seen in 1 report
-
The file write functionality did not restrict the destination path, allowing arbitrary file overwrite.
Seen in 1 report
-
The filename field was used directly as a filesystem path without sanitising traversal sequences, and the upload filter used a blacklist of one extension instead of an allowlist.
Seen in 1 report
-
The filename from the update response was inserted into a shell command via sprintf without validation.
-
The fileName parameter was concatenated into a shell command without validation or escaping.
-
A routine copied a WAD filename into a fixed 260-byte stack buffer without checking the source length.
Seen in 1 report
-
$450 High
-