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.
-
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
-
After shell_exec was disabled, use glob to list files and file_get_contents with explode to read configuration files.
Seen in 1 report
-
The upload validation only inspected the first file extension while the server executed files based on the last extension.
Seen in 1 report
-
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.
-
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
-
The authorized types blocklist blocked the public compiler type but not the internal class that performs the compilation.
-
The escape function only sanitised ASCII quotes while PowerShell treats several Unicode quote characters as string delimiters.
-
A null byte character gets past input filtering that blocks other injection characters.
Seen in 1 report
-
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
-
$50,000
-
-
Rebuild blocked strings with concatenation to avoid the WAF's signatures.
Seen in 1 report
-
Include the allowed substrings in a URL that still resolves to an internal address.
Seen in 1 report
-
Use a URI containing a scheme-like sequence before the protected path to exploit a parsing difference.
Seen in 1 report
-
Use double-encoded path traversal to reach a protected servlet.
Seen in 1 report
-
Roll back to an older signed binary that still passes the signature check.
Seen in 1 report
-
Bypass successive patches for the same policy template flaw by varying the command block content.
Seen in 1 report
-
Prepending a legitimate redirect URL to the malicious expression got past the web application firewall.
Seen in 1 report
-
Try formula-leading characters that are commonly missed from blacklists, such as the at sign, when testing CSV injection.
Seen in 1 report
-
Probe which patterns the server filter blocks, then rewrite the exploit to avoid them and use OGNL static methods.
Seen in 1 report
-
Bypass a safe-expression blacklist by reaching classes through reflection rather than direct names.
Seen in 1 report
-
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
-
Use a Hashtable trick to bypass a low type filter and obtain a FileInfo or DirectoryInfo object.
-
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
-
Send the same malicious request to the /var endpoint instead of /webadmin.plx to bypass the web server input filter.
Seen in 1 report
-
Use an HTML-encoded runat attribute in an OuterHtml attribute to bypass the safe-control list.
-
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.
-
Send a request starting with 0x06 instead of 0x6a to bypass authentication in the AdxAdmin service.
Seen in 1 report
-
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
-
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
-
Choose an RPC authentication level that authenticates only the bind request and does not enforce packet signing or encryption.
Seen in 1 report
-
When a fix only blocks class loading through one method, reach the same classes through other reflection paths.
Seen in 1 report
-
Send an authorisation header without the expected token keyword and check whether a hardcoded encrypted value is accepted.
Seen in 1 report
-
When a class and package blocklist is in place, use existing gadget classes from other libraries to reach execution.
Seen in 1 report
-
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
-
When a patch filters URL strings and port numbers, use a UNC share path instead.
Seen in 1 report
-
When a fix filters only dollar signs, use backtick command substitution instead.
-
When a blacklist blocks certain XML tags, use class and property tags it does not block.
Seen in 1 report
-
Bypass filters that block single quotes by using alternative command substitution syntax or encoding.
Seen in 1 report
-
Bypass the advisory's advice to block POST/PATCH requests by using GET requests, which also triggered the flaw.
Seen in 1 report