Skip to content

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.

Back to the lesson 2,251 to 2,300 of 2,519
  1. The web server allowed unauthenticated PUT requests into a writable directory and executed the uploaded files as PHP.

    Seen in 1 report
  2. 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
  3. 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
  4. The web server exposed a vendor directory containing a vulnerable test script, and credentials sat in plain text within the web root.

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

    Seen in 1 report
  8. 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
  9. The web services component deserialised untrusted XML into Java objects without restricting which classes could be instantiated.

    Seen in 1 report
  10. The WebDAV service was enabled without authentication, allowing unauthenticated file uploads.

    Seen in 1 report
  11. 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
  12. 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
  13. The WebPart XML parser did not restrict which .NET types could be used for property conversion.

    Seen in 1 report
  14. The websocket endpoint had no authentication, default signing keys were weak, and zip extraction in the converter lacked path checks.

    Seen in 1 report
  15. The websocket implementation lacked authentication, access control checks and origin validation, while agents ran with high privileges.

    Seen in 1 report
  16. The WebSocket server did not validate the Origin header, so any website could connect and send commands.

    Seen in 1 report
  17. 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
  18. The Webwork tag's value attribute was evaluated twice, first by Velocity and then as an OGNL expression.

    Seen in 1 report
  19. The widget connector macro passed user-supplied parameters straight to the template engine without sanitising them.

    Seen in 1 report
  20. The Windows client did not apply its warning or blocklist to certain executable extensions such as .pyz, .pyzw and .evtx.

    Seen in 1 report
  21. The Windows code path concatenated the uploaded filename into a shell command with only double quotes, unlike the Linux path which escaped every argument.

    Seen in 1 report
  22. The Windows cURL escaping function did not escape backslashes, allowing argument injection.

    Seen in 1 report
  23. 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
  24. The Windows Shell mishandled shortcut LNK references, allowing a crafted shortcut to cause execution of an associated binary.

    Seen in 1 report
  25. The WizardConnectToDataStep4 class deserialised untrusted data stored in session state.

    Seen in 1 report
  26. The Work Point Interface accepted unauthenticated connections and did not verify the deployment server, combined with insecure file permissions and SUID binaries.

    Seen in 1 report
  27. The worker escaped parameter values but not environment variable names before building a container command.

    Seen in 1 report
  28. The worker evaluated an untrusted offset field as a template and allowed external row storage to read local files.

    Seen in 1 report
  29. The workflow directly interpolated the untrusted github.event.workflow_run.head_branch value into a shell command without sanitisation.

    Seen in 1 report
  30. The workflow interpolated the untrusted issue title directly into a shell script, and escaping ran after template expansion.

    Seen in 1 report
  31. The workflow interpolated untrusted data from a pull request artifact directly into a shell command without sanitisation.

    Seen in 1 report
  32. 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
  33. The workflow ran install and script steps from untrusted pull request code on a runner holding write privileges to issues and pull requests.

    Seen in 1 report
  34. The workflow used the fork's branch name directly in a shell command without sanitisation.

    Seen in 1 report
  35. 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
  36. 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
  37. 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
  38. 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
  39. The WP_HTML_Token class has a __destruct method that calls call_user_func on user-controlled properties.

    Seen in 1 report
  40. The WPS function copied characters from the target MAC parameter into a fixed-size stack buffer without checking length.

    Seen in 1 report
  41. The WPS function did not sanitise user-supplied parameters before using them in system calls.

    Seen in 1 report
  42. 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
  43. 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
  44. 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
  45. The XML parser on the login endpoint was configured to allow external entities.

    Seen in 1 report
  46. The XML tag path was concatenated into a fixed buffer with strcat and no bounds check.

    Seen in 1 report
  47. 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
  48. The XMLRPC endpoint deserialised untrusted arguments before authentication and the classpath contained gadget classes.

    Seen in 1 report
  49. 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
  50. The XPC service lacked a check on the connecting application's entitlements and its sandbox profile used unanchored regex patterns.

    Seen in 1 report