The Midnight Epiphany: How a News Notification Cracked My Stubbor
The author claims that a Next.js application was vulnerable to a critical remote code execution flaw called React2Shell, allowing unauthenticated attackers to run arbitrary code on the server. They say they proved it by creating a harmless file and received a $10,000 bounty.
Published on santhosh-adiga-u.medium.com
Every ethical hacker knows this feeling—the target is right there, you can almost taste it, but every door is locked, every window barred. I was about to call it a night when my phone buzzed.
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 a vulnerability in React Server Components that accepts malicious serialized objects, leading to remote code execution.
Impact
An unauthenticated attacker could execute arbitrary code on the server, leading to complete server compromise, data exfiltration, and lateral movement.
What the attacker needed
Target runs vulnerable Next.js version; no authentication required
The fix
The vulnerability was fixed by updating Next.js to version 15.3.1 or later and applying React security patches.
How it was found
- Set up a local lab with a vulnerable Next.js instance.
- Craft a malicious serialized Flight protocol payload.
- Send the payload to the target's API endpoint.
- Observe the server executing arbitrary commands.
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.
This is a story about a security researcher who found a serious bug in a website. The bug let an attacker run their own commands on the website's server, which is very dangerous. The researcher only created a harmless file to prove the bug existed and then reported it.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.