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.
-
A trailing dot on a filename bypasses the protected-file check on Windows because the OS strips the dot.
Seen in 1 report
-
Crafted workspace content executes commands before Workspace Trust is enforced.
Seen in 1 report
-
A non-2xx HTML response is parsed through MSHTML without the usual security confirmation prompt.
Seen in 1 report
-
Interrupting and resuming a package download replaces the file after its signature check.
-
The RestrictedUnpickler does not sufficiently restrict which classes can be loaded, so dangerous objects can still be deserialised.
-
Use array-typed input to get past string sanitisation functions.
Seen in 1 report
-
Place a backslash immediately before a quote so the escaping step consumes the pair and the quote closes the string early.
-
Start with a valid URL prefix or integer port so partial validation passes, then append extra arguments.
Seen in 1 report
-
Create an access policy rule and a NAT rule that forwards external traffic to the sync interface address.
-
When common command functions are disabled, use proc_open to run commands.
-
Enable the non-default Legacy API so the vulnerable SOAP endpoint is reachable.
Seen in 1 report
-
Obtain a CA-signed agent certificate through naive autosigning and use it to reach report processing.
Seen in 1 report
-
Send only part of a HEADERS frame, then the rest, to create a request stream without removing the connection from the reusable list.
-
Use a starved binary row and padding to resynchronise parsing, then plant forged rows at a calculated byte offset.
-
Give a malicious pickle the extension the loader dispatches on so the unsafe reader is chosen.
Seen in 1 report
-
The formula sanitiser checked text before variable placeholders were substituted, so operators and maths functions could build arbitrary strings that were then called.
-
Use a valid nonce as the only authorisation check, then upload a configuration file that makes the server treat a custom extension as executable.
Seen in 1 report
-
Bypass code access security restrictions by coercing the server to serialise a marshal-by-reference object through a privileged method.
Seen in 1 report
-
Bypass a template sandbox that only checks method name prefixes by chaining through a repository getter and a recursive filter.
Seen in 1 report
-
Bypass a configuration filter by prefixing a parameter name with two dashes so it is treated as an option.
Seen in 1 report
-
Bypass a document renderer's safer sandbox by abusing a format string in device parameters to read and write memory.
Seen in 1 report
-
Test whether a model hub's pickle scanner treats dangerous functions as merely flagged rather than blocked.
Seen in 1 report
-
Bypass a WAF and EDR by using a gadget chain that performs data exfiltration rather than command execution.
Seen in 1 report
-
Bypass a denylist for dangerous registry keys by using a leading backslash to specify a full path.
Seen in 1 report
-
Use 'PHAR://' with different capitalisation to bypass a case-sensitive check for 'phar://'.
Seen in 1 report
-
Use an FTP path because the stat call succeeds over FTP even though the file is remote.
-
The base64 decode filter ignores non-base64 characters, so an appended extension does not break decoding.
Seen in 1 report
-
A time-of-check time-of-use inconsistency in the patch allowed the check to be bypassed.
Seen in 1 report
-
The class extension was listed only for one operating system, so it was allowed on the other.
Seen in 1 report
-
The nginx location match was not strict enough, so a dotted path reached the backend.
-
Bypass argument filtering by exploiting how the Windows argument parser strips quotes, hiding injected arguments.
Seen in 1 report
-
Send the pipeline run request through the API when newline injection is blocked in the web interface.
-
Use backticks instead of other metacharacters to bypass a WAF and run a blind command injection.
Seen in 1 report
-
Bypass an expression language sandbox by using unchecked AST node types and string concatenation to evade blocklists.
Seen in 1 report
-
Bypass a naive string prefix check in an authentication filter using relative path segments.
Seen in 1 report
-
Flood the service with requests to evict existing cache entries before sending the final message that plants the poisoned entry.
-
Encode parentheses and concatenate blocked keywords to get past a cloud WAF when injecting into a template engine.
-
Build strings character by character and use reflection when direct runtime access and quotes are blocked by a WAF.
-
Reach other top-level variables such as the component stack after a fix replaced single quotes with double quotes, then call setVar to evaluate again.
Seen in 1 report
-
Replace the serialised string type marker with its uppercase variant and null characters with escaped nulls to get past the input cleaner.
Seen in 1 report
-
Set the client context type to a value the incomplete patch did not validate so the offset check uses the wrong size and the contexts overlap.
Seen in 1 report
-
Look for package recipes that replace real checksums with a skip marker so downloaded files are never verified.
Seen in 1 report
-
Check fields that receive data from implants, such as notes, that the patch did not cover.
-
Add an import to make the AST transformation payload work, then confirm command execution with out-of-band DNS.
-
Use character classes in file paths (for example a bracket around one letter of a system file name) to evade blacklist rules.
Seen in 1 report
-
Encode a command in base64 and pipe it to a shell through the base64 utility to avoid keyword detection.
Seen in 1 report
-
Use the question-mark wildcard in Windows file paths to reach the same executable while avoiding a blacklist.
Seen in 1 report
-
Use argument injection rather than command injection because escapeshellcmd blocks the latter but not the former.
Seen in 1 report
-
The update daemon fetched files over HTTPS with certificate validation disabled, so a self-signed certificate was accepted.
Seen in 1 report
-
When shell_exec and system are disabled, try the mb_send_mail function together with the LD_PRELOAD environment variable to run a reverse shell.
Seen in 1 report