In-depth lesson · RCE
Root causes
Every point the RCE reports back under this heading, best-backed first, each with the reports it is seen in.
-
The web server allowed unauthenticated PUT requests into a writable directory and executed the uploaded files as PHP.
Seen in 1 report
-
The web server checked for a substring in the URL to decide if authentication was needed, and the ping command was built without sanitising input.
Seen in 1 report
-
The web server copied the user-supplied wps_setup_pin value into a fixed-size buffer and passed it to a function that executes it via /bin/sh -c without sanitisation.
Seen in 1 report
-
The web server exposed a vendor directory containing a vulnerable test script, and credentials sat in plain text within the web root.
-
The web server passed user-controlled input into the PHPRC environment variable without validation, allowing an attacker to specify an arbitrary php.ini file.
Seen in 1 report
-
The web server passed user-supplied form field names as environment variables to CGI scripts, and one upload handler lacked an authentication check.
Seen in 1 report
-
The web server used strcpy() to copy a POST parameter into a fixed-size buffer, allowing a heap overflow that overwrote a control variable and a CGI command name.
-
The web server's session check used an unsanitised cookie value to test for a file's existence, and the upload handler built a shell command from unescaped user input.
Seen in 1 report
-
The web services component deserialised untrusted XML into Java objects without restricting which classes could be instantiated.
Seen in 1 report
-
Critical
-
-
The WebDAV service was enabled without authentication, allowing unauthenticated file uploads.
Seen in 1 report
-
The WebDriver server did not validate the Host header, so it accepted requests addressed to an attacker domain rebound to loopback.
Seen in 1 report
-
The webhook secret token was not validated to reject newline characters, and the webhook URL allowed requests to internal services, so injected lines were interpreted as Redis commands.
Seen in 1 report
-
The WebPart XML parser did not restrict which .NET types could be used for property conversion.
-
The websocket endpoint had no authentication, default signing keys were weak, and zip extraction in the converter lacked path checks.
-
The websocket implementation lacked authentication, access control checks and origin validation, while agents ran with high privileges.
Seen in 1 report
-
The WebSocket server did not validate the Origin header, so any website could connect and send commands.
Seen in 1 report
-
The webview's postMessage handler trusted a parentOrigin query parameter, and a path traversal in the vscode-file protocol allowed loading files outside the installation directory.
Seen in 1 report
-
The Webwork tag's value attribute was evaluated twice, first by Velocity and then as an OGNL expression.
Seen in 1 report
-
The widget connector macro passed user-supplied parameters straight to the template engine without sanitising them.
Seen in 1 report
-
The Windows client did not apply its warning or blocklist to certain executable extensions such as .pyz, .pyzw and .evtx.
Seen in 1 report
-
The Windows code path concatenated the uploaded filename into a shell command with only double quotes, unlike the Linux path which escaped every argument.
-
The Windows cURL escaping function did not escape backslashes, allowing argument injection.
-
The Windows Shell did not properly validate file paths before acting on them, allowing a crafted file to trigger code execution.
Seen in 1 report
-
The Windows Shell mishandled shortcut LNK references, allowing a crafted shortcut to cause execution of an associated binary.
Seen in 1 report
-
The WizardConnectToDataStep4 class deserialised untrusted data stored in session state.
-
The Work Point Interface accepted unauthenticated connections and did not verify the deployment server, combined with insecure file permissions and SUID binaries.
-
The worker escaped parameter values but not environment variable names before building a container command.
-
The worker evaluated an untrusted offset field as a template and allowed external row storage to read local files.
-
The workflow directly interpolated the untrusted github.event.workflow_run.head_branch value into a shell command without sanitisation.
-
The workflow interpolated the untrusted issue title directly into a shell script, and escaping ran after template expansion.
-
The workflow interpolated untrusted data from a pull request artifact directly into a shell command without sanitisation.
Seen in 1 report
-
The workflow placed an untrusted artifact value into a shell command via expression interpolation instead of passing it through an environment variable.
Seen in 1 report
-
The workflow ran install and script steps from untrusted pull request code on a runner holding write privileges to issues and pull requests.
-
The workflow used the fork's branch name directly in a shell command without sanitisation.
-
The workflow used untrusted branch names and pull request titles directly in shell and script contexts and did not verify the author.
Seen in 1 report
-
The workflow used user-controlled input as a placeholder in a shell script without sanitisation, or ran pull_request_target and checked out pull request code.
Seen in 1 report
-
The workflows used direct expression interpolation of untrusted pull request fields inside shell commands, so the values were evaluated as code before the script ran.
Seen in 1 report
-
The worm gained initial access through stolen npm publishing tokens, then modified package manifests to add a preinstall lifecycle hook that executes a dropper.
Seen in 1 report
-
The WP_HTML_Token class has a __destruct method that calls call_user_func on user-controlled properties.
Seen in 1 report
-
The WPS function copied characters from the target MAC parameter into a fixed-size stack buffer without checking length.
Seen in 1 report
-
The WPS function did not sanitise user-supplied parameters before using them in system calls.
Seen in 1 report
-
The wrapper did not validate the user-supplied repository argument, so an option-like value reached the hg binary and enabled its debugger.
Seen in 1 report
-
The wrapper used eval on the user-supplied SSH command when it started with scp, and a SUID binary called cat without an absolute path.
Seen in 1 report
-
The wrapper's integrity checks were ineffective because the attacker controlled both the download URL and the expected hash, or because no hash check existed for the committed binary.
Seen in 1 report
-
The XML parser on the login endpoint was configured to allow external entities.
Seen in 1 report
-
The XML tag path was concatenated into a fixed buffer with strcat and no bounds check.
Seen in 1 report
-
The XML-RPC handler stayed reachable without proper authentication because earlier fixes only partially blocked access and it was not removed from release builds.
Seen in 1 report
-
The XMLRPC endpoint deserialised untrusted arguments before authentication and the classpath contained gadget classes.
-
The XMLRPC server exposed internal methods and one method used user-controlled input in an eval or require statement without proper sanitisation.
Seen in 1 report
-
The XPC service lacked a check on the connecting application's entitlements and its sandbox profile used unanchored regex patterns.
Seen in 1 report