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,101 to 2,150 of 2,519
  1. The service wrote logs in a directory writable by all users, allowing a low-privileged user to redirect the write.

    Seen in 1 report
  2. The service wrote logs into a world-writable directory and accepted IPC commands granting broad permissions without validation.

    Seen in 1 report
  3. The session ID from a cookie was concatenated into a file path without sanitisation, and a filename derived from that path was passed to a shell command with shell=True.

    Seen in 1 report
  4. The session ID from the cookie was joined into a filesystem path without validation, and a later script passed filenames to a shell.

    Seen in 1 report
  5. The session token handler deserialised cookie data with a binary formatter after only cryptographic transforms.

    Seen in 1 report
  6. The settings interface allowed newline characters to be injected into .env configuration values, enabling arbitrary PHP code execution via Laravel's unserialize of sessions.

    Seen in 1 report
  7. The setup token was returned by an unauthenticated API endpoint and could invoke privileged functionality that ran commands.

    Seen in 1 report
  8. The shared integration runtime contained a client certificate with full permissions to a powerful internal API server, and the connector allowed shell injection.

    Seen in 1 report
  9. The shared runner ran jobs in privileged docker-in-docker containers with no isolation between workloads.

    Seen in 1 report
  10. The shell binary used unsafe API calls such as sprintf and system with user-controlled input without validation or bounds checking.

    Seen in 1 report
  11. The shell did not stop parsing an environment variable after an exported function definition, so trailing commands were executed.

    Seen in 1 report
  12. The shell integration feature did not authenticate or validate the source of escape sequences, allowing any terminal output to spoof the last command.

    Seen in 1 report
  13. The shell-escape library failed to encode semicolons and curly braces, so input to a shell exec could break out.

    Seen in 1 report
  14. The shortcut creation code did not escape the percent character, so a field code expanded to the attacker-controlled page title before argument parsing.

    Seen in 1 report
  15. The shortcut handler did not validate or restrict the file name or path it was given.

    Seen in 1 report
  16. The shrinkwrap file stored plain HTTP registry URLs, so package downloads were not protected against tampering.

    Seen in 1 report
  17. The SMBv1 implementation contained a buffer overflow allowing remote code execution.

    Seen in 1 report
  18. The SMBv1 server did not properly validate specially crafted requests, leading to memory corruption.

    Seen in 1 report
  19. The SMTP library did not validate input for MAIL FROM or RCPT TO.

    Seen in 1 report
  20. The SMTP password value was written into the configuration file without rejecting or escaping newline characters.

    Seen in 1 report
  21. The SnakeYAML parser was instantiated without a SafeConstructor, allowing arbitrary Java object deserialisation from untrusted YAML.

    Seen in 1 report
  22. The SOAP Connector service deserialised Java objects from untrusted HTTP requests without adequate validation.

    Seen in 1 report
  23. The software chose a dangerous deserialisation function based solely on the file extension.

    Seen in 1 report
  24. The Solr admin interface is exposed without authentication and runs a version vulnerable to Velocity template execution.

    Seen in 1 report
  25. The sort function cached a pointer to the array's backing store before calling the comparison callback and wrote back through the stale pointer afterwards.

    Seen in 1 report
  26. The Spark client deserialises data received from the Spark server without validating it, allowing an attacker-controlled server to send a malicious serialised payload that executes code.

    Seen in 1 report
  27. The spooler installed printer drivers supplied by a server without adequately validating them.

    Seen in 1 report
  28. The spooler loaded a constraints file from a path that could be redirected through a symbolic link and a rogue protocol handler.

    Seen in 1 report
  29. The spooler's validation of the spool directory path could be bypassed with a directory junction and a UNC path.

    Seen in 1 report
  30. The SSH auth log was world-readable and the LFI endpoint executed code found inside it.

    Seen in 1 report
  31. The SSH CLI did not sanitise user-supplied username and password values before combining them into FTP commands executed via execle.

    Seen in 1 report
  32. The SSH client passed user parameters directly to the ssh command without sanitising argument separators, and the wheel_async client lacked an authentication check while the pillar roots write allowed path traversal.

    Seen in 1 report
  33. The SSH environment handler passed a user-controlled variable name straight to the env command, so a leading dash was treated as an option.

    Seen in 1 report
  34. The SSH front-end did not sanitise the username before using it in a context where newlines were interpreted as environment variable assignments.

    Seen in 1 report
  35. The SSH service shipped with fixed, unchangeable credentials instead of unique authentication.

    Seen in 1 report
  36. The ssh URL parser allowed hostnames beginning with a dash, which were passed to the ssh command without validation, enabling option injection.

    Seen in 1 report
  37. The SSID from a scanned QR code was passed to a system call without validation.

    Seen in 1 report
  38. The SSID was inserted into a command string passed to popen without sanitisation, allowing shell metacharacters to be interpreted.

    Seen in 1 report
  39. The startElementNs callback uses strcat to append XML element names to a fixed global buffer without any length check, allowing a heap overflow that overwrites a nearby SAX handler function pointer.

    Seen in 1 report
  40. The StaticDataLoader class deserialises data without validating that it comes from a trusted source.

    Seen in 1 report
  41. An attacker-controlled class name was passed to a require statement that Perl evaluated as code.

    Seen in 1 report
  42. The subject field was passed into a FreeMarker template without sanitisation.

    Seen in 1 report
  43. The sudo version was vulnerable to a buffer overflow when password feedback was enabled.

    Seen in 1 report
  44. The suffix of the recipient address was placed into the SMTP command format string without checking for carriage return or line feed characters.

    Seen in 1 report
  45. SVNBridge deserialised untrusted data without proper validation, and an SSRF let an attacker supply that data.

    Seen in 1 report
  46. The target argument was concatenated into a string passed to child_process.exec, so the shell interpreted metacharacters.

    Seen in 1 report
  47. The Task Scheduler failed to neutralise special command elements before passing them to a command interpreter.

    Seen in 1 report
  48. The telnet feature placed no restrictions on destination host, port, or recording file path and extension.

    Seen in 1 report
  49. The telnet service granted access without requiring any authentication before accepting remote connections.

    Seen in 1 report
  50. The template engine allowed calling any exported method on the data object passed to the template, so a user-controlled template could invoke dangerous methods.

    Seen in 1 report