In-depth lesson · RCE
Bypasses and variations
Every point the RCE reports back under this heading, best-backed first, each with the reports it is seen in.
-
Build a second-stage script by appending characters a few at a time and using the working directory variable to construct paths.
Seen in 1 report
-
A fake hasOwnProperty method in the payload bypassed the security checks.
Seen in 1 report
-
Self-referencing gadget chains were used to reach code execution.
Seen in 1 report
-
A malicious thenable object was injected to be executed as code during deserialisation.
Seen in 1 report
-
A fake response object with a formData getter aimed at the Function constructor was used to run the command.
-
Alternative whitespace characters or a leading UTF-8 BOM bypassed the regex-based meta-command filter.
Seen in 1 report
-
A Referer header pointing to the logout page skipped authentication.
Seen in 1 report
-
Computed destructuring keys built from template literals skipped the sanitizer's blocklist check.
Seen in 1 report
-
An unscoped promise catch handler hoisted into global scope and exposed the real constructors.
Seen in 1 report
-
The sandbox covered the standard Function constructor but not the AsyncFunction constructor.
Seen in 1 report
-
Requests were crafted to avoid the stripped characters so the AI-generated command still ran.
Seen in 1 report
-
Sending JSON to a form webhook that expected multipart data faked a file upload and allowed file reads.
Seen in 1 report
-
A USER value beginning with a dash made login skip authentication.
Seen in 1 report
-
Switching the injection point from an HTML tag to a Pug-specific identifier caused the template engine to evaluate it.
-
Publishing a package with a very high version number made the installer prefer it over the internal one.
-
Use a hex escape sequence in a class name field so the blacklist filter does not match the decoded name while the custom parser still decodes it.
-
Exploit decode-before-parse behaviour to slip a payload past a length check.
-
Abuse a mounted container runtime socket in a helper container to run commands on the host and reach a neighbouring container.
Seen in 1 report
-
When a standard gadget class crashes the server thread, enumerate alternative classes with the same capability that do not crash.
Seen in 1 report
-
Bypass a scanner that blocks literal dangerous strings by using reflection or functions it does not list.
-
Prefix a dotfile name with a zero-width character so the dotfile check passes but the character is stripped later.
Seen in 1 report
-
A space in the argument string caused word splitting when the command line was flattened on Windows, dropping the protective double-dash prefix.
Seen in 1 report
-
Bypass a naive string-based content filter on uploaded C++ files using token pasting or by calling popen instead of system.
Seen in 1 report
-
Set the trust_remote_code value inside the untrusted config file so it overrides the user's explicit setting in nested config loads.
-
Try queries that do not start with the blocked keyword, such as vacuum-based statements, to evade an attach blocklist.
Seen in 1 report
-
Run Python with optimisation enabled so assert-based security checks are stripped before the function name reaches an unrestricted import.
-
Append an allowlisted string to the URI of a firmware validation endpoint to bypass its authentication check.
Seen in 1 report
-
The authentication mechanism protecting the log handling path could be bypassed, so test the path without valid credentials.
-
When a .php upload is blocked by an extension blacklist, try an alternative PHP extension such as .phtml.
Seen in 1 report
-
Bypass session authentication by adding a path prefix that the application checks against the raw request URI instead of the normalised path.
Seen in 1 report
-
The file verification function skipped the digital signature check when the filename ended with .txt or .esd.
-
Override sandbox and hook-path fields through injected header keys so the environment moves away from production and a custom hooks directory is used.
Seen in 1 report
-
Overwrite a template file through zip path traversal with a template injection payload so it is rendered as code.
Seen in 1 report
-
Exploit a mismatch between the file validation loop and the file processing loop when an empty filename is present.
-
Rely on an allowed-classes restriction that only produces a placeholder which re-serialises to the original bytes, so the payload survives storage.
-
Rely on a host-and-port splitter that returns raw input when its pattern does not match, so the injected connection-string options survive.
Seen in 1 report
-
Use the ampersand command separator when a blocklist only covers semicolons.
Seen in 1 report
-
Exploit a disagreement between a string suffix check and a path library's suffix property on a filename consisting only of the extension.
-
Rely on quoting to keep untrusted data in one argument, then inject extra options such as an upload-file option when quoting is not honoured.
Seen in 1 report
-
Name a blocked class as the key type of a map so the key deserialiser creates it without running the illegal-type check.
Seen in 1 report
-
Encode the attacker host as a 32-bit integer so the type value contains no dots.
-
Put the code inside a class body so it runs at definition time even though a later filter only keeps class and function definitions.
-
Relocate the ELF program header table to the end of the file so SQLite's fixed header bytes do not corrupt the payload, then crash the process to force a restart.
Seen in 1 report
-
The sandbox filtered dunder access only on dot syntax and did not apply the same restriction to the attr() filter.
-
The api built-in remained enabled, allowing reflection to reach command execution even though the class resolver was restricted.
Seen in 1 report
-
The import blocklist omitted socket and urllib, so a component could make network requests and open a reverse shell.
-
A patch validated metadata keys but not values, so a newline in a value split one command line into two.
Seen in 1 report
-
Appending a matrix parameter that matches a public WADL pattern bypasses the authentication filter.
-
Signing a malicious ViewState with a publicly known default machine key bypasses signature validation.
Seen in 1 report
-
Combining a static prefix with encoded slashes, dot segments and semicolon path parameters bypasses the WAF.