How I got Two RCE at EPAM-Bounty Program
An internet-exposed SAP Commerce administrative console was protected by default credentials, allowing an attacker to log in and use its Groovy scripting console to execute arbitrary commands on the server. The same misconfiguration was found on a second host.
{{media:0}}
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 the administrative console was exposed to the internet and left with its default credentials, and it included a scripting console that allowed command execution.
Impact
An attacker could run arbitrary commands on the server, and the same default-credential console was found on at least one other host.
What the attacker needed
Admin console reachable from the internet; default credentials unchanged
How it was found
- Search Shodan for hosts belonging to the target domain.
- Run directory discovery against a found host and locate the administrative login page.
- Look up the default credentials for that console and log in.
- Open the scripting console tab.
- Submit a Groovy script that starts a shell and connects back to the attacker.
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 an administrative web page for its online shop software reachable from the internet. The login still used the factory-default username and password, which anyone can look up online. Once inside, a built-in scripting feature let the attacker run commands on the server, which is called remote code execution.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.