Skip to content

In-depth lesson · RCE

Tips for beginners

Every point the RCE reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 13 of 13
  1. Start with the surfaces the evidence shows are most productive: web management interfaces of appliances and routers, page-rendering endpoints that take bean or class names, endpoints that accept serialised data, and CI workflows in open source repositories. Pick one product or repository and map its input handling before testing.

    Seen in 4 reports
  2. For command injection, look for fields that end up in shell commands: hostnames, gateways, DNS settings, interface names, filenames, usernames and backup paths. Test each field with shell metacharacters and watch for command output, timing changes or errors that show the value was interpreted.

    Seen in 3 reports
  3. For expression language injection, enumerate every page that takes a bean, action or class name parameter and test whether the value is evaluated during rendering rather than treated as plain data. The same flaw often repeats across many pages, so a single finding can lead to dozens of endpoints.

    Seen in 3 reports
  4. For deserialisation, find endpoints that accept binary blobs or serialised parameters and check whether they reconstruct arbitrary classes. A single product often leaves many endpoints deserialising untrusted input, so enumerate all of them rather than stopping at the first.

    Seen in 3 reports
  5. For CI workflows, look for workflows triggered by pull_request_target that check out the pull request head from a fork, and for workflows that interpolate branch names, titles, commit messages, issue titles, bodies or comments into shell commands. Test with a pull request or issue from a fork and observe whether your text is executed.

    Seen in 3 reports
  6. Check whether authentication can be bypassed before assuming a login wall protects an endpoint. The evidence shows expression language injection and deserialisation reachable after bypassing existing authentication, so an authenticated-only bug may still be reachable without credentials.

    Seen in 3 reports
  7. When testing parsers, use crafted files that exercise the specific structures named in the evidence: PDF forms and annotations, image formats, Office records, media containers and industrial project files. Watch for crashes and memory errors, and confirm whether the crash is reachable in a way that shows code execution rather than only a denial of service.

    Seen in 3 reports
  8. Another common mistake is reporting with no impact. A crash alone may not be accepted as remote code execution; show that the input reaches a code-execution sink or that the memory error is exploitable. For command injection, show the command ran; for deserialisation, show the gadget chain executed; for CI, show the token or secret was read.

    Seen in 3 reports
  9. Do not stop at the first endpoint. The evidence shows the same root cause repeated across dozens of handlers, pages and parameters in a single product. Enumerate the full set and report the pattern, because programs often fix one endpoint and miss the rest.

    Seen in 3 reports
  10. Show impact with the least intrusive proof: a command that demonstrates execution, a file read that proves access, or a token read that proves privilege. Avoid destructive commands and avoid touching data you do not need. The page shows payouts from the database, so focus on a clear, reproducible demonstration.

    Seen in 2 reports
  11. A common mistake is reporting something out of scope. Check the program's scope before testing, and do not assume that a vulnerable component installed on a target is in scope just because it is reachable. The evidence includes many products and components, but scope is set by the program, not by the report.

    Seen in 2 reports
  12. For workflows, remember that the privileged event is pull_request_target and the risk comes from checking out and running fork code. A workflow that only reads metadata is not the same as one that runs build, install or test scripts from the fork. Test the specific path that executes code.

    Seen in 2 reports
  13. Keep your testing within the program's rules: no payloads that damage systems, no access to other users' data, and no persistence. If you find code execution, demonstrate it minimally and report promptly, especially where the affected system is shared or production.

    Seen in 2 reports