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 301 to 338 of 338
  1. The is_serialized check did not recognise serialised strings starting with a special object marker, and the upgrade function used unserialize directly.

    Seen in 1 report
  2. After shell_exec was disabled, use glob to list files and file_get_contents with explode to read configuration files.

    Seen in 1 report
  3. The upload validation only inspected the first file extension while the server executed files based on the last extension.

    Seen in 1 report
  4. The deserialiser used BinaryFormatter with strict mode disabled and relied only on an incomplete deny list, so a bridge gadget could reach a network sink.

    Seen in 1 report
  5. The signature check could be satisfied with a certificate fetched from an AWS API response rather than a real certificate URL.

    Seen in 1 report
  6. The authorized types blocklist blocked the public compiler type but not the internal class that performs the compilation.

    Seen in 1 report
  7. The escape function only sanitised ASCII quotes while PowerShell treats several Unicode quote characters as string delimiters.

    Seen in 1 report
  8. A null byte character gets past input filtering that blocks other injection characters.

    Seen in 1 report
  9. When a WAF blocks traversal in query parameters, use a file upload and a copy operation to place the file instead.

    Seen in 1 report
  10. Rebuild blocked strings with concatenation to avoid the WAF's signatures.

    Seen in 1 report
  11. Include the allowed substrings in a URL that still resolves to an internal address.

    Seen in 1 report
  12. Use a URI containing a scheme-like sequence before the protected path to exploit a parsing difference.

    Seen in 1 report
  13. Use double-encoded path traversal to reach a protected servlet.

    Seen in 1 report
  14. Roll back to an older signed binary that still passes the signature check.

    Seen in 1 report
  15. Bypass successive patches for the same policy template flaw by varying the command block content.

    Seen in 1 report
  16. Prepending a legitimate redirect URL to the malicious expression got past the web application firewall.

    Seen in 1 report
  17. Try formula-leading characters that are commonly missed from blacklists, such as the at sign, when testing CSV injection.

    Seen in 1 report
  18. Probe which patterns the server filter blocks, then rewrite the exploit to avoid them and use OGNL static methods.

    Seen in 1 report
  19. Bypass a safe-expression blacklist by reaching classes through reflection rather than direct names.

    Seen in 1 report
  20. Use a soft hyphen character that PHP's best-fit mapping converts to a real hyphen to bypass escaping in the CGI handler.

    Seen in 1 report
  21. Use a Hashtable trick to bypass a low type filter and obtain a FileInfo or DirectoryInfo object.

    Seen in 1 report
  22. Bypass a localhost restriction via URI fragment canonicalisation, and exploit a time-of-check/time-of-use flaw in LDAP attribute validation.

    Seen in 1 report
  23. Send the same malicious request to the /var endpoint instead of /webadmin.plx to bypass the web server input filter.

    Seen in 1 report
  24. Use an HTML-encoded runat attribute in an OuterHtml attribute to bypass the safe-control list.

    Seen in 1 report
  25. Add a trailing space to the namespace attribute in a Register directive so the type fails to resolve during safe-list verification but resolves during later processing.

    Seen in 1 report
  26. Send a request starting with 0x06 instead of 0x6a to bypass authentication in the AdxAdmin service.

    Seen in 1 report
  27. Send an array instead of a string so the character-by-character sanitiser checks whole strings and the dangerous characters pass through.

    Seen in 1 report
  28. Use chunked encoding or many empty nested file-upload fields to bypass post_max_size and force an out-of-memory fatal.

    Seen in 1 report
  29. Choose an RPC authentication level that authenticates only the bind request and does not enforce packet signing or encryption.

    Seen in 1 report
  30. When a fix only blocks class loading through one method, reach the same classes through other reflection paths.

    Seen in 1 report
  31. Send an authorisation header without the expected token keyword and check whether a hardcoded encrypted value is accepted.

    Seen in 1 report
  32. When a class and package blocklist is in place, use existing gadget classes from other libraries to reach execution.

    Seen in 1 report
  33. When a patch blocks one template name and filters one variable, use a different parent template that loads a user-controlled child template with a renamed config.

    Seen in 1 report
  34. When a patch filters URL strings and port numbers, use a UNC share path instead.

    Seen in 1 report
  35. When a fix filters only dollar signs, use backtick command substitution instead.

    Seen in 1 report
  36. When a blacklist blocks certain XML tags, use class and property tags it does not block.

    Seen in 1 report
  37. Bypass filters that block single quotes by using alternative command substitution syntax or encoding.

    Seen in 1 report
  38. Bypass the advisory's advice to block POST/PATCH requests by using GET requests, which also triggered the flaw.

    Seen in 1 report