Skip to content
RCE Write-up Beginner

REMOTE CODE EXECUTION ! 😜 Recon Wins

An internal subdomain was found hosting the Damn Vulnerable Web Application with default admin credentials, allowing an attacker to log in and upload a PHP shell to obtain a reverse shell. The program fixed the issue within an hour.

vishnuraj Follow

Published on medium.com

This article is about the funniest remote code execution that i have ever found in a public program on bug crowd. Off course for privacy purposes, we will not disclose the name of the program, so lets call it abc.com

vishnuraj, on medium.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 an internal testing application was deployed on a public subdomain with default credentials and no access restrictions.

Impact

An attacker could execute arbitrary code on the server, potentially leading to full compromise.

What the attacker needed

Publicly accessible subdomain; default credentials

The fix

The issue was fixed within an hour after reporting.

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.

A company had a deliberately insecure practice website (DVWA) exposed on a subdomain. It still had the default username and password, so anyone who found it could log in and run their own code on the server. This is dangerous because it gives an attacker control of the machine.

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 vishnuraj

View all

6 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.