Skip to content
RCE Write-up Intermediate

How I Found My First High-Severity Bug and Got Rewarded with 3 Tr

The signup form sent emails to an address that included a shell command, and the server executed that command. An attacker could run commands on the server, as shown by out-of-band callbacks.

iski Follow

Published on infosecwriteups.com

Free link🎈

Iski, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, user input from the email field was passed to a shell command without sanitisation, leading to command injection.

Impact

An attacker could execute arbitrary commands on the server, as demonstrated by out-of-band callbacks.

What the attacker needed

Access to the signup form

The fix

The issue was fixed the next day after the report.

How it was found

  1. Enter an email address containing a command in the signup form.
  2. Submit the form.
  3. Check the out-of-band server for a callback.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When you sign up, the website sends a confirmation email. Here, the part before the @ sign was treated as a command and run by the server. That let the researcher make the server contact a server they controlled, proving they could run commands.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by iski

View all

186 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.