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 201 to 250 of 338
  1. 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
  2. A fake hasOwnProperty method in the payload bypassed the security checks.

    Seen in 1 report
  3. Self-referencing gadget chains were used to reach code execution.

    Seen in 1 report
  4. A malicious thenable object was injected to be executed as code during deserialisation.

    Seen in 1 report
  5. A fake response object with a formData getter aimed at the Function constructor was used to run the command.

    Seen in 1 report
  6. Alternative whitespace characters or a leading UTF-8 BOM bypassed the regex-based meta-command filter.

    Seen in 1 report
  7. A Referer header pointing to the logout page skipped authentication.

    Seen in 1 report
  8. Computed destructuring keys built from template literals skipped the sanitizer's blocklist check.

    Seen in 1 report
  9. An unscoped promise catch handler hoisted into global scope and exposed the real constructors.

    Seen in 1 report
  10. The sandbox covered the standard Function constructor but not the AsyncFunction constructor.

    Seen in 1 report
  11. Requests were crafted to avoid the stripped characters so the AI-generated command still ran.

    Seen in 1 report
  12. Sending JSON to a form webhook that expected multipart data faked a file upload and allowed file reads.

    Seen in 1 report
  13. A USER value beginning with a dash made login skip authentication.

    Seen in 1 report
  14. Switching the injection point from an HTML tag to a Pug-specific identifier caused the template engine to evaluate it.

    Seen in 1 report
  15. Publishing a package with a very high version number made the installer prefer it over the internal one.

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

    Seen in 1 report
  17. Exploit decode-before-parse behaviour to slip a payload past a length check.

    Seen in 1 report
  18. 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
  19. When a standard gadget class crashes the server thread, enumerate alternative classes with the same capability that do not crash.

    Seen in 1 report
  20. Bypass a scanner that blocks literal dangerous strings by using reflection or functions it does not list.

    Seen in 1 report
  21. Prefix a dotfile name with a zero-width character so the dotfile check passes but the character is stripped later.

    Seen in 1 report
  22. 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
  23. 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
  24. Set the trust_remote_code value inside the untrusted config file so it overrides the user's explicit setting in nested config loads.

    Seen in 1 report
  25. Try queries that do not start with the blocked keyword, such as vacuum-based statements, to evade an attach blocklist.

    Seen in 1 report
  26. Run Python with optimisation enabled so assert-based security checks are stripped before the function name reaches an unrestricted import.

    Seen in 1 report
  27. Append an allowlisted string to the URI of a firmware validation endpoint to bypass its authentication check.

    Seen in 1 report
  28. The authentication mechanism protecting the log handling path could be bypassed, so test the path without valid credentials.

    Seen in 1 report
  29. When a .php upload is blocked by an extension blacklist, try an alternative PHP extension such as .phtml.

    Seen in 1 report
  30. 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
  31. The file verification function skipped the digital signature check when the filename ended with .txt or .esd.

    Seen in 1 report
  32. 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
  33. Overwrite a template file through zip path traversal with a template injection payload so it is rendered as code.

    Seen in 1 report
  34. Exploit a mismatch between the file validation loop and the file processing loop when an empty filename is present.

    Seen in 1 report
  35. Rely on an allowed-classes restriction that only produces a placeholder which re-serialises to the original bytes, so the payload survives storage.

    Seen in 1 report
  36. 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
  37. Use the ampersand command separator when a blocklist only covers semicolons.

    Seen in 1 report
  38. Exploit a disagreement between a string suffix check and a path library's suffix property on a filename consisting only of the extension.

    Seen in 1 report
  39. 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
  40. 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
  41. Encode the attacker host as a 32-bit integer so the type value contains no dots.

    Seen in 1 report
  42. Put the code inside a class body so it runs at definition time even though a later filter only keeps class and function definitions.

    Seen in 1 report
  43. 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
  44. The sandbox filtered dunder access only on dot syntax and did not apply the same restriction to the attr() filter.

    Seen in 1 report
  45. The api built-in remained enabled, allowing reflection to reach command execution even though the class resolver was restricted.

    Seen in 1 report
  46. The import blocklist omitted socket and urllib, so a component could make network requests and open a reverse shell.

    Seen in 1 report
  47. A patch validated metadata keys but not values, so a newline in a value split one command line into two.

    Seen in 1 report
  48. Appending a matrix parameter that matches a public WADL pattern bypasses the authentication filter.

    Seen in 1 report
  49. Signing a malicious ViewState with a publicly known default machine key bypasses signature validation.

    Seen in 1 report
  50. Combining a static prefix with encoded slashes, dot segments and semicolon path parameters bypasses the WAF.

    Seen in 1 report