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 CBOR tokenizer treated string values as opaque bytes, did not reject embedded NUL characters, and forwarded the raw buffer to an ASCIIZ pipe.
Seen in 1 report
-
The CBT parsing code built a shell command from an unvalidated string taken from the file and executed it without sanitisation.
-
The certificate generator rendered a user-controlled username into a template instead of treating it as plain data.
Seen in 1 report
-
The CGI backend lacked input validation and contained undocumented privileged functionality protected only by a hardcoded secret and predictable code.
-
The CGI handler copied all HTTP request parameters into the environment of the spawned CGI process without filtering special variable names.
Seen in 1 report
-
The CGI handler failed to escape the soft hyphen because it is not a real hyphen, but PHP's best-fit Unicode mapping converts it to a real hyphen, allowing argument injection.
Seen in 1 report
-
The CGI request handler failed to strip or encode carriage return and line feed characters, allowing an attacker to inject additional lines into a request.
Seen in 1 report
-
The CGI servlet passed URL parameters as command-line arguments to batch files without sanitising Windows shell metacharacters.
Seen in 1 report
-
The chapter title was used unsanitised in a file path, and the profile preview rendered text without re-sanitising it.
-
The check on the number of heap types was insufficient because recursive type groups could contain many types, aliasing internal types.
Seen in 1 report
-
The check that blocks dangerous attachment extensions could be bypassed, so a dangerous file still reached the user.
Seen in 1 report
-
The CI/CD cache is shared across branches without integrity checks, allowing a developer to poison it.
-
The CI/CD pipeline that publishes an official package was compromised, letting attackers inject code under the legitimate package name.
-
The CKEditor configuration form lacked CSRF tokens and allowed attacker-controlled content to be saved as a JavaScript file, while the Badge component passed user-controlled input to getimagesize(), enabling Phar deserialization.
Seen in 1 report
-
The class built and ran Python code from a user-supplied string without validating or sanitising it.
Seen in 1 report
-
The class deserialised attacker-supplied data without validating it.
-
The class shutter allowed any class whose name started with an allowed package prefix, and objects could be shared between policies via flow variables.
Seen in 1 report
-
The CLI built an operating-system command from job data without neutralising special characters.
Seen in 1 report
-
The CLI exec function passes input to a shell without sanitisation.
Seen in 1 report
-
The CLI failed to neutralise special elements in a key-value argument, so it was interpreted as Python code.
-
The client allowed same-host navigation and redirects inside its window while workers had Node integration enabled.
Seen in 1 report
-
The client decides server privilege from an attacker-supplied value, and several other logic flaws compound it.
Seen in 1 report
-
$22,500
-
-
The client decoded a special base64 link format and used the url field without validating the scheme, allowing local file and share paths.
Seen in 1 report
-
The client deserialises Java objects from server responses without validating them.
-
The client did not properly handle the Unicode right-to-left override character when displaying filenames.
Seen in 1 report
-
The client did not sanitise or validate the challenge token before using it in shell commands.
Seen in 1 report
-
The client did not set the quarantine attribute on cloned files, so the platform gatekeeper did not evaluate them.
Seen in 1 report
-
The client did not validate a slot index in a split-screen message and mishandled duplicate content-length headers.
Seen in 1 report
-
The client did not validate or restrict which URI schemes it turned into clickable links.
Seen in 1 report
-
The client disabled certificate verification whenever a proxy was configured, and the update manifest was not digitally signed.
Seen in 1 report
-
The client disabled TLS certificate verification and used untrusted API response data in a shell command.
Seen in 1 report
-
The client exposed privileged JavaScript objects to untrusted pages and failed to sanitise inputs in URL handlers.
Seen in 1 report
-
The client loads a DLL with an altered search path and a relative path beginning with a dot, so it comes from the working directory.
-
The client loads Qt plugins from a fixed path under C:\usr\... that any authenticated Windows user can create.
Seen in 1 report
-
The client passed received files to the operating system's default handler without warning.
Seen in 1 report
-
The client used Java's ObjectInputStream to deserialize data from the server without restricting which classes could be loaded, allowing gadget chains to execute code.
Seen in 1 report
-
The client-supplied DHCP hostname was written into the daemon configuration file without sanitisation, letting it break out of the host block and inject directives.
Seen in 1 report
-
The clone URL was concatenated into the external Git command line without validation, so a value starting with dashes was treated as an option.
Seen in 1 report
-
The cloud WAF's generic rules and lack of WordPress-specific context, as well as its inability to access authentication data, allowed known exploits to pass through.
Seen in 1 report
-
The cluster authenticator called readObject on raw network input from the Hazelcast port without validating the serialised data.
Seen in 1 report
-
The cluster HTTP API lacked authentication entirely.
-
The cluster service called ObjectInputStream.readObject on network messages without any allow-list and started even when clustering was disabled.
-
The code called unserialize on a base64-decoded cookie without restricting allowed classes.
Seen in 1 report
-
Critical
-
-
The code escaped single quotes in the SSID but not a backslash placed just before a quote, so ANSI-C quoting was broken early.
-
The code generator inserts an image URI into shell and Python templates without escaping or quoting.
Seen in 1 report
-
The code ignored the failure return of RSA decryption, so a false value became a fixed all-null-byte key.
-
The code passed a webhook-supplied URL to Ruby's open, which treats a leading pipe as a shell command.
Seen in 1 report
-
The code that generates the cURL command did not escape or quote header values, so shell metacharacters in a header value were interpreted as commands when pasted into a shell.
Seen in 1 report
-
The code treated None (meaning not set) the same as False (meaning explicitly allowed), so the safe-mode check was bypassed when safe_mode was None.
Seen in 1 report
-
The code unserialises untrusted request data without passing an allowed-classes list, so arbitrary PHP objects can be created.