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 extension installer executes a package-supplied install script without validation or sandboxing.
Seen in 1 report
-
Extension validation sits inside a conditional that can be skipped by omitting a parameter.
Seen in 1 report
-
External input was not treated as untrusted and reached an expression-language evaluator.
Seen in 1 report
-
External utilities are invoked by bare name, letting the PATH environment variable decide which executable runs.
Seen in 1 report
-
A fallback handler passed unmatched input to a system shell after an incomplete blacklist check, and the debug service was exposed to the internet.
Seen in 1 report
-
The file creation routine follows symbolic links or uses predictable paths, letting a low-privileged user redirect a privileged write.
Seen in 1 report
-
File handling and temporary profile management lacked input validation and isolation, allowing traversal, arbitrary read and code execution.
Seen in 1 report
-
File names were passed to a shell command without escaping, so a leading pipe was interpreted as a shell pipe.
Seen in 1 report
-
File parameters supplied through API requests were deserialised unsafely.
Seen in 1 report
-
File path constants were defined from unsanitised HTTP header values and used in a require call.
Seen in 1 report
-
File paths and content were not validated across upload and configuration features, allowing traversal and execution of supplied commands.
Seen in 1 report
-
File type and content restrictions were enforced only on the client, leaving the backend to process crafted files.
Seen in 1 report
-
File type is determined from the file header rather than the actual content, allowing executable files disguised as images.
Seen in 1 report
-
The file-copy JSON RPC handler fails to validate user-supplied input before passing it to a system call.
-
Files were included from user input without validation, and the log file was writable and executable through the include.
Seen in 1 report
-
Filter strings were evaluated as code rather than parsed as inert data.
-
Firefox did not use the osint flag in its registered shell open command, so injected arguments were honoured.
Seen in 1 report
-
Firefox treated news and snews as safe external schemes and launched their handler without confirmation.
-
The firmware download client did not properly validate the HTTPS server certificate.
-
Firmware included a hidden telnet service enabled without authentication and a hard-coded default password.
Seen in 1 report
-
The firmware update handler fails to verify the integrity or authenticity of the uploaded firmware image.
-
Firmware validation only checked magic bytes, file size and a CRC checksum, with no cryptographic signature.
Seen in 1 report
-
Firmware was downloaded over an unencrypted channel, allowing interception and modification.
-
The first module search path entry was set to an empty string, resolving imports from the current directory.
Seen in 1 report
-
Fixed database credentials shipped identically on every installation and could not be changed.
-
A floating action tag allowed a compromised tag to run and leak the publishing token.
-
Forked connection processes inherit parent memory without exec, so one compromised session can read other sessions.
Seen in 1 report
-
Formatted user input was inserted into a string passed to the system shell without escaping metacharacters.
Seen in 1 report
-
Frontend URL normalisation allowed path confusion, and the PowerShell backend trusted a user-supplied identity parameter.
-
FTP command formatting did not neutralise CRLF sequences in user-supplied input.
-
Git failed to quote a trailing carriage return when writing configuration and stripped it when reading, altering the path.
Seen in 1 report
-
Git followed a symbolic link in a submodule and wrote files into the parent repository's .git directory.
Seen in 1 report
-
git-fastclone reimplements submodule fetching and does not restrict the protocols allowed in submodule URLs, so a malicious .gitmodules file can use the ext:: remote helper to run arbitrary commands.
-
GitLab did not filter or restrict the GIT_CONFIG_* environment variables that users could set as CI variables, allowing them to override Git configuration and inject commands.
-
The GMP unserialise handler does not verify the object is still a GMP object, allowing conversion to an integer used as an object handle.
Seen in 1 report
-
go get did not validate the order of package cloning, so a sub-package could overwrite the parent's Git directory and inject Git configuration.
Seen in 1 report
-
The guest authentication filter issues a session token for a reset path without verifying the user.
-
Hardcoded credentials and an endpoint that directly executed user-supplied HQL without validation.
Seen in 1 report
-
Hardcoded internal URLs and an unprotected admin interface exposed to the internet.
Seen in 1 report
-
Hardcoded secrets were used for authentication and unauthenticated file uploads were allowed.
Seen in 1 report
-
Header values were logged through a vulnerable Log4j version without sanitising lookup syntax.
Seen in 1 report
-
Hook configuration from repository content was trusted without verification.
Seen in 1 report
-
Host IP addresses from discovery data were stored and later substituted into shell commands without validation.
Seen in 1 report
-
Host paths were mounted writable when they should have been read-only.
Seen in 1 report
-
HTML notifications were rendered without sanitising the input.
-
The HTTP server failed to validate a user-supplied string before writing it to a configuration file.
-
Image coders passed crafted image content into shell commands without filtering shell metacharacters.
-
The image name was concatenated into a shell command run through the OS shell instead of passed as an argument.
Seen in 1 report
-
The importer trusted the user-supplied file path and called fopen without checking it was a real CSV file.
-
Improper control over how the app generates or loads code allows a malicious agent to run and expose the session token.
Seen in 1 report