Skip to content

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.

Back to the lesson 251 to 300 of 338
  1. A trailing dot on a filename bypasses the protected-file check on Windows because the OS strips the dot.

    Seen in 1 report
  2. Crafted workspace content executes commands before Workspace Trust is enforced.

    Seen in 1 report
  3. A non-2xx HTML response is parsed through MSHTML without the usual security confirmation prompt.

    Seen in 1 report
  4. Interrupting and resuming a package download replaces the file after its signature check.

    Seen in 1 report
  5. The RestrictedUnpickler does not sufficiently restrict which classes can be loaded, so dangerous objects can still be deserialised.

    Seen in 1 report
  6. Use array-typed input to get past string sanitisation functions.

    Seen in 1 report
  7. Place a backslash immediately before a quote so the escaping step consumes the pair and the quote closes the string early.

    Seen in 1 report
  8. Start with a valid URL prefix or integer port so partial validation passes, then append extra arguments.

    Seen in 1 report
  9. Create an access policy rule and a NAT rule that forwards external traffic to the sync interface address.

    Seen in 1 report
  10. When common command functions are disabled, use proc_open to run commands.

    Seen in 1 report
  11. Enable the non-default Legacy API so the vulnerable SOAP endpoint is reachable.

    Seen in 1 report
  12. Obtain a CA-signed agent certificate through naive autosigning and use it to reach report processing.

    Seen in 1 report
  13. Send only part of a HEADERS frame, then the rest, to create a request stream without removing the connection from the reusable list.

    Seen in 1 report
  14. Use a starved binary row and padding to resynchronise parsing, then plant forged rows at a calculated byte offset.

    Seen in 1 report
  15. Give a malicious pickle the extension the loader dispatches on so the unsafe reader is chosen.

    Seen in 1 report
  16. The formula sanitiser checked text before variable placeholders were substituted, so operators and maths functions could build arbitrary strings that were then called.

    Seen in 1 report
  17. 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
  18. Bypass code access security restrictions by coercing the server to serialise a marshal-by-reference object through a privileged method.

    Seen in 1 report
  19. Bypass a template sandbox that only checks method name prefixes by chaining through a repository getter and a recursive filter.

    Seen in 1 report
  20. Bypass a configuration filter by prefixing a parameter name with two dashes so it is treated as an option.

    Seen in 1 report
  21. Bypass a document renderer's safer sandbox by abusing a format string in device parameters to read and write memory.

    Seen in 1 report
  22. Test whether a model hub's pickle scanner treats dangerous functions as merely flagged rather than blocked.

    Seen in 1 report
  23. Bypass a WAF and EDR by using a gadget chain that performs data exfiltration rather than command execution.

    Seen in 1 report
  24. Bypass a denylist for dangerous registry keys by using a leading backslash to specify a full path.

    Seen in 1 report
  25. Use 'PHAR://' with different capitalisation to bypass a case-sensitive check for 'phar://'.

    Seen in 1 report
  26. Use an FTP path because the stat call succeeds over FTP even though the file is remote.

    Seen in 1 report
  27. The base64 decode filter ignores non-base64 characters, so an appended extension does not break decoding.

    Seen in 1 report
  28. A time-of-check time-of-use inconsistency in the patch allowed the check to be bypassed.

    Seen in 1 report
  29. The class extension was listed only for one operating system, so it was allowed on the other.

    Seen in 1 report
  30. The nginx location match was not strict enough, so a dotted path reached the backend.

    Seen in 1 report
  31. Bypass argument filtering by exploiting how the Windows argument parser strips quotes, hiding injected arguments.

    Seen in 1 report
  32. Send the pipeline run request through the API when newline injection is blocked in the web interface.

    Seen in 1 report
  33. Use backticks instead of other metacharacters to bypass a WAF and run a blind command injection.

    Seen in 1 report
  34. Bypass an expression language sandbox by using unchecked AST node types and string concatenation to evade blocklists.

    Seen in 1 report
  35. Bypass a naive string prefix check in an authentication filter using relative path segments.

    Seen in 1 report
  36. Flood the service with requests to evict existing cache entries before sending the final message that plants the poisoned entry.

    Seen in 1 report
  37. Encode parentheses and concatenate blocked keywords to get past a cloud WAF when injecting into a template engine.

    Seen in 1 report
  38. Build strings character by character and use reflection when direct runtime access and quotes are blocked by a WAF.

    Seen in 1 report
  39. 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
  40. 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
  41. 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
  42. Look for package recipes that replace real checksums with a skip marker so downloaded files are never verified.

    Seen in 1 report
  43. Check fields that receive data from implants, such as notes, that the patch did not cover.

    Seen in 1 report
  44. Add an import to make the AST transformation payload work, then confirm command execution with out-of-band DNS.

    Seen in 1 report
  45. 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
  46. Encode a command in base64 and pipe it to a shell through the base64 utility to avoid keyword detection.

    Seen in 1 report
  47. Use the question-mark wildcard in Windows file paths to reach the same executable while avoiding a blacklist.

    Seen in 1 report
  48. Use argument injection rather than command injection because escapeshellcmd blocks the latter but not the former.

    Seen in 1 report
  49. The update daemon fetched files over HTTPS with certificate validation disabled, so a self-signed certificate was accepted.

    Seen in 1 report
  50. 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