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 expression language injection was reachable after bypassing the console's existing authentication mechanism, so check for auth bypass paths before assuming a login wall protects the endpoint.
Seen in 53 reports
-
The existing authentication on these endpoints could be bypassed, so an unauthenticated attacker could still reach the injection.
Seen in 21 reports
-
Where authentication is required on a deserialisation endpoint, try to bypass it before sending the serialised object.
Seen in 19 reports
-
Authentication on these service endpoints could be bypassed, so treat an authenticated-only deserialisation bug as reachable without credentials.
Seen in 18 reports
-
Look for authentication checks that can be bypassed to reach expression language injection endpoints.
Seen in 4 reports
-
Bypass authentication to reach command injection endpoints that normally require credentials.
Seen in 4 reports
-
Vary which request header carries the injected value (Content-Type, Accept, Authorization) since each is handled by a separate code path in the same service.
Seen in 4 reports
-
Use a phar stream wrapper in a configuration path to trigger deserialisation during a file operation.
Seen in 3 reports
-
Prefix the injected comment with the workflow's expected command keyword so the handler treats it as a legitimate command before the extra shell commands run.
Seen in 3 reports
-
The attacker bypassed existing authentication before reaching the vulnerable CGI handler.
Seen in 3 reports
-
Use a file moniker link to bypass Protected View and open a document in editing mode.
Seen in 3 reports
-
Craft the request path so the auth check matches only a prefix and the protected endpoint is still reached.
Seen in 3 reports
-
Load the HTML page that calls the API first to satisfy CSRF protection before sending the crafted POST.
Seen in 3 reports
-
Bypass the existing authentication to reach the command injection in the HTTP API.
Seen in 3 reports
-
From an elevated prompt obtained via DLL hijacking, create and run a scheduled task that executes as SYSTEM.
Seen in 3 reports
-
A crafted document escapes the Ghostscript sandbox by recovering a privileged internal operator through a type error in a font helper.
Seen in 3 reports
-
The first bash fix was incomplete and the vulnerability remained exploitable.
-
A newline character placed before a spreadsheet formula bypassed the CSV export sanitisation.
Seen in 2 reports
-
Bypass CSV injection escaping by prefixing the formula with a semicolon, which acts as a new cell separator in Excel.
Seen in 2 reports
-
Only semicolons were filtered, so other shell metacharacters still allowed injection.
-
Bypass Apache rewrite rules with a path containing a semicolon segment to reach a blocked web service.
-
Use a file type that is not on the blocklist but still executes when opened.
-
Target packages that lack a hash file or are listed to skip hash checking, since their integrity is not verified.
-
Use PHP filter wrappers to read source code and then poison logs to escalate from file inclusion to code execution.
-
Use the Windows best-fit encoding conversion to bypass the protection added for the earlier PHP-CGI argument injection flaw.
-
The signature regex treated only one line-break character while the YAML parser accepted another, so injected content was not hashed.
-
When exec and shell_exec are disabled, use the process control functions to fork and execute a command instead.
-
A carriage return in the request body bypasses the escaping added for the earlier newline fix.
Seen in 2 reports
-
Tab and newline characters in a request body were not escaped in the generated Windows cURL command.
-
Client-controlled property paths were used to walk the prototype chain to the Function constructor.
-
A spoofed referer on an unauthenticated POST bypassed authentication and form digest validation.
-
Try to bypass the authentication in front of a remoting service before sending a malicious serialised object.
-
Reach the same vulnerable validation through an XML-RPC API method instead of the normal route.
-
When quotes are filtered or encoded, build command strings character by character with nested Character.toString calls instead of quoted literals.
Seen in 2 reports
-
Use a Unicode escape sequence to break out of a single-quoted string literal in a Velocity template.
-
Escaping quotes with addslashes does not stop injection into an evaluated PHP expression, so try other syntax that survives the escaping.
Seen in 1 report
-
Skip validation by sending a non-empty value for the parameter that guards the validation check.
-
Bypass a prefix-based read-only method allow-list by finding methods whose names match the allowed prefixes but are not actually read-only.
-
A class-name allow-list on a serialised string is not enough, so try gadget chains built from the allowed classes.
-
Include a file with an expected name such as a plugin script in the archive so the extraction cleanup logic keeps the other files.
-
Use directory traversal in a language parameter to write a PHP file outside the intended languages directory.
-
The eval injection only works when magic_quotes_gpc is disabled, so check the server configuration before testing.
Seen in 1 report
-
Target a shell startup file such as the service account's profile so injected log lines run when an administrator logs in.
Seen in 1 report
-
Append an astral Unicode character so the stored string fails the serialisation check but is truncated to a valid serialised value on retrieval.
-
Probe with blind tests to identify which patterns the server-side filter blocks, then rewrite the exploit to avoid commas, double quotes and other blocked characters.
-
SELinux did not block the Shellshock exploit itself but confined the exploited Apache process to a limited domain.
Seen in 1 report
-
Use a database collation quirk that truncates trailing bytes to turn a partially controlled session value into a valid serialised object.
Seen in 1 report
-
Using the ext:: remote helper in a submodule URL bypassed protocol restrictions in git-fastclone.
-
HTML escaping for XSS does not neutralise leading equals, plus and minus characters in exported cells.
Seen in 1 report
-
Name an ASCII file with an image extension so it passes upload checks and is then parsed as MVG.
Seen in 1 report