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,201 to 2,250 of 2,519
  1. The upload endpoint did not verify the file was an actual image before passing it to ImageMagick.

    Seen in 1 report
  2. The upload endpoint passed untrusted images to an outdated ImageMagick build without validating or sandboxing the processing.

    Seen in 1 report
  3. The upload endpoint trusted a user-controlled hash key as proof of a genuine upload, and content was read with a method that treats a leading pipe as a command.

    Seen in 1 report
  4. The upload endpoint trusted file content without validating its type, and ImageMagick was configured with Ghostscript enabled.

    Seen in 1 report
  5. The upload endpoint trusted the content type header for the file extension and the encoder path executed the file without validation.

    Seen in 1 report
  6. The upload endpoint validated only the client-supplied content type, not the file extension or content.

    Seen in 1 report
  7. The upload feature trusted client-supplied file metadata and stored files in a web-accessible directory configured to execute ASP.NET handlers.

    Seen in 1 report
  8. The upload handler failed to properly validate uploaded files and deserialised untrusted data.

    Seen in 1 report
  9. The upload handler invoked ExifTool on user-supplied files before authentication, and the bundled ExifTool version was vulnerable to command injection via DjVu files.

    Seen in 1 report
  10. The upload restriction for Channel Sets was incomplete, allowing a PHP file to be uploaded, and the temporary folder name was predictable enough to guess.

    Seen in 1 report
  11. The uploaded file name was concatenated into a shell command string passed to shell.exec.

    Seen in 1 report
  12. The uploaded file name was inserted into a shell command string without escaping special characters.

    Seen in 1 report
  13. The uploaded file's original name was placed directly into shell command strings without escaping or validation.

    Seen in 1 report
  14. The URL and derived variables were passed unquoted into a command, allowing shell metacharacters and extra flags.

    Seen in 1 report
  15. The URL protocol handler let a calling application pass attacker-controlled arguments to MSDT without adequate validation.

    Seen in 1 report
  16. Shared hardcoded credentials for MQTT authentication combined with a broker misconfiguration that failed to restrict topic permissions, plus a command protocol that executes OS commands.

    Seen in 1 report
  17. The user-agent was written into the session without sanitisation, and PHP's session encoding plus a MySQL collation truncation allowed an injected serialised object to survive.

    Seen in 1 report
  18. The user-controlled filename was concatenated into a shell command without sanitisation.

    Seen in 1 report
  19. The user-controlled project parameter was embedded into a Python script without encoding.

    Seen in 1 report
  20. The user-controlled SID value was passed directly to Perl's open() function without sanitisation, enabling command injection.

    Seen in 1 report
  21. The user-supplied log message was passed as the format argument rather than as data.

    Seen in 1 report
  22. The user-supplied NTP server value was formatted into a command string and passed to a shell popen call with no sanitisation or escaping.

    Seen in 1 report
  23. The user-supplied sender email address was passed directly to the sendmail command without sanitising it.

    Seen in 1 report
  24. The username field was interpolated into a PowerShell command string without escaping, unlike the password field.

    Seen in 1 report
  25. The username was not sanitised before being added to the environment block, so a null byte allowed extra environment variables.

    Seen in 1 report
  26. The username was passed into environment setup without stripping newlines.

    Seen in 1 report
  27. The username was validated with a regex that permitted shell metacharacters and was then passed unsanitised into a system command.

    Seen in 1 report
  28. The username was written into a Lua session file without stripping null bytes or special characters, and the file was then executed without validation.

    Seen in 1 report
  29. The USSD code parameter was passed through snprintf and popen into a shell command without sanitisation.

    Seen in 1 report
  30. The USSD request value was formatted into a buffer and handed to a system call without sanitisation.

    Seen in 1 report
  31. The validate endpoint executed user-supplied Python without authentication or a trust check, reintroducing unsafe execution after an earlier fix.

    Seen in 1 report
  32. The validation function only checked the length of the value and did not reject shell metacharacters, and the value was later wrapped in single quotes and executed via a shell.

    Seen in 1 report
  33. The validation logic used Python's ast module to parse user code but also executed function decorators, allowing arbitrary code execution during parsing.

    Seen in 1 report
  34. The validation routine compiled and executed each function definition from user input, and the endpoint lacked the authentication dependency that sibling routes enforced.

    Seen in 1 report
  35. The validator accepted a plain string as a function name and called it without checking it was a trusted built-in.

    Seen in 1 report
  36. The validator built a shell command string from an attacker-controlled archive path and passed it to a process launcher that interprets it via the shell.

    Seen in 1 report
  37. The variable server was enabled by default on all interfaces and executed client-supplied code without authentication or sandboxing.

    Seen in 1 report
  38. The verification code did not HTML-decode attribute values before checking them against the safe-control list, while the processing code did decode them, creating a parser differential.

    Seen in 1 report
  39. The verification key was derived from the requester-supplied encryption key instead of a server-held secret.

    Seen in 1 report
  40. The verifier and encryptor defaulted to a serialiser that turns attacker-influenced data into live objects instead of plain data.

    Seen in 1 report
  41. The verifier rebuilt from the very tarball it was meant to verify, so untrusted code ran before checksum and signature checks.

    Seen in 1 report
  42. The version control driver passed user-controlled branch and file names to a command without sanitisation.

    Seen in 1 report
  43. The video-core process built an ffmpeg argument string by concatenating user-controlled values and then split it on spaces, so a space in the camera password became an argument separator.

    Seen in 1 report
  44. The ViewState value was passed to a formatter deserialiser without MAC validation, so a crafted serialised object executed.

    Seen in 1 report
  45. The VPN service parsed attacker-supplied certificate data without proper bounds checking and with a flawed validation chain.

    Seen in 1 report
  46. The VSIX Auto Update task deserialised untrusted input without validating it.

    Seen in 1 report
  47. The WAF's blacklist rules were incomplete and did not account for alternative syntaxes and utilities that achieve the same actions.

    Seen in 1 report
  48. The web API lacked authentication and passed user input directly to a shell command.

    Seen in 1 report
  49. The web interface passed the key path parameter directly to a shell command without sanitisation.

    Seen in 1 report
  50. The web interface passed user input to shell commands, used GET for state changes without CSRF protection and stored credentials and keys insecurely.

    Seen in 1 report